Guide

How to Manage Multiple AI Agents: Fewer Bots, Clear Jobs, One Place to Check

Running many AI agents and spending more time supervising than shipping? 10 steps to list your agents, merge the ones you don't need, pick a coordination pattern, stop file collisions, and review by exception.

· 15 min read

Building a second agent is easy. Keeping track of the tenth is the hard part. “I have too many Grok bots to keep track of now…” (post). Another builder: “Too many apps open just to keep track of what all the agents are doing” (post). And one who built eight agents, including a coder, a designer and a PM, summed up the result: “My AI org chart is thriving. My life admin, less so.” (post).

The overhead shows up in three places: knowing what each agent is doing, reviewing what they produce, and stopping them from getting in each other’s way. This guide covers all three, plus the step most people skip: running fewer agents.

Scope: This guide covers the work of running several agents: which ones to keep, how they coordinate, where their output goes, and how you review it. To find out which agent is spending your tokens, see the cost guide’s cost per agent step, and for per-agent spending caps, its hard cap step. For what each agent is allowed to touch, see the guardrails guide’s narrow credentials and allow, ask, and deny tiers. For making a single agent reliable (step caps, retries, traces, evals), see our production reliability guide.

Why more agents means more overhead

Every agent is another system to run

Microsoft’s guidance on choosing between one agent and many puts the cost plainly: “Every component needs separate prompt engineering, monitoring infrastructure, and debugging capabilities,” and “communication overhead multiplies with agent count” (Microsoft Cloud Adoption Framework: single-agent or multi-agent, checked Oct 19, 2026). The SpaceXAI engineer Lauren Tan is described in one post as someone who “used to spend hours micromanaging one agent” (post). Multiply that by ten agents and you have a second job.

Review becomes the bottleneck

Parallel agents finish in parallel, and you still review them one at a time. “It’s very tempting to throw a bunch of tasks at different agents in parallel… But then reviewing everything and constantly switching contexts gets really hard, even with separate worktrees” (post). Another builder: “Three agents finishing at once means three results to check at once. The win isn’t speed. It’s whether it tells you which one needs your eyes first” (post).

Agents collide on shared files and state

“Ran 4 coding agents in parallel today. Throughput was never the bottleneck. Merge order was. Two of them edited the same config file and each one was sure it was right” (post). Claude Code’s docs warn about the same thing: “Two teammates editing the same file leads to overwrites” (Claude Code: agent teams).

More agents isn’t more output

Adding agents has diminishing returns, and past a point the returns go negative:

  • Anthropic, which runs a multi-agent research system, notes that “LLM agents are not yet great at coordinating and delegating to other agents in real time,” and that most coding tasks “involve fewer truly parallelizable tasks than research” (How we built our multi-agent research system). Its early versions made errors like “spawning 50 subagents for simple queries.”
  • Claude Code’s agent-team docs: “Three focused teammates often outperform five scattered ones.”
  • In an NTT Research and Harvard experiment, group accuracy “peaked with approximately 16 AI agents before declining” on a task where each agent saw only part of the answer (NTT Research, July 28, 2026). The researchers also found that “clear instructions and communication strategies had a greater impact on collective performance than simply increasing the number of AI agents.” That’s one task type, not a universal limit, but it points the same way.

It also costs more. One builder “had nine agents summarize a single podcast and they burned about 830k tokens before hitting my usage limit. since then simple jobs stay in one context” (post). The cost guide covers why multi-agent setups multiply token use.

Step 1: List every agent you run

You can’t manage what you haven’t written down. Make a roster with one row per agent, including scheduled jobs and sub-bots:

ColumnWhat to write
NameOne name you’ll use everywhere: in the prompt, the key label, the log, the status board
JobOne sentence: “Drafts replies to new support emails each morning”
TriggerSchedule, event, or “when I ask”
Reports toThe person or agent that reviews its output
Writes toThe files, folders, branches, or apps it changes
Last useful outputDate and what it produced
DecisionKeep, merge, or retire (Step 2)

Add a spend column from your per-agent cost tracking (cost guide, Step 2) and an access column from your permissions setup (guardrails guide, Step 2). The question one builder with “~25 agents across 4 products” asked is the one this table answers: “which agent burned tokens without shipping anything” (post).

If you can’t write the job in one sentence, the agent is either doing two jobs or doesn’t have one.

Step 2: Merge agents that don’t need to be separate

The official guidance from three vendors agrees: start with one agent and split only for a specific reason.

  • OpenAI: “Our general recommendation is to maximize a single agent’s capabilities first” (A practical guide to building agents).
  • Microsoft: “Don’t assume role separation requires multiple agents.” Distinct roles like planner, reviewer, and executor “don’t automatically justify a multi‑agent architecture.”
  • LangChain: “a single agent with the right (sometimes dynamic) tools and prompt can often achieve similar results” (LangChain: Multi-agent).

Reasons that do justify a separate agent, drawn from those sources:

ReasonExample
A security or data boundaryOne agent reads client records; the one that posts publicly must not see them
Tool overloadOpenAI notes some setups handle “more than 15 well-defined, distinct tools while others struggle with fewer than 10 overlapping tools.” Split when clearer tool names and descriptions don’t fix wrong tool choices
Prompts full of branches“When prompts contain many conditional statements,” OpenAI suggests dividing each segment across separate agents
Truly independent parallel workResearching five unrelated topics at once
Context that won’t fitA side task that would flood the main conversation with logs or search results

“A coder, a designer, and a PM” is a list of roles, not a reason. Before you merge two agents, run the merged version on a handful of recent real tasks and compare. Our production guide covers building a small eval set.

Step 3: Pick one coordination pattern for each group

For the agents that survive Step 2, decide who’s in charge. Most setups fit one of these patterns, which the OpenAI, Microsoft, and LangChain docs all describe under slightly different names:

PatternHow it worksUse it whenWatch for
Manager (agents as tools)One agent calls specialists and owns the final answerYou want one place that talks to you and combines resultsThe manager becomes a bottleneck
HandoffOne agent passes the whole task to a specialistThe right specialist only becomes clear partway throughMicrosoft warns of “infinite handoff loops”
PipelineFixed order: research, then draft, then reviewEach stage depends on the previous oneEarly mistakes flow downstream
Parallel (fan-out)Several agents work on independent pieces at oncePieces don’t depend on each otherConflicting results need a merge rule
Group chatAgents discuss in one shared threadBrainstorming or maker-checker reviewMicrosoft suggests “limiting group chat orchestration to three or fewer agents”

Sources: Microsoft AI agent orchestration patterns, OpenAI Agents SDK: agent orchestration, and LangChain: Multi-agent, all checked Oct 19, 2026.

The manager pattern is the closest fit for most personal and small-business setups, because you get one agent to talk to instead of ten. Microsoft also recommends routing in code when you can: if the right agent is “identifiable from the initial input,” use “deterministic routing or a simpler dispatcher” instead of letting agents decide.

How the frameworks in our directory implement this:

  • OpenAI Agents SDK: Agent.as_tool() for the manager pattern, where “a manager agent keeps control of the conversation,” and handoffs where “that specialist becomes the active agent for the rest of the turn.”
  • CrewAI: Process.hierarchical adds a manager agent that “coordinates the workflow, delegates tasks, and validates outcomes.” The default is sequential, and delegation is “disabled by default” (CrewAI hierarchical process).
  • LangGraph: LangChain’s docs point to LangGraph for custom workflows “mixing deterministic logic and agentic behavior.”
  • Claude Code: subagents (Claude delegates inside one session), agent view (you dispatch independent background sessions), and agent teams (a lead coordinates teammates, “experimental and disabled by default”) (Claude Code: run agents in parallel).

Step 4: Hand off every task with a written brief

Vague delegation is where duplicate work and gaps come from. Anthropic found that short instructions like “research the semiconductor shortage” led subagents to misread the task or perform “the exact same searches as other agents.” Its fix: “Each subagent needs an objective, an output format, guidance on the tools and sources to use, and clear task boundaries.”

A brief you can reuse:

Objective: [one sentence: what you need and why]
Output: [format and location: e.g. a markdown table saved to reports/competitors.md]
Use: [tools and sources allowed]
Don't: [files, folders, or topics that belong to another agent]
Done when: [a check someone can run without asking you]
Stop and ask if: [the conditions that need a person]

Don’t assume the worker knows what you told the lead. In Claude Code agent teams, “the lead’s conversation history does not carry over,” so the docs say to “include task-specific details in the spawn prompt.” For writing the “done when” line, see the production guide’s step on defining done.

Step 5: Give each agent its own files and workspace

Collisions are a coordination problem, not a model problem. “Parallel agents need a lock before they need a smarter model” (post). Microsoft lists “sharing mutable state between concurrent agents” as an antipattern.

  • One owner per file or folder. Write the “Writes to” column in Step 1 so no two agents share a path. Claude Code’s team docs: “Break the work so each teammate owns a different set of files.” A builder’s version: “One main thread plus scoped subagents, each owning a file boundary, keeps conflicts rare” (post).
  • Separate checkouts for code. Git worktrees give each session its own copy of the repo. In Claude Code, a session dispatched from agent view “moves into a worktree of its own before it edits files” (Claude Code: run agents in parallel), and a subagent can get one with isolation: worktree in its definition. Agent teams don’t isolate teammates in worktrees, so split files by hand there.
  • Results as files, not chat. Anthropic recommends that subagents “store their work in external systems, then pass lightweight references back to the coordinator,” which avoids a “game of telephone.” A path to a report is easier to review than a long message relayed through two agents.
  • One person merges. Decide the merge order yourself, or give it to a single agent. Never two.

Step 6: Check one status board, not five apps

You need to see, in one place, which agents are working, which need you, which are done, and which failed. Claude Code’s agent view is a good model of what that board should show. claude agents opens “one screen for all your background sessions: what’s running, what needs your input, and what’s done,” grouped so the sessions that need you are at the top. For scripts, claude agents --json (Claude Code: agent view) reports each session’s state as working, blocked, done, failed, or stopped, and blocked “always means the session needs something from you before it can continue.”

If your agents run in different tools, build a plain version:

  1. Pick one place: a shared file, a spreadsheet, or one chat channel.
  2. Have every agent post one line at the end of each run: name, state, result, and a link to the output.
  3. Use the same five states for every agent, so you can scan by state instead of by app.
  4. Put “needs you” at the top. Everything else can wait.

Debugging a failed run needs more than a status line. See the production guide’s step on tracing every run.

Step 7: Review by exception, not by reading everything

If you read every output in full, your agent count is capped by your reading speed. Make agents tell you which results need your attention.

  • Add a checker before you. Microsoft’s maker-checker loop has one agent produce and another evaluate “against defined criteria,” with “an iteration cap to prevent infinite refinement loops” and a fallback such as “escalation to a human reviewer.” The checker needs written acceptance criteria to make “consistent pass or fail decisions.”
  • Block “done” until the check passes. In Claude Code agent teams, a TaskCompleted hook can “exit with code 2 to prevent completion and send feedback.”
  • Ask for a summary that flags uncertainty: what changed, what the agent wasn’t sure about, and what it skipped. Read those first.
  • Sort your queue by risk. Anything irreversible gets a full review. Our production guide covers putting a human on irreversible steps.

Keep approvals rare enough that they still mean something. A post about a new paper on agent oversight describes approval fatigue: “You keep clicking, but you’ve stopped judging” (post). If you approve the same safe action every day, move it to an allow rule (guardrails guide, Step 3) and save your attention for the rest.

Step 8: Turn repeated corrections into rules, not reminders

Micromanagement is usually the same correction typed again and again. In the post about Lauren Tan’s setup, the advice that matters most is this one: “when agents keep making the same mistake, she turns the correction into a reusable skill, tool or rule,” so “fewer tasks need her constant attention” (post).

  • Keep a corrections log for a week. Anything you typed twice becomes a rule.
  • Put the rule where every agent reads it, not in one chat. In Claude Code, subagent definitions live in .claude/agents/, and the docs say “Check them into version control” so they’re shared. Each one sets its own tools, model, and instructions.
  • Share one base prompt. OpenAI suggests “a single flexible base prompt that accepts policy variables” rather than “numerous individual prompts,” so a fix lands everywhere at once.
  • Fix the tool, not the prompt, when the mistake is a wrong tool choice. Anthropic’s tool-testing agent rewrote unclear tool descriptions, which led to “a 40% decrease in task completion time for future agents using the new description.”

Step 9: Size the team and set check-ins

Decide team size and check-in times before you start, not halfway through.

  • Start small. Claude Code’s docs say “Start with 3-5 teammates for most workflows” and “If you have 15 independent tasks, 3 teammates is a good starting point.” They suggest “5-6 tasks per teammate.”
  • Scale effort to the task. Anthropic’s research agents got explicit rules: “Simple fact-finding requires just 1 agent with 3-10 tool calls, direct comparisons might need 2-4 subagents,” and complex research “might use more than 10 subagents.”
  • Check in on a schedule. “Letting a team run unattended for too long increases the risk of wasted effort.” Set a time to look at the board, and a point where an agent must stop and report.
  • Remember the meter. Claude Code’s agent view docs note that “running ten agents in parallel uses quota roughly ten times as fast as running one.” Per-agent caps belong in the gateway or key, not the prompt; see the cost guide, Step 3.

For Grok Bot fleets and sub-bots, check Grok Bot’s own documentation for how status, scheduling, and usage work. We only describe features we’ve checked in official docs, and we haven’t verified any Grok Bot fleet-management features.

Step 10: Retire agents on a schedule

Agents pile up because nobody turns them off. Once a week, go through the roster from Step 1:

  1. Retire any agent with no useful output in the last two weeks, or whose job another agent now does.
  2. Merge pairs that read the same inputs or write to the same place.
  3. Shut down finished workers. In Claude Code teams, ask the lead to shut a teammate down by name.
  4. Turn off its schedule and revoke its key, so a retired agent can’t run or spend. See the cost guide on idle and background spending and the security guide on small, short-lived keys.
  5. Update the roster so the next review starts from the truth.

A shorter roster is the clearest sign this is working.

Checklist

CheckDone when
RosterEvery agent, scheduled job, and sub-bot has a row with a one-sentence job
MergeEach separate agent has a written reason: boundary, tool overload, parallel work, or context size
PatternEach group has one coordination pattern and one agent or person in charge
BriefsEvery handoff states objective, output, tools, limits, and “done when”
FilesNo two agents write to the same path; code work uses separate worktrees
Status boardOne place shows working, needs you, done, failed, and stopped for every agent
ReviewA checker or test runs before you see output; you read flagged items first
RulesCorrections you’ve made twice live in a shared definition or base prompt
SizeTeam size and check-in times are set before the run starts
RetirementA weekly review retires idle agents and revokes their keys

FAQ

How many AI agents should I run? Fewer than you think. OpenAI and Microsoft both recommend starting with one agent and adding more only for a specific reason, such as a security boundary or independent parallel work. Claude Code’s docs suggest 3 to 5 teammates for most team workflows, and note that three focused teammates often beat five scattered ones.

When should I use multiple agents instead of one? When there’s a boundary or a bottleneck one agent can’t handle: data that must stay separated, so many overlapping tools that the agent keeps picking the wrong one, prompts full of branching rules, or independent tasks that can run in parallel. Distinct roles alone, like planner and reviewer, don’t justify separate agents.

How do I keep track of what all my agents are doing? Keep a roster with one row per agent and a one-sentence job, and use one status board where every agent reports working, needs you, done, failed, or stopped. In Claude Code, agent view (claude agents) shows background sessions grouped by state, with the ones that need your input at the top.

How do I stop parallel agents from overwriting each other’s work? Give each agent its own files or folders, and use separate git worktrees for code so each session edits its own checkout. Have agents save results to files and pass back a path, and let one person or one agent decide the merge order.

How do I find which agent is using the most tokens? Give each agent its own API key, gateway key, or tracking tag, then compare cost per finished task. Our AI agent cost guide covers per-agent tracking in detail, including Helicone, Langfuse, LiteLLM, and Claude Code’s /usage breakdown.


Get the next guide in your inbox

We’re tracking the tools and habits that make agent fleets manageable, for people building AI agents and Grok Bot setups. Subscribe to the newsletter for practical guides and directory picks.