agent-swarm
Mimics Moonshot AI's Kimi K2.6 Agent Swarm — decompose tasks into parallel sub-agents, coordinate execution via Zo API, and synthesize results.
Skill by sillyhippy.zo.computer
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/sillyhippy-agent-swarm
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, research, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-swarm
What's inside
- Skill name
agent-swarm- Description
- 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.
- License
- MIT
- Compatibility
- Created for Zo Computer
- Metadata
- author: sillyhippy.zo.computer · version: 2.0.0 · max_steps: 4000 (total coordinated step budget) · max_agents: 300 (batched in groups of 20 per wave) · architecture: Model-agnostic coordinator + Zo API parallel sub-agents. Mimics Kimi K2.6 Agent Swarm pattern (task decomposition → heterogeneous agent spawning → parallel execution → synthesis).
- Instructions
- 102 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (6)
- DISPLAY.json
- SKILL.md
- agent_profiles.json · assets/
- architecture.md · references/
- swarm.py · scripts/
- swarm_agent.py · scripts/
SKILL.md (first lines)
# 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:
```
┌─────────────────────────────────────────────────────────┐
│ COORDINATOR (you) │
│ 1. Decompose task into subtasks │
│ 2. Classify each subtask by agent type │
│ 3. Spawn sub-agents via Zo API in parallel waves │
│ 4. Monitor progress, handle failures, retry │
│ 5. Synthesize all outputs into final deliverable │
└──────────┬──────────────────────────────────┬───────────┘
│ │
┌──────▼──────┐ ┌──────┐ ┌──────┐ ┌───▼──────────┐
│ Researcher │ │Coder │ │Writer│ │ Analyst │
│ (web search)│ │(code)│ │(prose│ │ (data) │
└──────────────┘ └──────┘ └──────┘ └──────────────┘
│ │ │ │
└───────────────┴─────────┴────────────┘
│
┌────────▼────────┐
│ SYNTHESIZER │
│ Merge outputs │
│ into final doc │
└─────────────────┘
```
## 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
```bash
# Basic research swarm
python Skills/agent-swarm/scripts/swarm.py \
--task "Research the top 10 competitors in cloud databases. For each: pricing, features, customers, funding. Output structured comparison." \
--agent-types researcher,analyst,writer \
--max-agents 20
# Full-scale swarm with custom output
python Skills/agent-swarm/scripts/swarm.py \
--task-file /home/workspace/my-research-brief.md \
--agent-types researcher,coder,analyst,writer,tester \
--max-agents 100 \
--output-format report,spreadsheet,slides \
--verbose
```
## 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.From SillyHippy/zo-skills, MIT.
More from SillyHippy/zo-skills
- 0.526score
affidavit-rag
SillyHippy
RAG (Retrieval-Augmented Generation) system for affidavit workflows.
SkillBFreshness: BClaude Code +9 - 0.526score
affidavit-url-generator
SillyHippy
Generate pre-filled affidavit URL for justlegalsolutions.org/affidavit from plain text field values or extracted court document data.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-thesis-monitor
cis.zo.computer
Monitor the health of every active thesis in ~/clarion/theses/.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-sec-research
cis.zo.computer
Pull, index, and search SEC EDGAR filings for any public company.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-setup
cis.zo.computer
Bootstraps the Clarion Intelligence System on Zo Computer.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-single-stock-eval
cis.zo.computer
Evaluate a single stock using the Buffett lens.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-thesis-write
cis.zo.computer
Scaffold a new thesis document for a ticker in the canonical Clarion thesis format.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-value-screener
cis.zo.computer
Run a value-quality screen and write a watchlist file.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-expected-return-calc
cis.zo.computer
Compute the equity-vs-T-bill allocation for the Value bucket (50% of portfolio).
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-living-letter-update
cis.zo.computer
Update the annual investor letter at ~/clarion/letters/{YEAR}-letter.md with a new quarterly section, or finalize it at year-end.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-portfolio-monitor
cis.zo.computer
Fetch live portfolio positions, balances, and daily transactions from TastyTrade.
SkillBFreshness: BClaude Code +9 - 0.525score
clarion-regime-check
cis.zo.computer
Reads the SPY/TLT/RSP color regime and the equity hurdle rate.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 5, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0.0
- License
- MIT
- Repository
- github.com/SillyHippy/zo-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from sillyhippy.zo.computer
Cite this page
agent-swarm skill. Agent Mart. https://agentmart.dev/skills/sillyhippy-agent-swarm (last updated 2026-10-24)