sillyhippy/zo-skills/agent-swarm
Claude Code and agent skill by sillyhippy/zo-skills
- community
Checking that the SKILL.md file is still in the repository.
Mimics Moonshot AI's Kimi K2.6 Agent Swarm — decompose tasks into parallel sub-agents, coordinate execution via Zo API, and synthesize results. Use for research, batch processing, multi-format output, and any task that decomposes into parallel subtasks. Model-agnostic, framework-native on Zo.
Install
npx vskill@latest install sillyhippy/zo-skills/agent-swarmSKILL.md
The same SKILL.md was published earlier as sillyhippy/zo-skills/agent-swarm.
Agent Swarm — Zo-Native Multi-Agent Orchestration
Mimics the Kimi K2.6 Agent Swarm architecture using Zo's native /zo/ask API as the sub-agent execution layer. You (the coordinator) decompose a complex task, spawn heterogeneous sub-agents in parallel, and synthesize their outputs — no external orchestration frameworks required.
How It Works
The Kimi Agent Swarm is model-native — the model itself handles orchestration. Since we can't modify the model, we implement the same pattern using a Python coordinator that wraps the Zo API:
When to Use
- Parallel research — investigate multiple topics/sources simultaneously
- Batch processing — process many items with the same logic (classification, enrichment, summarization)
- Multi-format output — produce reports, code, data, and docs from one prompt
- Comparative analysis — research competitors, evaluate options, cross-validate findings
- Deep dives — explore a topic from multiple angles (technical, business, legal, etc.)
Quick Start
Agent Types
| Type | Role | Best For | |
|---|---|---|---|
researcher | Web search, fact gathering, source verification | Competitive intel, literature reviews, due diligence | |
coder | Code generation, debugging, optimization, refactoring | Software engineering, automation scripts | |
writer | Prose, documentation, reports, creative content | Reports, articles, documentation | |
analyst | Data analysis, pattern recognition, statistics | Financial analysis, metrics, trend analysis | |
tester | Validation, edge cases, quality assurance | Code review, fact-checking, consistency validation | |
generalist | Any task type; fallback when specialization unclear | General-purpose subtasks |
Architecture Details
See references/architecture.md for deep technical documentation on:
- How Kimi K2.6 Agent Swarm works under the hood
- How we adapted the pattern for Zo's API constraints
- State management, failure recovery, and step budgeting
- Comparison with LangGraph, CrewAI, and other frameworks
Failure Recovery
The swarm handles failures automatically:
- Agent timeout: 5 min default, configurable per agent type
- Empty/stale output: detected and retried up to 3 times
- Coordinator stall: if an agent hangs, its subtask is reassigned
- Step budget tracking: total steps consumed vs budget, prevents infinite loops
Limitations (Honest)
- Not model-native: we can't modify the LLM itself, so decomposition quality depends on prompt engineering
- Concurrency cap: Zo API recommends ~20 concurrent requests; larger swarms use batching
- Cost: each sub-agent is a full Zo session — budget carefully for large swarms
- State drift: file-based state can get stale under high concurrency; coordinator enforces serialized merge
- Orchestration is a black box: sub-agent routing is template-based, not learned
- No persistent memory: agents start fresh each run (unlike Kimi's persistent contexts)
Scripts
scripts/swarm.py— Main coordinator. Decompose, spawn, monitor, synthesize.scripts/swarm_agent.py— Sub-agent runner (called by Zo API). Execute single subtask.
Run python scripts/swarm.py --help for full options.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-swarm/SKILL.md
Popularity
- 7-day trend score
- 5
Refreshed 28 Oct 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sillyhippy/zo-skills/agent-swarm)