Agent Team Builder

Design a multi-agent team for a Claude Code project.

  • $39 Free
  • 60 sec
  • No signup
1

Pick the roles your project needs

2

Tune each agent's tools + scope

3

Copy the subagent files

You get: A multi-agent team with each subagent's role, tools, and prompt.

Your project

Project type
Roles on the team

Your team plan

# Agent team plan

Goal: (describe your goal)
Project type: Ship a new feature
Team size: 5 subagents

## Roles

1. Planner (planner) - Opus 4.x
   Brief: Breaks the goal into an ordered, testable plan before any code is written.
   Tools: Read, Grep, Glob

2. Implementer (implementer) - Sonnet 4.x
   Brief: Writes and edits the code to satisfy the plan, one focused change at a time.
   Tools: Read, Edit, Write, Bash

3. Reviewer (code-reviewer) - Opus 4.x
   Brief: Reviews the diff for correctness, security, and style, then lists required changes.
   Tools: Read, Grep, Glob

4. Tester (tester) - Sonnet 4.x
   Brief: Writes and runs tests, reports failures, and confirms the change is verified.
   Tools: Read, Edit, Write, Bash

5. Documenter (documenter) - Haiku 4.5
   Brief: Updates README, changelog, and inline docs so the change is discoverable.
   Tools: Read, Edit, Write

## Suggested flow
Planner -> Implementer -> Reviewer -> Tester -> Documenter

Tip: create each role as a file in .claude/agents/, then let the main session delegate to them by name.

Generate each role with the Subagent Generator, then save it to .claude/agents/ in your repo.

Why build a team of subagents at all

A single Claude Code session is a generalist. It plans, writes, tests, and reviews in one long context, and that context gets noisy. Subagents let you split that work into separate, focused contexts - each with its own system prompt and its own narrow set of tools. The main session becomes an orchestrator that hands a scoped task to the right specialist and gets back a clean result. The practical payoff is fewer mistakes on long tasks, because a reviewer that only reviews is not distracted by the pressure to also ship.

This builder does not invent agents. It maps the shape of your work - feature, bugfix, refactor, greenfield, or research - onto a small set of proven roles, and lets you turn each one on or off. Each role comes with a one-line brief, a sensible default model, and a minimal tool set. The output is a plan you can hand to the Subagent Generator to produce the actual .claude/agents files.

The core roles and what each one is for

  • Planner - reads the codebase and turns the goal into an ordered, testable plan. Read-only tools so it cannot start editing before the plan is agreed. Opus for the reasoning depth.
  • Researcher - gathers context from code, docs, and the web, and reports findings. Never edits. Ideal for bugs where the cause is unknown and for greenfield where you need to survey options.
  • Implementer - the one that actually writes code. It gets Read, Edit, Write, and Bash, and it works one focused change at a time against the plan.
  • Reviewer - reads the diff and lists required changes for correctness, security, and style. Read-only, so it cannot quietly fix things and hide problems. Opus, because catching subtle issues is a reasoning task.
  • Tester - writes and runs tests, reports failures, and confirms the change is verified. Gets Bash so it can actually run the suite.
  • Documenter - updates README, changelog, and inline docs. Cheap work, so Haiku is the right default.

How to scope each agent's tools

The single most useful discipline in multi-agent design is tool scoping. A subagent should only hold the tools it needs to do its job. A reviewer with Edit access is a reviewer that will start editing. A planner with Bash is a planner that will start running commands before the plan exists. When you leave the tools field off a subagent entirely, it inherits all tools - which is convenient but almost never what you want for a specialist. Name the tools explicitly and keep the list short.

Read-only roles should stay read-only

Give planners, researchers, and reviewers only Read, Grep, and Glob. The moment a review agent can Edit, it stops being a check on the implementer and becomes a second implementer - which defeats the point of having a reviewer at all.

Matching models to roles

  1. Use Opus 4.x for the roles where reasoning is the bottleneck - the planner and the reviewer. These agents run rarely and their quality sets the ceiling for the whole team.
  2. Use Sonnet 4.x for the workhorse roles - implementer, tester, researcher. Sonnet handles most coding and test work at a fraction of Opus cost.
  3. Use Haiku 4.5 for mechanical, high-volume roles like the documenter. Fast and cheap is exactly right when the task is formatting, not judgment.
  4. Do not default every agent to Opus. A five-agent team all on Opus is expensive and slow, and most of the work does not need it.

The recommended flow

For a typical feature, the flow reads left to right: Planner produces the plan, Implementer builds against it, Tester verifies, Reviewer signs off, Documenter records the change. For a bug, you usually start with Researcher to find the cause, then Implementer, Tester, and Reviewer. You do not have to run every role every time - the value is in having the specialist ready when the task needs it. The plan the widget generates lists your chosen flow so you can paste it into the CLI as the delegation order.

Turning the plan into real files

Each role in your plan becomes one markdown file in .claude/agents/ with YAML frontmatter (name, description, tools, model) and a system prompt body. Project-level agents live in .claude/agents/ and are shared with your team through the repo; user-level agents live in ~/.claude/agents/ and follow you across projects. Once the files exist, the main Claude Code session can delegate to any of them by name. The Subagent Generator on this site produces each file for you from the role brief.

When a team is overkill

Not every task wants a team. A one-line fix does not need a planner, a reviewer, and a tester - the overhead of coordinating agents can cost more than it saves. Reach for a multi-agent team when the task is large enough that context noise, missed edge cases, or skipped review are real risks: multi-file features, risky refactors, and greenfield builds. For small, well-understood changes, a single focused session is faster and cheaper.

Frequently asked questions

  • What is a Claude Code subagent?

    A subagent is a specialized assistant defined by a markdown file in .claude/agents/. It has its own system prompt, its own tool permissions, and runs in a separate context so it stays focused. The main session delegates scoped tasks to it by name.

  • Where do the agent files go?

    Project-level agents live in .claude/agents/ inside your repo and are shared with your team. Personal agents live in ~/.claude/agents/ and follow you across every project. Project-level takes precedence when names collide.

  • Do I have to use every role?

    No. The builder pre-selects the roles that fit your project type, but you toggle any of them on or off. A small change might only need an implementer and a tester; a risky refactor benefits from the full team.

  • Why give some agents read-only tools?

    Scoping tools keeps each specialist honest. A reviewer with only Read, Grep, and Glob cannot start editing, so it stays a genuine check on the implementer instead of quietly becoming a second one.

  • Should every agent use Opus?

    No. Use Opus for the planner and reviewer where reasoning matters, Sonnet for the implementer and tester, and Haiku for mechanical work like docs. An all-Opus team is expensive and usually unnecessary.

  • How does the main session use the team?

    Once the files exist in .claude/agents/, the main Claude Code session can delegate to any agent by name, either automatically based on the task or when you ask it to. Each delegated task runs in the subagent's own clean context.

Liked this tool? The club is the next step.

Join Claude Code Club for $9/month. 650+ lessons, weekly updates, and the workflows behind every tool on this site.

  • No experience needed
  • Cancel anytime
  • Updated weekly