Make your AI coding tools (Claude Code, Codex, Antigravity CLI, OpenCode) work like a real engineering team — with planning, testing, code review, and security audits built in.
16 agents. 40 skills. One config. Every platform.
Paste this command into your AI coding agent's chat (Claude Code, Codex, OpenCode, etc.) — the agent will run it and set up everything automatically. Or run it directly in your terminal.
# macOS / Linux
curl -sSfL https://raw.githubusercontent.com/Insajin/autopus-adk/main/install.sh | sh
# Windows (CMD or PowerShell)
powershell -c "irm https://raw.githubusercontent.com/Insajin/autopus-adk/main/install.ps1 | iex"
Why Autopus · Core Workflow · Features · Pipeline · Security · Docs

# Brainstorm with 3 AI models debating each other
/auto idea "Add OAuth2 with Google and GitHub providers" --multi --ultrathink
# One command does the rest — plan, build with 16 agents, ship with docs
/auto dev "Add OAuth2 with Google and GitHub providers"
Or if you prefer step-by-step control:
/auto plan "Add OAuth2 with Google and GitHub providers" --auto --multi --ultrathink
/auto go SPEC-AUTH-001 --auto --loop --team
/auto sync SPEC-AUTH-001
🐙 Pipeline ─────────────────────────────────────────────
✓ Phase 1: Planning planner decomposed 5 tasks
✓ Phase 1.5: Test Scaffold 12 failing tests created (RED)
✓ Phase 2: Implementation 3 executors in parallel worktrees
✓ Phase 2.5: Annotation @AX tags applied to 8 files
✓ Phase 3: Testing coverage: 62% → 91%
✓ Phase 4: Review TRUST 5: APPROVE | Security: PASS
───────────────────────────────────────────────────────
✅ 5/5 tasks │ 91% coverage │ 0 security issues │ 4m 32s
💡 One command. Production-ready code with tests, security audit, documentation, and decision history.
You're using AI coding tools. They're powerful. But...
AX is not "AI Transformation." AX is Agent Experience — how AI agents perceive, navigate, and operate within your codebase. Just as UX designs for users and DX designs for developers, AX designs for agents.
flowchart LR
UX["🧑 UX\nUser Experience"]
DX["👩💻 DX\nDeveloper Experience"]
AX["🤖 AX\nAgent Experience"]
UX -->|"designs for"| U["Users"]
DX -->|"designs for"| D["Developers"]
AX -->|"designs for"| A["AI Agents"]
style AX fill:#ff6b6b,stroke:#c92a2a,color:#fff
Most AI coding tools are designed around a simple model: you prompt, it responds.
Autopus starts from a different question: What if the agent is the primary audience of your project's documentation?
Think about onboarding a new engineer. You wouldn't hand them a blank editor and say "build the auth system." You'd give them: - An architecture overview so they understand the system - Coding conventions so their code fits in - Decision history so they don't repeat past mistakes - A review process so mistakes get caught before shipping
AI agents need the same things. The difference is that every session is their first day.
Autopus is a harness — a structured environment that gives agents the context, constraints, and workflows they need to produce code that a senior engineer would approve. Not through hope. Through design.
flowchart TB
subgraph OF ["🧬 Of the Agents"]
direction TB
O1["16 specialized agents\nform a software team"]
O2["Planner · Executor · Tester\nReviewer · Architect · ..."]
end
subgraph BY ["⚡ By the Agents"]
direction TB
B1["Agents run the pipeline\nautonomously"]
B2["Self-healing gates\nParallel worktrees\nMulti-model debate"]
end
subgraph FOR ["🎯 For the Agents"]
direction TB
F1["Every file, rule, and doc\nis designed for agents to parse"]
F2["300-line limit · @AX tags\nStructured Lore · SPEC format"]
end
OF --> BY --> FOR
style OF fill:#4c6ef5,stroke:#364fc7,color:#fff
style BY fill:#7950f2,stroke:#5f3dc4,color:#fff
style FOR fill:#f06595,stroke:#c2255c,color:#fff
| Principle | What It Means |
|---|---|
| Of the Agents | 16 specialized agents form a real engineering team — planner, executor, tester, reviewer, security auditor, and more. Not one chatbot. A team. |
| By the Agents | Agents run the pipeline autonomously — self-healing quality gates, parallel worktrees, multi-model debate. Humans set the goal; agents handle the rest. |
| For the Agents | Every file, rule, and document is designed to be parsed by agents, not just read by humans. Structure over prose. That's AX. |
| Every Session is Day One | Agents lose all context between sessions. The harness provides institutional memory — architecture, decisions, conventions — so they start informed, not blank. |
🐙 Autopus doesn't make agents smarter. It makes them informed. That's AX.
Most codebases aren't written for AI. A 1,200-line file overwhelms context windows. Tangled responsibilities confuse intent. Autopus enforces a hard 300-line limit on every source file — not for aesthetics, but because agents work better when each file has one job and fits in one read.
❌ Traditional:
service.go (1,200 lines) → Agent loses context halfway through
✅ Autopus:
service.go (180 lines) Handler logic
service_auth.go (120 lines) Auth middleware
service_repo.go (150 lines) Data access
→ Every file fits in one context window. Every file has one job.
This isn't just about file size. The entire harness is agent-readable by design:
| Layer | How It's Agent-Friendly |
|---|---|
| Rules | Structured markdown with IMPORTANT markers — agents parse, not skim |
| Skills | YAML frontmatter with triggers — agents auto-activate the right skill |
| Docs | Tables over paragraphs, checklists over prose — parseable, not readable |
| Code | ≤ 300 lines, single responsibility, split by concern — fits in one context |
🐙 Human-readable is a bonus. Agent-readable is the requirement.
Autopus doesn't give you one AI assistant — it gives you a software engineering team of 16 specialized agents with defined roles, quality gates, and retry logic.
🧠 Planner → Decomposes requirements into tasks
⚡ Executor ×N → Implements code in parallel worktrees
🧪 Tester → Writes tests BEFORE code (TDD enforced)
✅ Validator → Checks build, lint, vet
🔍 Reviewer → TRUST 5 code review
🛡️ Security → OWASP Top 10 audit
📝 Annotator → Documents code with @AX tags
🏗️ Architect → System design decisions
🔬 Deep Worker → Long-running autonomous exploration + implementation
... and 7 more
--multi)One model has blind spots. Three models catch each other's mistakes.
Every AI model has its own strengths and biases — Claude is thorough but verbose, Codex is fast but sometimes shallow, Gemini brings a different perspective entirely. When you use --multi, they don't just work in parallel — they review, challenge, and build on each other's ideas.
# Add --multi to any command for multi-model intelligence
/auto idea "new feature" --multi # 3 models brainstorm → cross-pollinate → ICE score
/auto plan "new feature" --multi # 3 models review your SPEC independently
/auto go SPEC-ID --multi # 3 models debate your code review
flowchart TB
C["🔍 Claude\nIndependent Analysis"] --> D["⚔️ Cross-Pollination\nEach model sees others' ideas"]
X["🔍 Codex\nIndependent Analysis"] --> D
G["🔍 Gemini\nIndependent Analysis"] --> D
D --> R["🔄 Round 2\nAcknowledge · Integrate · Risk"]
R --> J["🏛️ Blind Judge\nAnonymized scoring"]
Why this matters: - A bug that Claude misses, Codex catches. An edge case Codex ignores, Gemini flags. - Ideas that one model would never generate emerge from cross-pollination. - The blind judge scores anonymized results — no model favoritism. - Research shows multi-agent debate produces higher-quality outputs than any single model alone.
💡
/auto devenables--multiby default. Every plan gets multi-model review. Every code review gets cross-checked. You don't have to think about it.
4 strategies: Consensus (merge agreements) · Debate (adversarial review + judge) · Pipeline (chain outputs) · Fastest (first wins)
Quality gates don't just fail — they fix themselves and retry.
flowchart LR
R["🔴 RED\nRun Phase"] --> G["🟢 GREEN\nGate Check"]
G -->|PASS| Done["✅ Next Phase"]
G -->|FAIL| F["🔧 REFACTOR\nFix Issues"]
F --> L["🔁 LOOP\nRetry"]
L --> R
L -.->|"3× no progress"| CB["⛔ Circuit Break"]
style R fill:#ff6b6b,stroke:#c92a2a,color:#fff
style G fill:#51cf66,stroke:#2b8a3e,color:#fff
style F fill:#ffd43b,stroke:#f08c00,color:#000
style L fill:#748ffc,stroke:#4263eb,color:#fff
style CB fill:#868e96,stroke:#495057,color:#fff
/auto go SPEC-AUTH-001 --auto --loop
🐙 RALF [Gate 2] ──────────────────
Iteration: 1/5 │ Issues: 3
→ spawning executor to fix golangci-lint warnings...
🐙 RALF [Gate 2] ──────────────────
Iteration: 2/5 │ Issues: 3 → 0
Status: PASS ✅
RALF = RED → GREEN → REFACTOR → LOOP — TDD principles applied to the pipeline itself. Built-in circuit breaker prevents infinite loops.
Multiple executors work simultaneously — each in its own git worktree. No conflicts. No corruption.
Phase 2: Implementation
├── ⚡ Executor 1 (worktree/T1) → pkg/auth/provider.go ✓
├── ⚡ Executor 2 (worktree/T2) → pkg/auth/handler.go ✓
└── ⚡ Executor 3 (worktree/T3) → pkg/auth/middleware.go ✓
Phase 2.1: Merge (task-ID order)
✓ T1 merged → T2 merged → T3 merged → working branch
File ownership prevents conflicts. GC suppression prevents corruption. Up to 5 concurrent worktrees.
Every commit captures the why, not just the what. Queryable forever.
feat(auth): add OAuth2 provider abstraction
Why: Need Google + GitHub support, extensible for future providers
Decision: Interface-based abstraction over direct SDK usage
Alternatives: Direct SDK calls (rejected: too coupled)
Ref: SPEC-AUTH-001
🐙 Autopus <noreply@autopus.co>
9 structured trailers. Query with auto lore query "why interface?". Stale decisions auto-detected after 90 days.
Let AI iterate autonomously — measure, keep or discard, repeat.
/auto experiment --metric "go test -bench=BenchmarkProcess" --direction lower --max-iter 5
🐙 Experiment ───────────────────────
Iter 1: baseline │ 1200 ns/op
Iter 2: optimize │ 850 ns/op ✓ keep (29% improvement)
Iter 3: refactor │ 900 ns/op ✗ discard (regression)
Iter 4: cache │ 620 ns/op ✓ keep (27% improvement)
─────────────────────────────────────
Result: 1200 → 620 ns/op (48% improvement)
Built-in circuit breaker prevents runaway iterations. Simplicity scoring penalizes over-complex solutions. Each iteration is a git commit — easy to review or revert.
⚠️ Status: Experimental — CLI commands (
auto experiment) are available but skill-level integration is in progress. Core iteration loop works; full pipeline integration is coming.
Autopus pipelines don't just fail — they remember why and prevent the same mistake next time.
Gate 2 FAIL: golangci-lint — unused variable in pkg/auth/
→ Auto-recorded to .autopus/learnings/pipeline.jsonl
→ Next /auto go: learning injected into executor prompt
→ Same mistake never repeated
Every pipeline failure is captured as a structured learning entry. On the next run, relevant learnings ar
$ claude mcp add autopus-adk \
-- python -m otcore.mcp_server <graph>