Let Claude agents argue before they answer

A read-only council of Claude teammates that try to disprove each other before you act.

1. You ask

Why did the weekly report stop sending?

Research onlyNobody edits a file.Example
2. The council argues
  • Checks the schedule
  • Checks logins
  • Checks the data in
  • Argues against the favourite
They message each other to disprove each other's theories.
3. What survivesFINDINGS.md
  • Agreed, with evidence
  • Ruled out
  1. You ask one question and set the team to research only, so no teammate edits any file. The example asks why a weekly report stopped sending.
  2. Four teammates each check a different theory, and one argues against whichever theory looks strongest. They message each other to try to disprove each other.
  3. Whatever survives is written to FINDINGS.md with the evidence, along with the theories that were ruled out.
15 minNo code

You need

  • Claude Code
  • Permission to edit one settings file

Ask one Claude why something broke and it tends to pick the first plausible theory and run with it. Anthropic's docs call this anchoring.

Claude Code has an experimental feature called agent teams. Several Claude sessions work together, share a task list and message each other directly. This guide switches it on and gives you three prompts that make the team argue before it answers, without changing any of your files.

01 / 06

Turn it on

Agent teams are experimental and off by default. They need an interactive Claude Code session.

  1. Open your settings.json. For all projects it is ~/.claude/settings.json, which on Windows is C:\Users\YOUR-NAME\.claude\settings.json. For one project it is .claude/settings.json inside that folder.

  2. Add this. If the file already has an env section, add only the middle line inside it.

Switch agent teams on
settings.json
{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}

Save the file. Anthropic's docs say Claude Code reapplies env values from settings when you save. If no team forms, restart Claude Code.

02 / 06

Turn it off again

Change "1" to "0" and save. This matters because, while teams are on, Claude can start a team without being asked. Anthropic's docs say a subagent that Claude names on its own launches as a teammate, and a team is a lot more expensive than one session. Switch it off when you are not using it.

Switch agent teams off
settings.json
{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "0"
  }
}

03 / 06

Run a council

Pick one prompt, replace the words in capitals, and paste it. All three are research only. Anthropic's agent teams docs base their debugging example on teammates who try to disprove each other, and say the theory that survives is much more likely to be the real cause.

Council: why did this break?
WHAT STOPPED WORKING, AND WHEN IT WAS LAST FINE. Create an agent team with 4 teammates to investigate different theories: one checks THE SCHEDULE OR TRIGGER, one checks LOGINS AND PERMISSIONS, one checks THE DATA GOING IN, and one plays devil's advocate against whichever theory looks strongest. Research only: nobody edits existing files or runs anything that changes data; only you, the lead, write FINDINGS.md. Have them message each other to try to disprove each other's theories, like a scientific debate. Write whatever they agree on, with the evidence for each point and the theories that were ruled out, to FINDINGS.md.
630 characters
Council: stress-test a plan
Here is my plan: PASTE THE PLAN OR GIVE THE FILE NAME. Create an agent team with 4 teammates: one argues the plan will work and finds the strongest version of it, one looks for what could go wrong in the first 30 days, one looks for the cheapest simpler alternative, and one plays devil's advocate against all of them. Research only, no edits to existing files. Have them challenge each other's points directly. Write to FINDINGS.md what the team agrees on, what stays disputed, and your recommendation. Keep it under one page.
530 characters
Council: review a draft from three sides
Review FILE NAME. Create an agent team with 3 reviewers, each with a different lens: one for accuracy (every claim checked against its source), one for the reader (is it clear to someone who has never seen it), one for risk (anything that could cause a problem if it went out). Research only, no edits to existing files. Reviewers must read each other's notes and flag disagreements. Write the combined findings to FINDINGS.md, ordered by how much each one matters.
467 characters

Download the ZIP for the settings lines, the three prompts and the limits in one folder.

04 / 06

What it costs

Each teammate is a separate Claude with its own context window. Anthropic's docs say agent teams use significantly more tokens than a single session, and the cost grows with each teammate. They suggest 3 to 5 teammates to start, and say a single session is cheaper for routine work. Keep councils for research and reviews.

05 / 06

Test it safely

Teammates start in the same permission mode as your session. If your permission checks are off, "research only" in the prompt is the only brake. (Source: Anthropic's agent teams page, Permissions section.)

  1. Switch the setting on and run the bug-hunt prompt on something harmless, such as a small problem in a practice folder.

  2. In the panel below the prompt, use the up and down arrows to pick a teammate. Press Enter to read what it is doing and type to message it. Press x to stop it.

  3. Check that FINDINGS.md exists and that no other file changed.

  4. Switch the setting off again.

Where was this tested? The settings lines and the limits were checked against Anthropic's agent teams page on 8 November 2026, and the settings snippets are valid JSON. The three prompts were not run in a live Claude Code session, so edit the wording if a team does not form as you expect. A prompt is a request, not a lock: check that "research only" was followed.

Common mistakes

  1. Leaving teams switched on. Claude can then start a team you did not ask for. Set the value to "0" when you are done.

  2. Using a council for routine tasks. It costs far more than one session.

  3. Starting with ten teammates. Begin with three to five.

  4. Trusting the winner without checking. The theory left standing is the one to check first, not a proven answer.

  5. Expecting split panes on Windows. Anthropic's docs say split panes are not supported in VS Code's terminal, Windows Terminal or Ghostty. The default in-process mode works anywhere.

Is this the same as subagents?

Not quite. Subagents mainly report their result back to whoever started them. In an agent team, teammates message each other directly and share a task list.

Is it safe to leave on?

It is experimental and can start a team without being asked, which uses much more of your plan. Switch it off when you are not using it.

What can go wrong?

Anthropic lists limits: resuming a session does not bring back in-process teammates, task status can lag, and each session can run one team.

Do I need to code?

No. You edit one line in a settings file, or let Claude do it after you say yes.

Finish line

What to do next

  1. Switch teams on and run the bug-hunt prompt on a low-stakes problem.

  2. Read FINDINGS.md and check the surviving theory yourself.

  3. Switch teams off.

Back to all the free guides. Two that pair well with this one: prove your idea wrong before you build it and have a fresh Claude review Claude's work.

You reached the end of the guide