Orchestrate swarms of Claude subagents with natural language
Project description
MAOS - Multi-Agent Orchestration System
Create and orchestrate Claude subagent swarms with simple natural language commands
What MAOS Does
MAOS lets you spawn multiple Claude agents that work in parallel on your tasks. Instead of writing Python code, just type what you want in plain English:
- "spawn 3 agents to review my code" → Creates 3 specialized Claude agents
- "implement the requirements in prd.md" → Distributes work across multiple agents
- "fix all the security issues" → Agents work together to find and fix problems
Installation (2 minutes)
Step 1: Install MAOS
# Install with pipx (recommended)
pipx install maos-cli
# Or with pip
pip install maos-cli
Step 2: Start Using
# Go to any project directory
cd your-project
# Start MAOS chat interface
maos chat
That's it! Now type commands in natural language.
Quick Start Examples
Basic Usage (No Claude CLI Required)
When you run maos chat, MAOS creates Claude subagent files that define specialized agents:
MAOS> spawn 3 agents to review my code
✓ Created Claude subagents: reviewer, security-auditor, tester
✓ Agent files created in .claude/agents/
MAOS> show status
📊 3 agents ready for use
• reviewer.md - Code review specialist
• security-auditor.md - Security vulnerability scanner
• tester.md - Test coverage analyzer
The agents are created as Markdown files in .claude/agents/ directory. These work with Claude Code when it's installed.
With Claude CLI Installed (Full Functionality)
If you have Claude Code CLI installed, MAOS can actually run the agents:
# First, install Claude Code CLI
npm install -g @anthropic-ai/claude-code
# Authenticate with your API key
export ANTHROPIC_API_KEY="your-api-key"
# Or use: claude login
Now MAOS will spawn actual Claude processes:
MAOS> spawn 5 agents to analyze my codebase
✓ Created Claude subagents: architect, developer, tester, reviewer, security-auditor
✓ Spawned 5 Claude CLI instances
✓ Agents working in parallel...
MAOS> implement the PRD in requirements.md
✓ Analyzing requirements...
✓ Distributed 12 tasks across agents
⚡ Agents working:
• architect: Designing system structure...
• developer: Implementing core features...
• tester: Writing test specifications...
What Gets Created
MAOS creates specialized Claude agents as Markdown files:
your-project/
├── .claude/
│ └── agents/
│ ├── reviewer.md # Code review specialist
│ ├── developer.md # Implementation expert
│ ├── tester.md # Testing specialist
│ └── security-auditor.md # Security scanner
├── your_code.py
└── requirements.md
Each agent file looks like this:
---
name: reviewer
description: Code review specialist for quality and security
tools: Read, Grep, Glob, Bash
---
You are a senior code reviewer ensuring high standards...
[detailed instructions for the agent]
Natural Language Commands
Just type what you want:
Creating Agents
spawn 3 agents to review my codecreate a swarm to implement the PRDstart 5 agents for testing
Task Management
implement requirements.mdfix all security issuesreview the codebasewrite tests for everything
Monitoring
show statuslist agentsshow progress
Utility
help- Show commandsexit- Leave MAOS
Installation Troubleshooting
If pipx is not installed:
python3 -m pip install --user pipx
pipx ensurepath
# Restart terminal, then:
pipx install maos-cli
If maos command not found:
# Add pipx binaries to PATH
export PATH="$HOME/.local/bin:$PATH"
# Add to your ~/.bashrc or ~/.zshrc to make permanent
For development/testing:
# Clone and install from source
git clone https://github.com/yourusername/maos.git
cd maos
pip install -e .
How It Works
- You type a command in natural language
- MAOS creates specialized agents as
.claude/agents/*.mdfiles - Each agent has expertise (reviewer, tester, developer, etc.)
- With Claude CLI installed, MAOS spawns actual Claude processes
- Agents work in parallel on your tasks
Requirements
- Python 3.11+ - For running MAOS
- Claude Code CLI (optional) - For actually running agents
npm install -g @anthropic-ai/claude-code
Common Issues & Solutions
"Claude CLI not found"
This is normal! MAOS still creates agent files that you can use manually. To enable full functionality:
npm install -g @anthropic-ai/claude-code
claude login # or export ANTHROPIC_API_KEY="..."
"No agents were created"
Check if the .claude/agents/ directory exists:
ls -la .claude/agents/
Clean up agents
rm -rf .claude/agents/*.md
License
MIT - Use freely in your projects!
Quick Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maos_cli-0.3.0.tar.gz.
File metadata
- Download URL: maos_cli-0.3.0.tar.gz
- Upload date:
- Size: 928.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a652a85ea2b385cc477be30023ae9204a3b076cc9d6041fa2859c2008a0c51d0
|
|
| MD5 |
c2afd76ee5b416be8c7a742ea17c8de2
|
|
| BLAKE2b-256 |
37c1bd511a9cdd87550058617314a47a428492f769870bc7ed18eb5e5412f80a
|
File details
Details for the file maos_cli-0.3.0-py3-none-any.whl.
File metadata
- Download URL: maos_cli-0.3.0-py3-none-any.whl
- Upload date:
- Size: 232.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db1884cf0990a124e776788dff81004e72eaae3dd6bdc6f613a02bf23079b965
|
|
| MD5 |
aba6fd23cd3d16a0b1fa6ace8f319588
|
|
| BLAKE2b-256 |
fe3cb112e40b5a46a11fd5cd4960ab2da3f1bf0f33630bbb5907f1e901eac35f
|