Tools

Claude Code subagents: building a team of AI agents without coding

What a subagent is, how to build one without coding, and when a single agent does better. Checked in November 2026.

Louis Graffeuil
Founder Tandem
Published
6 minread
Tandem card titled Claude Code subagents, building a team of AI agents

Claude Code subagents are specialised assistants that Claude starts to hand over part of the work. Each one has its own context window, its own tools and its own instructions. It works in parallel with the others, then sends a summary back to the main conversation. For a business team, this is what turns a chatbot that answers into a small team that delivers a file.

I summed it up in my LinkedIn carousel in November 2026. Most people use Claude as a chatbot, when they could have a team of agents working in a folder on their computer. This guide explains how it works, how to build a first subagent without coding, and when you are better off without one.

What is a Claude Code subagent?

A Claude Code subagent is an instance of Claude started by the main agent for a precise task. It starts with a blank context. It does not see your conversation, only the brief the main agent passes on. It reads, searches or drafts on its side, then returns a condensed result.

In practice, a subagent fits in a plain Markdown text file. The header gives a name and a description, the two required fields. The rest of the file describes the role, like a job description. Project files go in the .claude/agents folder, and those you use everywhere go in the personal ~/.claude/agents folder.

The official subagents documentation also lists optional settings. The most useful ones outside software are the allowed tools, the model to use and the maximum number of steps.

Why delegate to subagents instead of one conversation

The first reason is context. A conversation that reads twenty web pages and three PDFs fills up fast, and Claude ends up skimming. A subagent absorbs that reading in its own window and only returns what matters. The main conversation keeps room to reason.

The second reason is parallelism. By default, Claude Code can run up to twenty subagents at the same time. Research on six competitors splits into two batches, while a third agent checks the figures.

Anthropic measured the effect on its own research tool. In a write-up published in June 2025, the vendor tested a Claude Opus 4 lead agent working with Claude Sonnet 4 subagents. That setup beat a single Opus 4 agent by 90.2% on its internal evaluation. The same text gives the price of that gain. A multi-agent system uses about 15 times more tokens than a plain chat.

Diagram of a Claude Code main agent delegating three tasks to three subagents, each with a fresh context, then assembling a deliverable
Each subagent reads what it needs and sends back only a summary. The main conversation stays readable to the end.

The built-in subagents Claude Code starts on its own

Claude Code already ships with several subagents, and it uses them without being asked. You have probably met them for months without noticing.

  • Explore browses a folder in read-only mode. It searches and summarises without changing anything.
  • Plan works in plan mode. It explores before Claude proposes a plan, and it is not allowed to write.
  • General-purpose takes multi-step tasks that need searching first and acting next.

These three cover everyday research. The subagents you create yourself serve another purpose. They carry your way of working on a task that comes back every week.

Building your first subagent in four steps

Creating a subagent takes no code at all. The simplest method is to ask Claude for it and describe the role you want.

  1. Pick a repetitive task. Competitive monitoring, reviewing a standard contract or summarising the week's meeting notes are good candidates.
  2. Write the description carefully. Claude decides to delegate by reading that line. A vague description gives a subagent that never fires.
  3. Restrict the tools. A reviewer only needs to read. Removing write access stops it from editing a document for you.
  4. Choose the model. Haiku is enough to sort or search, and costs less. Keep Opus for long reasoning.

The subagent also reads the project's CLAUDE.md file, where you describe your business, your tone and your rules. That file makes the quality difference, far more than the prompt of the day. The Claude Code guide for non-developers shows how to write it.

Slide from my LinkedIn carousel titled From a chat to a team, showing a Claude Code window where three agents prepare a benchmark of six competitors as an Excel table
Two agents collect, a third one cross-checks the figures. The Excel file lands in the deliverables folder without any copy and paste.

The Claude skills guide shows how to write those procedures. In my Optimia newsletter in May 2026, I was already comparing them to internal procedures shared with the model.

Three subagent teams that are useful outside code

The documentation examples mostly talk about code review. The uses that matter for a small or mid-sized company sit elsewhere.

Competitive benchmark

Two subagents collect the websites, offers and prices of three competitors each. A third cross-checks the sources and flags figures without proof. The main agent assembles the Excel table in the deliverables folder.

Preparing a client meeting

One subagent reads the email and CRM history, another searches the company's news, a third rereads the last commercial proposal. The briefing note fits on one page.

Reviewing a long document

One subagent checks the figures, a second the legal consistency, a third the tone. Each reviews with a single angle in mind. A single reviewer tends to see one type of issue at a time.

Subagents or an agent team, what is the difference?

Claude Code also offers agent teams, a heavier feature. Subagents report to the main agent and do not talk to each other, with few exceptions. In an agent team, each teammate is a full Claude Code session. Teammates share a task list and message each other directly.

As of November 2026, agent teams remain experimental and disabled by default. The documentation recommends starting with three to five teammates, and warns that token cost grows with each one. For a business team, subagents cover most needs.

Table comparing a single agent, subagents and a Claude Code agent team on coordination, context, exchanges, token cost, status and use
Subagents cover most of what a business team needs. Agent teams are still experimental as of November 2026.

When one agent does better than several

Adding agents has a cost, and Anthropic says so itself. In an October 2026 article, the vendor advises companies to fold some subagents back into a single agent. One customer saw a run about twice as fast with a single loop as with its multi-agent setup.

The proposed rule is simple. Keep a subagent when context overflows, when tasks truly run in parallel, or when a single agent gets tangled in its tools. Otherwise, test the single-agent version on about ten reference examples and keep the better one.

Large projects also show the scale of costs. In February 2026, an Anthropic team had sixteen agents write a C compiler in parallel, over nearly 2,000 sessions and two weeks. The API bill came close to 17,000 euros. The project held together thanks to a test suite that judged every contribution.

On subscriptions, these uses burn through quotas quickly. The real cost of Claude Code mostly depends on how often you delegate.

Should you build a team of Claude Code subagents?

Yes, as soon as a task requires reading a lot before producing anything. Research, monitoring, meeting preparation and cross review clearly gain from being split. For a short, sequential task, a single well-briefed agent stays faster and cheaper.

Tandem has worked with more than 50 companies, including PayFit, Doctolib and Santiane, and the order that works is always the same. A good CLAUDE.md first, then two or three skills, then subagents. A team of agents without context takes guesses. With context, it follows your method.

To set this method up in your teams, the Claude Code training starts from your real tasks and leaves you with subagents that run.

Frequently asked questions

Do you need to code to use Claude Code subagents?

No. A subagent is a text file that describes a role, its tools and its model. The simplest way is to ask Claude to create it by describing the task in plain language. Claude Code also starts its built-in subagents on its own, such as Explore for searching a folder. The desktop app is enough, with no terminal or command line.

How many subagents can Claude Code run at the same time?

As of November 2026, the official documentation states twenty concurrent subagents by default, a limit you can change. A subagent can itself start others, up to three levels below the main conversation. In practice, three to five well-scoped subagents are enough for most business tasks, and each one consumes tokens.

Do subagents cost more than a regular conversation?

Yes. Each subagent reads and reasons in its own context window. In June 2025, Anthropic estimated that a multi-agent system uses about 15 times more tokens than a simple chat. The extra cost pays off on research and cross review. For a short task, a single agent stays cheaper.

What is the difference between a subagent and a Claude skill?

A skill is a written procedure Claude loads when the task calls for it, inside the same conversation. A subagent goes off to work in its own context, with its own tools and sometimes another model, then returns a summary. The two often combine, for instance a review subagent that applies the company's editorial style skill.

Read next

All articles →
ToolsClaude Code without coding: illustration of a plain-language request turned into a deliverable

Claude Code without coding: from business need to deliverable

By Louis Graffeuil
ToolsClaude Skills: illustration of a folder of instruction cards read by an AI agent

Claude Skills: the guide to building your own in a company

By Louis Graffeuil
ToolsTandem card titled AI agent platforms, which one to choose for your business

AI agent platforms: which one to choose for your business

By Louis Graffeuil