https://github.com/barkain/madrox
Madrox — Multi-Agent Orchestrator for Claude & Codex. MCP server that spawns, delegates, and coordinates parallel AI agent teams via tmux.
https://github.com/barkain/madrox
ai-agents claude claude-code mcp multi-agent orchestration tmux
Last synced: about 1 month ago
JSON representation
Madrox — Multi-Agent Orchestrator for Claude & Codex. MCP server that spawns, delegates, and coordinates parallel AI agent teams via tmux.
- Host: GitHub
- URL: https://github.com/barkain/madrox
- Owner: barkain
- License: mit
- Created: 2025-09-27T07:17:00.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2026-03-29T13:02:08.000Z (3 months ago)
- Last Synced: 2026-03-29T13:50:45.490Z (3 months ago)
- Topics: ai-agents, claude, claude-code, mcp, multi-agent, orchestration, tmux
- Language: Python
- Size: 12.7 MB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Madrox - Multi-Agent Orchestrator for Claude & Codex
[](https://www.python.org/downloads/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/barkain/madrox/actions/workflows/test.yml)
[](https://github.com/astral-sh/ruff)
An MCP server that lets AI instances spawn and manage hierarchical networks of Claude and Codex agents. Build recursive multi-level teams with bidirectional communication, role specialization, task interruption, and real-time monitoring — all orchestrated through tmux sessions.
## Why Madrox?
| Capability | Claude Subagent | Madrox |
|------------|----------------|--------|
| Hierarchy depth | 2 levels (flat) | 3+ levels (recursive) |
| Models | Claude only | Claude + Codex |
| Interruption | Must terminate & restart | Stop & redirect, keep context |
| Visibility | Black box | Full tree view, metrics, dashboard |
| Parallel ops | Sequential only | Batch spawn/message/interrupt |
| Communication | One-way (parent → child) | Bidirectional + peer-to-peer |
| Workspace | Shared | Isolated per-instance |
| Resource tracking | None | Tokens, cost limits, auto-cleanup |
## Plugin Installation (Recommended)
The fastest way to get started — install Madrox as a Claude Code plugin:
```bash
# Install from local clone
/plugin install /path/to/madrox
```
After installing, restart your Claude Code session. All Madrox MCP tools become available automatically. The plugin starts the HTTP backend (port 8001) and the monitor dashboard (port 3002) in the background.
Use the `/madrox:dashboard` skill to open the real-time monitor dashboard in your browser.
**Prerequisites:** Python 3.11+, [tmux](https://github.com/tmux/tmux/wiki/Installing), [uv](https://docs.astral.sh/uv/), npm
## Quick Start (Manual)
```bash
# 1. Install
git clone https://github.com/barkain/madrox.git && cd madrox
uv sync && source .venv/bin/activate
# 2. Start (backend + dashboard)
./start.sh
# 3. Register with Claude Code
claude mcp add madrox http://localhost:8001/mcp --transport http
```
Then ask Claude Code to `spawn a madrox dev team from template` — or see [`examples/`](examples/) for scripted usage.
## Documentation
| Topic | Link |
|-------|------|
| Installation & setup | [docs/SETUP.md](docs/SETUP.md) |
| Architecture & design | [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) |
| API reference (24+ MCP tools) | [docs/API_REFERENCE.md](docs/API_REFERENCE.md) |
| Features & usage patterns | [docs/FEATURES.md](docs/FEATURES.md) |
| Troubleshooting | [docs/TROUBLESHOOTING.md](docs/TROUBLESHOOTING.md) |
| Team templates | [docs/TEMPLATES.md](docs/TEMPLATES.md) |
| Examples | [examples/](examples/) |
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md). Run `uv run pytest tests/ -v` and `uv run ruff check src/` before submitting.
## License
MIT — see [LICENSE](LICENSE).