🚀 A revolutionary open-source framework that orchestrates multiple specialized Claude AI agents through terminal-based communication.
ClaudeStack enables developers to interact with multiple specialized Claude AI agents through a single interface. Each agent runs in its own terminal window and performs a distinct role in the software development lifecycle.
No servers, no databases, no dashboards — just smart agent routing, local file-based communication, and raw Claude power.
✅ Single Chat Interface – Talk to one Claude (Claude-Chat) and get routed intelligently
✅ Multi-Agent System – Each Claude instance runs in a terminal and handles a single responsibility
✅ Zero Infrastructure – No DB, no backend, no frontend required. All communication through shared folders
✅ Model-Specific Roles – Different Claude models (Sonnet/Opus) assigned based on complexity
✅ Expandable Design – Add/remove/replace agents easily
| Agent Name | Model | Role Description |
|---|---|---|
| Claude-Chat | Sonnet-4 | Main user interface — interprets input and routes it |
| Claude-Planner | Opus-4 | Breaks down high-level feature requests into dev plans |
| Claude-Tasker | Sonnet-4 | Converts plans into atomic development tasks |
| Claude-Coder | Sonnet-4 | Implements code based on specific tasks |
| Claude-Reviewer | Opus-4 | Reviews written code and gives feedback |
| Claude-Tester | Sonnet-4 | Writes and runs tests, finds bugs, ensures stability |
| Claude-Designer | Opus-4 | Generates UX/UI design specs, wireframes |
| Claude-Frontend | Sonnet-4 | Implements frontend UI components |
| Claude-Helper | Sonnet-4 | General-purpose support: codebase explanation, Q&A |
You → Claude-Chat → Claude-Planner → Claude-Tasker → Claude-Coder → Claude-Reviewer → Claude-Tester
↓
Claude-Designer → Claude-Frontend
- Python 3.8+
- Anthropic API key
- Terminal access (macOS/Linux)
-
Clone the repository:
git clone https://github.com/yourusername/claudestack.git cd claudestack -
Install dependencies:
pip install -r requirements.txt
-
Set up your Anthropic API key:
export ANTHROPIC_API_KEY="your-api-key-here"
-
Launch all agents:
python launcher.py
-
Start chatting:
- Open
inbox/chat.txtin your favorite editor - Type your request and save the file
- Watch the magic happen across multiple terminal windows!
- Open
claudestack/
├── agents/
│ └── agent_runner.py # Shared runner for all agents
├── inbox/
│ ├── chat.txt # Your input goes here
│ ├── planner.md # Input to planner
│ ├── tasker.md # Input to tasker
│ ├── coder.md # Input to coder
│ └── ... # Other agent inputs
├── outbox/
│ └── ... # Agent outputs
├── logs/
│ └── messages.log # Chronological logs
├── config/
│ ├── model_assignments.json
│ └── routing_rules.json
├── prompts/
│ └── ... # Agent prompt templates
├── router.py # Core routing logic
├── launcher.py # Auto-terminal launcher
└── README.md
# In inbox/chat.txt
"I need a user authentication system with JWT tokens and password reset functionality"
# ClaudeStack will:
# 1. Route to Claude-Planner for breakdown
# 2. Claude-Tasker creates atomic tasks
# 3. Claude-Coder implements each piece
# 4. Claude-Reviewer ensures quality
# 5. Claude-Tester adds comprehensive tests
# In inbox/chat.txt
"How does the authentication middleware work in this codebase?"
# Routes directly to Claude-Helper for explanation
# In inbox/chat.txt
"Design a modern dashboard for user analytics"
# Routes to Claude-Designer → Claude-Frontend
Edit config/model_assignments.json to customize which Claude model each agent uses:
{
"chat": "claude-3-5-sonnet-20241022",
"planner": "claude-3-opus-20240229",
"coder": "claude-3-5-sonnet-20241022",
"reviewer": "claude-3-opus-20240229"
}Customize config/routing_rules.json to control how requests are routed:
{
"feature_request": "planner",
"code_question": "helper",
"ui_request": "designer",
"bug_fix": "coder",
"code_review": "reviewer"
}-
Create prompt template:
# Create prompts/my_agent.txt echo "You are Claude-MyAgent..." > prompts/my_agent.txt
-
Add to model assignments:
{ "my_agent": "claude-3-5-sonnet-20241022" } -
Update routing rules:
{ "my_task_type": "my_agent" } -
Launch the agent:
python agents/agent_runner.py --agent my_agent
We welcome contributions! Please see our Contributing Guide for details.
MIT License - see LICENSE file for details.
- Built with Anthropic's Claude AI models
- Inspired by the need for better AI-assisted development workflows
- Special thanks to the open-source community
Ready to revolutionize your development workflow? Give ClaudeStack a try! 🚀