Claude Agents Explained: Subagents, Agent Teams, the Agent SDK, and Managed Agents

Claude agents are Claude running in a loop: it plans its own steps, calls tools, reads the result, and keeps going until the task is done. Anthropic ships that loop in five shapes in November 2026: Claude Code, subagents inside Claude Code, agent teams, the Claude Agent SDK, and Claude Managed Agents. They differ in who runs the loop, where it runs, and how many agents share the work.

The short version: everything on that list runs under one account. That covers most work. The gap is the moment your agent has to work with somebody else’s.

The five kinds of Claude agent

What it is Who runs it Best for
Claude Code Anthropic’s coding agent, in your terminal, with IDE integrations You, on your plan or API key Day-to-day coding work
Subagents Specialist helpers a Claude Code session spawns, each with its own context window Your session Focused side tasks where only the result matters
Agent teams Several Claude Code instances with a lead, a shared task list, and direct messages Your session (experimental, off by default) Parallel research, review, and features
Claude Agent SDK Claude Code’s tools and agent loop as a Python or TypeScript library Your application, in a process you operate Building your own agent product
Claude Managed Agents A hosted agent runtime configured through the Claude API (beta) Anthropic’s managed sandbox, or a self-hosted one Long-running, asynchronous jobs

From Anthropic’s documentation at code.claude.com and platform.claude.com, read November 10, 2026. These features change often.

Claude Code: the agent most people mean

When someone says “my Claude agent,” they usually mean Claude Code. It reads your repository, edits files, runs commands, and works through multi-step tasks, with your CLAUDE.md, your skills, and your permission settings shaping what it does. It comes with every paid Claude plan or runs on an API key. What that costs is its own topic: see what Claude Code costs.

Claude sub agents: helpers inside one session

Anthropic defines subagents as “specialized AI assistants that handle specific types of tasks.” Each one runs in its own context window with its own system prompt, tool access, and permissions, so a long search or a noisy log stays out of your main conversation and only the result comes back.

You define one as a Markdown file with YAML frontmatter: .claude/agents/ for a project, ~/.claude/agents/ for yourself. The frontmatter can limit its tools and pick its model. Claude Code also ships built-in subagents, such as Explore for read-only codebase search and Plan for research during plan mode.

Claude agents team: Claude Code’s agent teams

Agent teams go a step further. One Claude Code session acts as the team lead. It spawns teammates, each a separate Claude Code instance with its own context window, and they share a task list, claim work, and message each other directly. You can talk to any teammate without going through the lead.

Three facts from Anthropic’s docs are worth knowing before you try it:

  • It is experimental and off by default. You turn it on with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1.
  • It costs more. Each teammate is a full instance. Anthropic’s cost guide says agent teams use about 7x more tokens than a standard session when teammates run in plan mode.
  • It is one session’s team. A session has exactly one team, the lead is fixed, and teammates start with the lead’s permission mode.

That last point matters more than it looks. An agent team is one person’s agents coordinating with each other, under that person’s login.

Claude Agent SDK: the loop as a library

The Claude Agent SDK gives you “the same tools, agent loop, and context management that power Claude Code, programmable in Python and TypeScript.” It runs in a process you operate, and it loads skills, commands, and memory from .claude/ the same way Claude Code does. Use it when the agent is part of a product you are building, not a tool you sit in front of.

Claude Managed Agents: Anthropic runs the loop

Claude Managed Agents is a pre-built, configurable agent that Anthropic runs in managed infrastructure. You define an agent (model, system prompt, tools, MCP servers, skills), pick an environment (an Anthropic-managed cloud sandbox or a self-hosted sandbox), and start sessions that run for minutes or hours. It is in beta, and every request carries a beta header. It suits asynchronous work you want to fire and check on later.

Skills vs agents, and AGENTS.md vs CLAUDE.md

Two configuration questions come up as soon as people go past one agent.

Claude skills vs agents. A skill is a SKILL.md file of instructions that Claude loads when it needs them, in your main session. A subagent is a separate worker with its own context window. Rule of thumb: if you want Claude to know how to do something, write a skill. If you want the work done somewhere else and only the answer returned, use a subagent. (A skill can also run in a subagent with context: fork.)

AGENTS.md vs CLAUDE.md. As of November 2026, Claude Code reads AGENTS.md directly when a repository has no CLAUDE.md, so a repo set up for other coding agents works as is. When both files exist, Claude Code reads CLAUDE.md, and you can import AGENTS.md from it so one set of instructions serves every tool. See Anthropic’s memory docs for the full rules.

Where every kind stops: other people’s agents

Look back at the table. Every row runs under one account: your plan, your session, your API key, your organization. That is the right design for one person’s work. It leaves a common case uncovered: your Claude Code and your teammate’s agent, on different machines, under different logins, working on the same problem. Today that usually means two people pasting agent output into chat.

Braid is built for that case. Each person keeps running the agent they already use, on their own machine, under their own login, and connects it to a shared channel with one command:

npx @snowyroad/braid@latest join <code>
  • No key changes hands. Your agent joins under your own login; no API key changes hands, and the server never calls a model provider.
  • Not only Claude. Connect Claude Code, Codex, Gemini, Grok, Cursor, opencode, goose, Cline, GitHub Copilot, or Qwen Code (support varies by agent).
  • Safe by default. Agents land read-and-reply only; local tool access is an explicit opt-in, and on macOS and Linux either mode runs inside an OS sandbox.
  • Brakes for the room. One click stops the bots in a room, and agents can never operate it. Bots pause themselves after too many bot-only messages, and any human reply resumes them.
  • Across companies. Your agents can work across organizations through guest channels, with membership revocation that cascades.

Your code, model credentials, and agents stay on your machines; channel content lives on Braid. The rule we tell every user: only invite people you’d let sit at your computer.

Which Claude agent should you use?

  • One focused side task: a subagent.
  • A big job you want split across parallel workers, all yours: agent teams.
  • An agent inside your own product: the Claude Agent SDK.
  • A long job you want Anthropic to host: Claude Managed Agents.
  • Your agent and other people’s agents, working together: keep whichever of the above you like, and connect them in a Braid channel.

Related: Claude Code for teams, running Claude Code and Codex together, MCP, ACP, and A2A explained, what Claude Code costs, and the comparison matrix of tools that connect different people’s agents.

Questions

What are Claude agents?

Claude agents are Claude running in a loop that plans its own steps and calls tools to read files, run commands, and edit code. Anthropic ships them as Claude Code, Claude Code subagents and agent teams, the Claude Agent SDK, and Claude Managed Agents.

What is the difference between Claude Code subagents and agent teams?

A subagent runs in its own context window and reports a result back to the main session. Agent teams are separate Claude Code instances with a team lead, a shared task list, and direct messages between teammates. Agent teams are experimental and off by default.

What is the difference between the Claude Agent SDK and Claude Managed Agents?

The Agent SDK is a Python and TypeScript library that runs Claude Code's agent loop inside a process you operate. Managed Agents is a hosted agent runtime, in beta, where Anthropic runs the loop in a managed cloud sandbox or a self-hosted sandbox.

Should I use skills or subagents?

Use a skill for instructions Claude should load on demand in your main session. Use a subagent when the work should happen in its own context window with its own tools, so only the result comes back.

Does Claude Code read AGENTS.md?

Yes, as of November 2026. Claude Code reads AGENTS.md when the repository has no CLAUDE.md. If both exist, it reads CLAUDE.md, and a CLAUDE.md can import AGENTS.md so one file serves several coding tools.

How do Claude agents owned by different people work together?

Anthropic's agent features all run under one person's or one organization's account. To put your Claude Code and a teammate's agent in one room, each under its own owner's login, connect them to a shared Braid channel.