Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a 17-agent AI swarm on my phone — here's how

Description and use

A 17‑agent AI swarm runs on an Android phone via Termux and Python, foraging for resources and delivering them to a base, proving basic swarm behavior on mobile hardware.

Problem

Can a smartphone run a functional swarm of 17 independent AI agents that forage and allocate resources?

Outcome

The swarm runs on the phone, warming it but remaining functional, demonstrating that basic swarm behavior can be achieved on mobile hardware.

Workflow

  • 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

Evidence

I built a 17-agent AI swarm on my phone — here's how

Source

This is about building 17 independent agents, each with simple rules, all communicating via a local network facilitated by Python

Source

Python sockets. They broadcast their location and resource status, and listen for broadcasts from others.

Source

  • Record date: 2026-10-08T22:55:51.542Z