Blogs/AI

How To Run Multiple Agents In Claude?

Written byKrishna Purwar
Jul 15, 2026
4 Min Read
How To Run Multiple Agents In Claude? Hero
Too Long? Read This First
- Claude Code supports both subagents and agent teams for dividing work across specialised AI workers.
- Subagents use separate context windows and return their findings to the main conversation.
- Agent teams go further by giving each teammate an independent Claude Code session, a shared task list, and direct inter-agent messaging.
- Agent teams are currently experimental and must be enabled before use.
- Parallel agents work best when tasks are independent, such as separate frontend, backend, testing, and security reviews.
- Avoid assigning multiple agents to edit the same file, as their changes can overwrite one another.
- Running several agents also increases token usage and coordination overhead, so it is unnecessary for small or sequential tasks.

Claude Code can divide suitable development tasks across specialised agents instead of handling every concern within one conversation. In my testing, this was particularly useful when research, implementation, testing, and review could be separated into independent workstreams.

Here’s how this changes the way AI fits into real development workflows.

The Bottleneck: The Problem with Single-Context AI

Traditional AI coding sessions often feel like a juggling act. I’ve experienced this firsthand when debugging issues, tuning performance, reviewing security concerns, and designing features inside a single conversation thread. This "Single-Context" approach creates distinct challenges:

The Bottleneck of single context AI coding session Infographic
  • Context Overload: The AI struggles to maintain focus when it is forced to juggle multiple concerns at once.
  • Sequential Bottlenecks: Tasks that should run in parallel are pushed into a linear workflow.
  • Reduced Clarity: Constant switching between debugging, design, and review weakens reasoning quality.

The Solution: The /agents Command

Claude Code provides two related ways to divide work: subagents and agent teams. Subagents handle focused tasks in separate context windows and report their results to the main session.

Agent teams are better suited to longer parallel workflows where independent teammates need to communicate and coordinate work.

Think of it as spinning up different members of a software team, each with their own deep expertise:

  • Debugger Agents: Focus exclusively on identifying and fixing errors.
  • Security Agents: Review code specifically for vulnerabilities.
  • Frontend Agents: Specialize in UI/UX implementation.
  • Backend Agents: Handle server-side logic and database operations.

How It Works Under the Hood

Each agent operates within its own isolated context, which I’ve found enables deeper reasoning and real parallel problem-solving without context leakage.

When you assign a project, like a refactor, Claude can automatically generate collaborative agents. For example, one handles the backend, another manages the frontend, and a third acts as a code reviewer.

Running Multiple AI Agent Teams in Claude
Learn how to orchestrate multiple AI agents in Claude to run engineering tasks in parallel, reduce bottlenecks and improve code quality in real workflows.
Murtuza Kutub
Murtuza Kutub
Co-Founder, F22 Labs

Walk away with actionable insights on AI adoption.

Limited seats available!

Calendar
Saturday, 15 Aug 2026
10PM IST (60 mins)

In an agent team, teammates can communicate directly and coordinate through a shared task list. However, the work still needs clear boundaries. Assigning multiple teammates to edit the same file can cause changes to be overwritten, so each agent should ideally own a separate module or set of files.

A Real-World Scenario

When I’m building something like an authentication feature, I no longer approach it sequentially. Instead, I orchestrate a parallel workflow.

  1. Spin up a Backend Agent to implement the auth logic.
  2. Launch a Security Agent to review that implementation for vulnerabilities.
  3. Have a Frontend Agent build the login UI in parallel.
  4. Deploy a Testing Agent to validate the full flow.

All four AI code editors work concurrently, dramatically reducing development time while maintaining high quality. Because the Security Agent isn't distracted by feature requests, it maintains an unwavering focus on vulnerabilities, producing more thoughtful results.

Quick Start Guide: Deploying Your Team

Ready to try it? Here is the step-by-step workflow.

1. Initialize the Interface

Open Claude Code and simply type the command:

/agents

2. Create Specialized Agents

In the interface, you can create new agents based on your needs (e.g., "frontend-ui-revamp" or "structured-logger").

  • Configuration: You can select specific tools, configure memory (Project scope is common), and choose the model (e.g., Sonnet, Opus, or Haiku).
  • Description: Be comprehensive. For example, instruct a frontend agent to use available design skills to make an extension look novel.

Similarly, I created another agent:

3. Run in Parallel

Once your agents are defined, assign a broad task, such as "Revamp the UI and logging in the extension".

Running Multiple AI Agent Teams in Claude
Learn how to orchestrate multiple AI agents in Claude to run engineering tasks in parallel, reduce bottlenecks and improve code quality in real workflows.
Murtuza Kutub
Murtuza Kutub
Co-Founder, F22 Labs

Walk away with actionable insights on AI adoption.

Limited seats available!

Calendar
Saturday, 15 Aug 2026
10PM IST (60 mins)

Launch: Claude will launch relevant agents in parallel (e.g., one for UI, one for logging).

Monitor: You will see the agents running in the background. You can expand their views and manage them using the Shift+Up arrow keys.

Completion: When finished, you receive a full summary of what was shipped, notifying you exactly when tasks like "Revamp extension UI/UX" are complete.

Conclusion

From my experience, multiple agents are most useful when a development task can be divided into independent areas such as research, implementation, testing, and review. They help keep each workstream focused, but they do not remove the need for clear requirements, human oversight, and final verification.

For smaller changes or tasks with tightly connected steps, one Claude Code session may still be the simpler and more efficient option.

Author-Krishna Purwar
Krishna Purwar
LinkedIn

You can find me exploring niche topics, learning quirky things and enjoying 0 n 1s until qbits are not here-

Share this article

Phone

Next for you

What Is Voice Cloning? How It Works, Uses, and Risks Cover

AI

Aug 3, 20268 min read

What Is Voice Cloning? How It Works, Uses, and Risks

Too Long? Read This First - Voice cloning creates synthetic speech that resembles a specific person. - Some systems can produce a basic clone from a short recording, while higher-quality models may require longer and more varied audio. - Voice cloning differs from ordinary text-to-speech because it attempts to preserve the identity and speaking characteristics of a particular speaker. - Common applications include narration, voice bots, games, accessibility, localisation, and personalised assist

How AI Agents Communicate: Functions, MCP, ACP and A2A Cover

AI

Aug 3, 20266 min read

How AI Agents Communicate: Functions, MCP, ACP and A2A

AI agents communicate with functions, external tools, development clients, and other agents. Although these interactions may look similar, each requires a different mechanism. Function calling connects a model with functions defined inside an application, while MCP standardises how AI applications access external tools and data. Agent Client Protocol connects coding agents with editors and other development clients. A2A enables independent agents to communicate across systems. The term ACP can

OpenAI Privacy Filter: How to Detect and Redact PII Before Sending Data to LLMs Cover

AI

Aug 3, 202613 min read

OpenAI Privacy Filter: How to Detect and Redact PII Before Sending Data to LLMs

Too Long? Read This First - OpenAI Privacy Filter detects and masks PII and secrets before the content is sent to an LLM or another external system. - The model can run locally, allowing unredacted information to remain within the organization’s environment. - It uses context to detect private names, addresses, emails, phone numbers, dates, URLs, account numbers, and secrets. - The released model has 1.5 billion total parameters, with 50 million active parameters, and supports up to 128,000 tok