I built a 17-agent AI swarm on my phone — here's how
Описание и применение
На Android с помощью Termux и Python реализован 17‑агентный AI‑сверм, который ищет ресурсы и доставляет их в базу, демонстрируя, что базовые принципы колониального поведения можно воспроизвести на смартфоне.
Задача
Can a smartphone run a functional swarm of 17 independent AI agents that forage and allocate resources?
Результат
The swarm runs on the phone, warming it but remaining functional, demonstrating that basic swarm behavior can be achieved on mobile hardware.
Рабочий процесс
- Install Termux and Python on Android
- Set up a simple JSON‑style message format
- Create a UDP socket per agent with unique port
- Implement sensing: random resource discovery
- Broadcast status to base port
- If resource found, move toward (0,0) and deliver
- Else perform random walk
- Repeat loop indefinitely
Доказательства
I built a 17-agent AI swarm on my phone — here's how
This is about building 17 independent agents, each with simple rules, all communicating via a local network facilitated by Python
Python sockets. They broadcast their location and resource status, and listen for broadcasts from others.
- Дата записи: 2026-10-08T22:55:51.542Z