I built a 17-agent AI swarm on my phone — here's how
说明与用途
在中等配置的 Android 手机上运行的 17 代理 AI 群集,自动收集、分析并综合合成关于合成生物学的信息,约三小时内生成连贯报告。
问题
Run a swarm of 17 independent AI agents on a mid‑range Android phone to autonomously gather, synthesize, and report on a complex topic without relying on a single monolithic model.
结果
The swarm produced a coherent summary report on synthetic biology research after ~3 hours, demonstrating that decentralized, specialized agents can outperform a single monolithic model on a phone.
工作流
- Set up Termux and install Python
- Install LangChain, Ollama, SQLite libraries
- Configure Ollama with small models (mistral, llama2)
- Define 17 specialized agents (scrapers, summarizers, keyword extractors, contextualizers, researchers, fact checkers, synthesis agents, report generator) using LangChain tools
- Implement SQLite tables for agent memory and message passing
- Use LangChain Agent Executor to loop each agent’s decision process
- Run agents in controlled bursts to manage battery and RAM
- Monitor outputs and refine prompts to reduce hallucinations
- Compile final report via Report Generator
证据
I wanted to see if I could create a system that could autonomously gather information on a complex topic – let’s say, the current state of research on synthetic biology – and synthesize that information into a coherent summary.
I chose smaller models like mistral and llama2 to ensure reasonable performance on my phone.
After about 3 hours of running on my phone, the swarm produced a surprisingly coherent summary report on the state of synthetic biology research.
- 记录日期: 2026-10-08T17:55:48.919Z