Claude Code Agent Teams: How to Install, Build & Run Multiple AI Agents in Parallel
If you’ve spent any time working with Claude Code on a real project, you’ve probably hit the wall. One long conversation that starts off clean and confident slowly loses its grip. The context window fills up, the AI starts forgetting earlier decisions, and suddenly you’re spending more time managing the chat than actually building. Sound familiar?
Want to go deeper? I run a live Claude Code workshop — check the latest dates and see if you can still grab a seat.
The fix isn’t to start over with a better prompt. The fix is agent teams — and in this tutorial, we’re going to walk you through exactly how to install, build, and run multiple Claude Code agents in parallel, all working on your project at the same time inside VS Code.
This is a full breakdown of the Claude Code Agent Teams tutorial video. By the end, you’ll know how to install global agents from Claude Templates, create your own custom agents from scratch, deploy sub agents on real projects, and spin up a full agent team with live parallel execution.
Watch the full tutorial here:
Why One Long Claude Code Chat Eventually Breaks Down
Here’s the honest truth about using Claude Code in a single long conversation: it degrades. Not because Claude isn’t powerful — it absolutely is — but because language models have context limits. The longer your chat runs, the more the model has to compress, summarize, or drop earlier context just to keep up with the current conversation.
For small tasks and quick scripts, a single chat is fine. But when you’re building a real application — one with multiple files, different responsibilities, frontend and backend concerns, documentation, and ongoing revisions — a single chat thread is the wrong tool for the job.
Agent teams solve this by dividing work across multiple specialized agents, each maintaining its own focused context window. Rather than one agent trying to hold everything in memory, you have dedicated agents handling exactly what they’re built for. The result is faster execution, cleaner code, and a workflow that doesn’t collapse under its own weight.
Understanding the Agent Hierarchy: Global Agents, Sub Agents & Agent Teams
Before diving into setup, it’s worth understanding the three-tier structure you’re working with:
Global Agents are pre-built or custom agents that you install system-wide — available across every project, not locked to a single repository. Think of these as your reusable specialists. A front-end developer agent, a documentation writer, a copywriting agent — these live globally and can be deployed whenever you need them.
Sub Agents are agents you deploy within a specific project to handle a defined task. When you launch a sub agent, Claude Code spins it up, gives it a scoped instruction, and lets it execute independently. You’re not babysitting it — it just runs.
Agent Teams are the full parallel execution model. Multiple agents working simultaneously on the same project, with each agent aware of its role and boundaries. This is where Claude Code shifts from “helpful AI assistant” to “full dev team running in your terminal.”
Where to Find Pre-Built Agents: Claude Templates
You don’t have to build every agent from scratch. Anthropic maintains a public repository of community and official agent templates — pre-configured agents designed for specific roles like front-end development, documentation, testing, and more.
You can browse these templates directly and pull the ones that fit your workflow. The key thing to understand is that installing an agent means adding configuration files to your system — either scoped to a single project or installed globally. That distinction matters, and we’ll get into it shortly.
Security-Checking Agent Code Before You Install Anything
This is something most tutorials skip, but it’s critical: always review agent code before installing it. When you install an agent from any external source — even an official-looking template — you’re adding instructions that Claude Code will follow. Those instructions could, in theory, include prompts that manipulate Claude’s behavior in ways you didn’t intend.
The workflow here is straightforward. Before running any install command, open the agent file, read through the system prompt and any tool configurations, and confirm you understand what it’s telling Claude to do. It takes 60 seconds and protects you from blindly adding code to your system.
Installing the Front-End Developer Agent Globally
Once you’ve reviewed the agent code, installing it globally is a simple command. The Front-End Developer agent is a great starting point — it’s pre-configured with expertise in HTML, CSS, JavaScript, component structure, and responsive design patterns.
The install process places the agent configuration in your global Claude Code agents directory, making it available system-wide. After installation, you can invoke it from any project without repeating the setup.
Global vs. Project Agent Scope: What’s the Difference?
This is where a lot of people get confused. When you install an agent, it can be scoped two ways:
- Project scope: The agent lives inside your project’s
.claudefolder and is only available when working in that repository. - Global scope: The agent lives in your home directory’s Claude config and is available across every project on your machine.
For agents you’ll use repeatedly across different projects — like a documentation writer or a front-end specialist — global scope is the right call. For agents built specifically for one codebase or client, project scope keeps things clean and contained.
After installation, always confirm the file ended up in the right place. It’s a common gotcha — the agent installs but lands in the wrong directory, and then you wonder why it isn’t showing up.
Installing the Documentation Expert Agent
The Documentation Expert agent is a strong addition to any global setup. Technical documentation is one of those tasks that developers universally procrastinate — it’s not glamorous, but it matters for onboarding, collaboration, and long-term maintainability.
With a global documentation agent, you can point it at any function, module, or codebase and get clean, professional documentation generated automatically. Install it the same way as the Front-End Developer agent, confirm the file placement, and it’s ready to go.
Fixing File Placement & Making Agents Truly Global
Here’s a practical note that comes up often: after installation, verify where the agent file actually landed. Sometimes the install command defaults to project scope even when you intended global. If that happens, it’s an easy fix — move the file to the correct global agents directory and you’re done. Building the habit of confirming placement saves debugging time later.
Creating Your Own Custom Agent from Scratch
Pre-built agents are convenient, but the real power comes from building agents tailored to your specific workflow. Claude Code includes an agent creator that guides you through defining the agent’s role, capabilities, and behavior.
The process looks like this:
- Open Claude Code and invoke the agent creator
- Define the agent’s name and primary role
- Describe its responsibilities, expertise, and any constraints on its behavior
- Specify which tools it can use (file reading, web search, code execution, etc.)
- Review the generated configuration and refine as needed
- Save and confirm the agent is available
The agent creator essentially scaffolds a well-structured system prompt for you, organized in the format Claude Code expects. You can always edit the raw file afterward if you want to fine-tune specific instructions.
Feeding Claude Your Personal Style to Personalize the Agent
One of the most powerful customizations you can make is giving your agent a voice. For a copywriting agent, that means feeding Claude examples of your existing writing — blog posts, email copy, social content, whatever captures your tone — and instructing the agent to match that style when generating content.
This is the difference between a generic AI writing tool and an agent that actually sounds like you. Paste in a few hundred words of your best content, tell the agent “write in this voice,” and save that into the system prompt. The output quality jumps significantly.
Saving & Launching Your Custom Copywriting Agent
Once the agent is configured and saved, launching it is instant. You call the agent by name, give it a task, and it executes. For a copywriting agent, that might be: “Write a 500-word introduction for a blog post about GoHighLevel automation workflows.” The agent runs with your style baked in and returns a draft that actually needs editing instead of a complete rewrite.
What Is a Sub Agent and How Does It Work?
A sub agent is any agent you deploy from within an existing Claude Code session to handle a specific, delegated task. The parent session — whether that’s you running the main Claude Code chat or an orchestrating agent — spins up the sub agent, hands it a scoped instruction, and the sub agent executes autonomously.
Think of it like delegation in a real team. You don’t code the entire feature yourself — you spec out what needs to happen and assign it to the right person. Sub agents work the same way. You define the task boundaries, launch the agent, and it handles execution while you (or the orchestrating agent) move on to the next item.
Deploying a Sub Agent on a Real Project (Live Demo)
The live demo in the video walks through a real-world deployment — taking an actual codebase and spinning up a sub agent to handle a specific task within it. Watching this in action makes the concept click in a way that abstract explanations don’t.
The key insight from the demo: sub agents don’t need full context of the entire project. They need enough context to complete their specific task. That’s what keeps their execution focused and their context window clean.
Sub Agents vs. Agent Teams: Cost, Speed & Communication
Before you default to using agent teams for everything, it’s worth understanding the tradeoffs:
Sub agents are sequential by default — one agent completes before another starts. They’re lower cost because you’re running one model call at a time, and they’re easier to debug because the execution path is linear.
Agent teams run in parallel. Multiple agents execute simultaneously, which means faster completion for complex tasks but also higher token consumption. Each agent maintains its own context, which reduces degradation, but coordination between agents requires careful design.
The communication model also differs. In an agent team setup, agents can be aware of each other’s work through shared files or structured handoff points. Getting this coordination right is the difference between a team that ships fast and a team that creates conflicting outputs.
The practical rule: use a sub agent when the task is sequential and well-defined. Use an agent team when multiple workstreams can legitimately happen at the same time and the speed gain justifies the added cost.
Enabling the Experimental Agent Teams Feature
Agent teams are currently an experimental feature in Claude Code, which means you need to opt in to enable them. The process is a configuration change — not a complex setup, just a flag you set to unlock parallel execution mode.
The “experimental” label is worth taking seriously. This feature works well for many workflows, but it’s still being refined. Test it on a non-critical project first, understand how the coordination model works, and build confidence in the system before deploying it on production-critical code.
Once enabled, the interface for launching an agent team is straightforward: you define the team composition, assign roles and tasks to each agent, and fire it off.
Launching Your First Agent Team (Live Parallel Execution)
The live parallel execution demo is the highlight of the video, and for good reason — seeing multiple agents spin up and work simultaneously on the same project makes the capability feel real in a way that’s hard to describe in text.
The setup involves:
- Defining the overall objective for the team
- Assigning each agent a specific workstream (e.g., one handles frontend components, another handles API integration, another writes tests)
- Launching the team and watching parallel execution begin
- Monitoring progress across agents as they work through their respective tasks
What becomes immediately apparent is that coordination design matters. Agents working on independent files can run in true parallel with no conflict. Agents that need to touch the same file or share outputs need defined handoff points to prevent collisions.
Installing Agent Snitch to Visualize Your Agents in VS Code
Agent Snitch is a VS Code extension that gives you real-time visibility into what your agents are doing. When you’re running multiple agents in parallel, it can be genuinely difficult to track what’s happening — which agent is active, what it’s working on, where it is in the task sequence.
Agent Snitch solves this with a visual interface directly in VS Code. You can see each agent’s current status, the tasks it’s executing, and when it completes. It turns the agent team from an invisible background process into something you can actually watch and manage.
Installation is straightforward — find it in the VS Code extension marketplace, install it, and it automatically integrates with Claude Code’s agent output. Once it’s running alongside a live agent team, you’ll wonder how you worked without it.
Watching the Full Agent Team Work in Real Time
With Agent Snitch active, the final demo shows the complete picture: multiple agents running simultaneously, each making progress on their assigned workstream, with status updates appearing in real time in the VS Code sidebar. This is what a modern AI-assisted development workflow actually looks like in production — not one chat, not one agent, but a coordinated team executing in parallel.
Recap: What You’ve Built and What’s Coming Next
By following this tutorial, you’ve covered the full agent workflow in Claude Code:
- Why single-chat workflows break down on complex projects
- How to find and securely install pre-built agents from Claude Templates
- The difference between global and project-scoped agents
- How to create a fully custom agent using Claude’s agent creator
- Personalizing agents with your own writing style and preferences
- What sub agents are and how to deploy them on real projects
- The cost, speed, and communication tradeoffs between sub agents and agent teams
- How to enable and launch the experimental agent teams feature
- Using Agent Snitch to visualize parallel agent execution in VS Code
The next step in this series covers commands and hooks — the mechanisms that let you automate triggers and build even more sophisticated agent behaviors. If you want to go deeper on Claude Code, that’s where the workflow gets seriously powerful.
Frequently Asked Questions About Claude Code Agent Teams
What is the difference between a sub agent and an agent team in Claude Code?
A sub agent is a single delegated agent that handles one specific task within your project — it runs sequentially, meaning it completes before the next agent starts. An agent team is a group of agents running in parallel simultaneously, each handling a different workstream at the same time. Sub agents are lower cost and easier to debug; agent teams are faster for complex projects with multiple independent tasks but consume more tokens and require careful coordination design.
Do I need to pay extra to use Claude Code agent teams?
Agent teams use the same Claude API pricing, but because multiple agents run simultaneously, your token consumption increases proportionally. Each agent has its own context and makes its own API calls, so a 3-agent team running in parallel will roughly use 3x the tokens compared to a single sequential session of the same scope. The tradeoff is speed — tasks that would take 3 hours sequentially can complete in a fraction of the time. Plan your usage accordingly based on project complexity and budget.
Is the agent teams feature stable enough to use on production projects?
Agent teams are currently labeled as experimental in Claude Code, which means the feature is functional but still being refined. It works well for many workflows, but Anthropic recommends testing it on non-critical or staging projects first before deploying it on production codebases. Get comfortable with how agent coordination and handoffs work in your specific setup before trusting it with mission-critical work.
What is Agent Snitch and do I need it to run agent teams?
Agent Snitch is a free VS Code extension that gives you a real-time visual dashboard of your active Claude Code agents — showing which agents are running, what they’re working on, and when they complete. It’s not required to run agent teams, but it makes monitoring parallel execution significantly easier. Without it, you’re essentially watching terminal output. With it, you get a structured sidebar view of your entire agent team’s progress. Highly recommended once you move beyond single-agent workflows.
How do I make a Claude Code agent available across all my projects, not just one?
The key is where the agent configuration file is saved. When you install an agent with project scope, the file lives inside your project’s .claude/agents/ folder and is only accessible from that repository. To make an agent globally available, the configuration file needs to be placed in your home directory’s Claude config folder — typically ~/.claude/agents/. After installation, always verify the file landed in the correct location. If it defaulted to project scope when you wanted global, simply move the file to the global directory and it will be available across every project on your machine.
Can I create a Claude Code agent with my own writing style built in?
Yes — and this is one of the most practical customizations you can make. When creating a custom agent (like a copywriting agent), paste examples of your existing content directly into the agent’s system prompt and instruct it to match that voice and tone when generating output. The agent will use those examples as a style reference for every task it runs. This is the difference between getting generic AI output and getting drafts that actually sound like you and require real editing rather than a complete rewrite.
Ready to Go Deeper?
If you want hands-on training with Claude Code, agent teams, GoHighLevel, and the full AI automation stack, the Claude Code Workshop is the next step. It’s a live, structured environment where you build alongside instructors instead of just watching.
And if you’re using GoHighLevel as part of your tech stack — for client CRMs, automation workflows, or SaaS builds — our GoHighLevel Masterclass covers the platform from setup through advanced automation with plug-and-play templates designed to get you moving fast.
The future of software development isn’t one developer and one chat window. It’s a coordinated team of AI agents, each doing exactly what they’re built for, while you stay focused on the strategy and decisions that actually require human judgment. Claude Code agent teams are how you get there.












