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

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

说明与用途

构建了一个 17 代理 AI 群集,完全在智能手机上运行,使用 Pyodide 和 PWA,实现本地数据处理和决策,无需云端依赖。

问题

Running a distributed, resilient, and private AI swarm entirely on a smartphone without cloud dependencies.

结果

The swarm achieved real-time sensor monitoring, activity recognition, and adaptive device settings entirely on-device, demonstrating edge AI feasibility.

工作流

  • Wrap Python code in an HTML page with Pyodide
  • Install the page as a PWA for native-like experience
  • Define 17 agents (sensors, processors, decision makers, communicators) as Python classes
  • Use asyncio event loop to run agents concurrently
  • Implement inter-agent communication via a Python queue
  • Process sensor data, make decisions, and trigger actions through browser APIs
  • Iterate continuously in a feedback loop

证据

I wrapped my Python code in a simple HTML page using Pyodide and then used a progressive web app (PWA) approach to "install" it on my phone.

来源

Each agent is a Python class responsible for a specific task. My swarm consists of 17 agents, broadly categorized as: Sensors, Processors, Decision Makers, Communicators.

来源

The biggest hurdle was, unsurprisingly, execution. Standard Python interpreters on Android (like QPython) are often limited and can feel sluggish. That’s where Pyodide came in.

来源

  • 记录日期: 2026-10-09T09:55:59.534Z