North star: most agent orchestrators skip one question, and the benchmark here answers it:
did the team beat a single agent on the same task, and what did the extra agents cost?
Run a team of coding agents on a task in your repository: a single agent, a coder ⇄ reviewer
loop, or several agents with a judge. Workers are the coding CLIs you already use (Claude Code,
Codex) or a built-in agent that can use any model through the OpenAI Agents SDK. Each worker
gets its own git worktree. You get one patch back, plus an itemized record of every agent call:
tokens, cost and seconds. Your working tree is untouched unless you pass --apply.
Why measure
The evidence on teams of coding agents points both ways:
- A 260-configuration study found multi-agent setups 2–15% worse than single agents on
SWE-bench Verified (Towards a Science of Scaling Agent Systems).
- A team with a coordinator, a researcher, an engineer and a reviewer reached 72.2% on SWE-bench
Verified, 7.2 points better than mini-SWE-agent but only 0.4 above the strongest single-agent
baseline, with different models per role (Agyn). A
decentralized pair, a patch editor and a validator with isolated context, gained 3.6 and 8.4
points over mini-SWE-agent (icat-agent).
- The best-known coding benchmark is contaminated: OpenAI stopped reporting SWE-bench Verified
in February 2026.
So the answer depends on the topology, the models and the task, and published numbers may be
contaminated. This project measures it on tasks created after the models' training cutoffs, with
paired comparisons and cost.
Quickstart
Requirements: Python 3.10+, uv, git, and at least one logged-in
coding CLI (claude or codex). CLI harnesses use your existing login; no API keys needed.
The package is multi-agent on PyPI and the command is multi-agents: run it with uvx as below,
or keep it installed with uv tool install multi-agent (or pipx install multi-agent).
uvx --from multi-agent multi-agents run \
--repo ~/code/myproject \
--team 'best:workers=claude@haiku+codex@gpt-6-luna' \
"Make the tests in test_slug.py pass without editing the tests."
Real output from that command on a small repository:
Team: best:workers=claude@haiku+codex@gpt-6-luna,judge=claude@haiku
role ┃ harness@model ┃ tokens in/cached/out ┃ cost ┃ secs
━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━
worker │ claude@claude-haiku-5-5 │ 236k/201k/1.5k │ $0.0096 │ 34.8
judge │ claude@claude-haiku-5-5 │ 194k/157k/2.6k │ $0.0102 │ 42.8
worker │ codex@gpt-6-luna │ 107k/94k/667 │ $0.0025 │ 31.6
judge │ claude@claude-haiku-5-5 │ 192k/149k/3.8k │ $0.0119 │ 52.3
Total: 729k/604k/8.5k tokens, cost $0.0342, 85.0s
scores: [8.0, 8.0]
chosen: 1
Files changed: 1
slug.py +6 -3
The run prints the exact git apply command for the final patch and saves a JSON record
outside your repository (~/.cache/multi-agents/runs/).
Teams