Running agents at scale
Run many agents without losing control. Give each its own copy and identity, cap what reaches review, attribute every cost and roll out in steps.
- Recommended 7
Recommended
Give every parallel agent its own working copy
AID-63Run each agent that works at the same time as another in its own worktree or container, on its own branch. Never let two agents edit one checkout.
Let background agents deliver only pull requests
AID-64An agent that runs without a person watching works under its own bot identity and pushes only to its own branch prefix, such as
agent/. It delivers a pull request and never approves, merges or deploys.Cap open agent pull requests at what people can review
AID-65Set a cap on open agent pull requests per reviewer, such as 3, and start no new background task for a reviewer at the cap. Close agent pull requests nobody has touched for 7 days.
Use review bots as a first pass and never as the approval
AID-66Let AI review bots comment on pull requests, but never let a bot's review satisfy a required approval. Measure each month how many of each bot's comments led to a code change.
Split work between agents by files and merge through one lead
AID-67When several agents work toward one goal, give each a written task that lists the files or folders it may change. No two agents own the same file, and one lead session or person merges the results.
Attribute the cost of every agent session
AID-68Tag every agent session with the person, the team and the task. Report the cost per team and per merged agent change every month.
Roll agents out to a team in steps
AID-69Start with a pilot of 2 to 5 people for 4 weeks under a written policy. Widen use only when the change fail rate has not risen from its value before the pilot.
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-assisted-development/running-agents-at-scale">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.