The argument in one line.
Claude agent teams let multiple specialized models communicate directly with each other to solve complex tasks sequentially, unlike sub-agents which work in parallel without talking to each other, and require careful token budgeting to avoid excessive costs.
Read if. Skip if.
- You're a developer building production systems in Claude Code who needs multiple specialized agents to work sequentially on complex tasks and wants visibility into agent communication.
- An engineer evaluating whether agent teams or sub-agents fit your workflow and needs concrete guidance on when sequential coordination beats parallel execution.
- A technical founder prototyping a multi-agent application who wants to monitor token consumption and audit agent decisions in real time across sessions.
- You're non-technical or uncomfortable enabling feature flags and editing configuration files — the setup requires command-line work that Warp shortcuts only partially simplify.
- You need agent teams for simple, one-off tasks — the speaker explicitly warns this feature burns tokens aggressively and should only be used for recurring, genuinely complex workflows.
- You're still learning Claude Code basics or haven't built with sub-agents yet — this assumes familiarity with Claude's agentic features and focuses on the newer teams architecture.
The full version, fast.
Claude Code's experimental agent teams let a single Opus 4.6 team lead spawn three to six specialist teammates that share a task board and message each other through JSON inboxes, so a frontend agent can actually negotiate a contract with the backend agent instead of working in isolation like sub-agents do. The mechanism hinges on enabling a feature flag, assigning Opus to the lead and lighter models like Sonnet or Haiku to teammates, and invoking the team with explicit phrasing such as create an agent team to do X. Reserve teams for cross-layer builds, parallel code review, multi-hypothesis debugging, and research committees where agents must talk; stick with sub-agents for parallel exploration, file ops, and admin work, since teams burn 100k to 300k tokens fast and the lead sometimes codes instead of delegating.
Chat with this breakdown — free.
Sign in and you get 23 free chat messages on us — ask for the hook, quote a framework, find the exact transcript moment, generate a markdown action plan. Bring your own key when you want unlimited.
Create a free account →Where the time goes.

01 · Live dashboard demo
Shows the custom localhost surveillance UI: team lead + designer + developer Kanban board, real-time message streaming, history tab.

02 · Token cost warning
Do not use teams frivolously. Only for complex recurring tasks. Token burn is the main risk.

03 · Setup: enabling the feature flag
Set CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 in ~/.claude/settings.json. Cheat code: paste Anthropic docs into Claude/Warp and let it configure everything.

04 · Verifying access
Ask Claude do you know how to spin up agent teams? If it lists TeamCreate, TaskUpdate, SendMessage, TeamDelete tools, you are configured correctly.

05 · Model selection
Opus 4.6 for team lead, Sonnet 4.5 for teammates. Rule: create a team, use Sonnet for each teammate.

06 · Writing the invocation prompt
Magic words: create an agent team to review PR 142, spawn three reviewers. Define roles explicitly.

07 · How teams work: architecture
Team lead breaks down work, spawns teammates (each a full separate Claude Code session with its own context window), coordinates via shared task board.

08 · The messaging system
Agents DM each other directly via inbox JSONs. Frontend agent notifies backend; both report up to team lead. Full lifecycle: 80K tokens for a one-shot web page.

09 · Display modes
In-process mode (default, all in one terminal) vs. split-pane mode (each agent in its own TMux pane). Custom dashboard is the third option.

10 · Sub-agents vs. agent teams
Sub-agents = hub-and-spoke (report to you, never talk to each other). Agent teams = mesh (peer DMs, shared task board, can challenge each other).

11 · Four use cases for agent teams
Parallel code review (stuck-at-85% projects), cross-layer features (frontend/backend/database), debugging hypotheses (competing theories), research committees.

12 · Applied: building auth with three agents
UI agent scaffolds login page, API agent creates endpoint, database agent creates users table. Chain completes to a working auth system.

13 · The decision flowchart
Do agents need to talk to each other? If no, use sub-agents. If yes, is the task complex enough? If yes, use agent teams.

14 · Gotchas and pro tips
Token cost 100K-300K per run. Agents can overwrite the same file. No session resume. Lead sometimes codes instead of delegating. Use Delegate Mode, require plan approval, aim 5-6 tasks per teammate.

15 · File storage map and messaging protocol
~/.claude/teams/<name>/config.json (who is on the team), inboxes/<agent>.json, tasks.json. Protocol types: task_assignment, task_completed, shutdown_request, plan_approval_request.

16 · The surveillance skill demo
Dashboard is a Claude Code skill: say surveil my agents and it spins up localhost:3847 with live + history tabs, Kanban board, inbox threads, SQLite persistence.
Lines worth screenshotting.
- Agent teams in Claude Code differ from sub-agents in that team members can message each other mid-task — sub-agents work in parallel isolation and only report results at the end.
- The team lead (Opus) manages direction and approval; teammates (Sonnet or Haiku) execute their assigned domains and report upward — model selection per role saves significant token cost.
- Enabling agent teams requires adding a feature flag to the Claude settings JSON file — the feature is experimental and off by default.
- A surveillance dashboard built on top of the agent team task board and inbox gives real-time visibility into which agent is working on what and what decisions they are making.
- Agent teams persist until the goal is completed — unlike sub-agents that spin up and die per task, team agents stay alive and maintain their context across the full project lifecycle.
- The front-end and back-end agents in a team can negotiate the API contract between them mid-build — this prevents the interface mismatch that happens when sub-agents build their sides independently.
- Agent teams consume tokens at a dramatically higher rate than single-agent sessions — they should only be deployed for genuinely complex multi-domain tasks that require inter-agent communication.
- Using agent teams frivolously (because they look cool) rather than because the task requires sequential interdependency is the fastest way to burn through your token budget.
- The shared task board and inbox architecture means every agent message is auditable — you can review the discourse between agents just like reading a Telegram conversation thread.
- Invoking agent teams requires specific semantic phrasing (e.g., 'create an agent team to...') — Claude must recognize the intent as a team spawn, not as a sub-agent delegation.
- A custom localhost surveillance dashboard built on top of the agent team infrastructure provides the observability that the built-in terminal view lacks at scale.
- The history tab in the surveillance dashboard lets you audit prior agent team sessions and trace why a particular decision was made during the build.
Steal the surveillance skill.
The real unlock here is not the agent teams feature itself — it is the idea of building a Claude Code skill that makes your agent fleet legible in real time.
- The decision flowchart (talk to each other? complex enough?) is a ready-made prompt template — steal it verbatim.
- Model allocation rule is concrete and actionable: Opus for the lead, Sonnet for every teammate. Use this in any agent prompt you write.
- The surveillance skill pattern (keyword phrase -> localhost dashboard always on the same port) is directly applicable to JoeFlow Sessions panel.
- The gotchas section (overwrite conflicts, no session resume, lead coding instead of delegating) is a standalone short-form video waiting to happen.
- Mark's two-tier CTA (free diagrams + prompt in description, paid skill behind community paywall) is a clean offer architecture worth borrowing.
Terms worth knowing.
- Agent team
- A Claude Code feature where a team lead agent spawns and coordinates multiple specialized teammate agents that can message each other and share a task board, persisting until the goal is complete.
- Sub-agent
- A short-lived helper agent spawned to handle a specific task in parallel, reporting results back to the main session but unable to communicate directly with other sub-agents.
- Feature flag
- A configuration toggle that turns an experimental or optional capability on or off, often set in a settings file before the feature becomes usable.
- Claude Code
- Anthropic's terminal-based coding assistant that runs Claude inside a developer's command line and can read, write, and execute code across a project.
- Opus 4.6
- A high-capability Claude model release designed for complex reasoning and orchestration tasks, typically assigned to the team lead role because of its higher cost and stronger planning ability.
- Sonnet 4.5
- A mid-tier Claude model balancing capability and cost, often used for individual teammate agents executing focused tasks within a larger orchestration.
- Haiku
- Anthropic's smallest and cheapest Claude model, suited for high-volume, low-complexity tasks where token cost matters more than reasoning depth.
- Warp
- An AI-powered terminal application that can interpret natural-language instructions and execute shell commands, configuration edits, and file operations on the user's behalf.
- settings.json
- Claude Code's configuration file where feature flags, permissions, environment variables, and hooks are declared to customize how the CLI behaves.
- Token
- The unit of text that language models read and generate; API and subscription usage is metered in tokens, so more agents and longer context windows mean higher cost.
- Context window
- The total amount of text a model can hold in working memory during one session; once full, earlier content must be compacted or dropped.
- Compact
- The act of summarizing earlier parts of a conversation to free up space in the context window so the session can continue without hitting the token limit.
- YOLO mode
- Slang for running an agent with permission prompts disabled so it executes file edits, shell commands, and other actions without pausing to ask for approval.
- Bypass permissions mode
- A Claude Code setting that skips per-action confirmation prompts, letting the agent run its plan straight through; faster but riskier.
- Skill
- A reusable, on-demand instruction bundle in Claude Code that loads automatically when a matching phrase is detected, giving the agent specific procedures and references.
- tmux
- A terminal multiplexer that splits one shell window into multiple panes, letting users watch several running processes side by side in the same terminal.
- Vibe Kanban
- An open-source task board tool that auto-arranges tasks across columns like to-do, in-progress, and done for AI coding workflows.
- Kanban board
- A visual workflow tool that tracks tasks as cards moving across columns representing stages such as pending, in progress, and completed.
- Inbox messaging
- A communication pattern where each agent has a dedicated message file or queue that other agents write to, allowing asynchronous back-and-forth without shared chat.
- Shared task board
- A central list of tasks visible to every agent on a team, where work items can be claimed, updated, and marked complete to coordinate effort.
Things they pointed at.
Lines you could clip.
“Unlike before with sub agents, they worked in parallel, basically would give you the TLDR of the result at the very end, but there's no interplay in between the different agents.”
“When in doubt, start with subagents. Upgrade to teams when you hit communication walls.”
“You could spend anywhere between 100 to 300,000 tokens just spinning up and executing an agent team.”
“It's literally like having a possible committee go through and vote on what the problem is to get to the bottom of it.”
“The team lead could end up coding instead of delegating. Now you could see it stepping on the toes of its subemployees.”
Word for word.
Don't just watch it. Burn it in.
See every word as it's spoken — crank it to 2× and still catch all of it. The same dual-channel trick behind Amazon's Kindle + Audible.
The bait, then the rug-pull.
Before Mark Kashef says a word, you are looking at something most Claude Code users have never seen: a real-time dashboard showing a team lead delegating to a designer and a developer, messages streaming in, a Kanban board updating live. Instead of just looking at JSON files or markdown files, he says, I built a system to give me full surveillance. That dashboard is the promise of the entire video.
Named ideas worth stealing.
The Decision Flowchart
- Do agents need to talk to each other?
- If no: use sub-agents
- If yes: is the task complex enough to justify token overhead?
- If no: use sub-agents
- If yes: use agent teams
Two-question decision tree for choosing between sub-agents and agent teams. Default to sub-agents; upgrade to teams when communication between agents is the bottleneck.
Hub & Spoke vs Mesh
Sub-agents form a hub-and-spoke network (you are the hub). Agent teams form a mesh network where any agent can message any other, enabling competing hypotheses and cross-layer contracts.
Model Allocation Rule
- Team lead: Opus 4.6 (highest complexity, manages others)
- Teammates: Sonnet 4.5 (fast, saves tokens)
- Long sessions: Opus 4.6 1M for extended context
Assign most capable model to the lead; use cheaper/faster models for workers. Same logic as hiring: senior lead, junior executors.
Agent Surveillance Skill
A Claude Code skill that spins up a localhost dashboard (always port 3847) showing live agent activity via SQLite-backed streaming of inbox JSONs and task boards.
How they asked for the click.
“If you want access to all the diagrams along with a prompt you can use to start your journey of creating your own skill for your own agent dashboard, check the second link in the description. If you want access to my skill itself, that is in my exclusive early AI adopters community.”
Two-tier offer: free diagrams + prompt in description, paid skill behind community paywall. Clean and non-pushy.











































































