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

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

Описание и применение

Автор создал на Pixel 7 17‑агентную систему, работающую полностью локально с TinyLlama 1.1B, демонстрируя возможности edge‑обработки и координации небольших LLM‑агентов.

Задача

Running a multi‑agent system entirely on a mobile device without cloud dependence, while managing limited CPU, memory, and prompt‑size constraints.

Результат

The author successfully ran 17 cooperating LLM agents on a Pixel 7, demonstrating that local inference with a small quantized model can support a multi‑agent workflow, albeit with performance and memory trade‑offs.

Рабочий процесс

  • Select TinyLlama 1.1B and quantize to 4‑bit with llama.cpp
  • Implement a lightweight Python agent framework with a shared blackboard
  • Define 17 agent roles (Planner, Researcher, Summarizer, Critic, etc.)
  • Write generate_prompt to tailor prompts per agent role
  • Run agents in a loop: observe → think (LLM generate) → act (update blackboard)
  • Optimize prompts for brevity and context window limits
  • Manage memory aggressively to avoid OOM errors
  • Log and debug interactions via Termux CLI

Доказательства

I call it “IronVision Nexus”, and it currently runs 17 distinct agents, each with a specific role, all coordinating (or sometimes arguing) on my Pixel 7.

Источник

TinyLlama 1.1B. This is key. While GPT‑3.5/4 would be better quality, they’re simply too large for practical on‑device inference.

Источник

I quantized it to 4‑bit using llama.cpp to further reduce memory usage.

Источник

  • Дата записи: 2026-10-08T18:55:53.929Z