Blank white background with no objects or features visible.

Wir stellen Ihnen den vollständigen Gartner Hype Cycle für KI-Governance 2026 kostenlos zur Verfügung. Hier Exemplar sichern →

Claude Code Subagents: What They Are and How to Use Them

von Ashish Dubey

Aktualisiert: October 31, 2026

Published: October 31, 2026

‍

Try now.

One gateway for all your models, MCP servers, and agents.
No credit card needed.

Melde dich an
Inhaltsverzeichniss

Steuern, implementieren und verfolgen Sie KI in Ihrer eigenen Infrastruktur

Buchen Sie eine 30-minütige Fahrt mit unserem KI-Experte

Eine Demo buchen

Der schnellste Weg, deine KI zu entwickeln, zu steuern und zu skalieren

Demo buchen
Summarize with
ChatGPT logo by OpenAI
Perplexity AI logo
Blurry red snowflake on white background, symmetrical frosty design with soft edges and abstract shape.

Entdecke mehr

Keine Artikel gefunden.
October 31, 2026
|
Lesedauer: 5 Minuten

7 Dinge, die Sie bei der Produktion von LLM-Agenten richtig machen müssen

Keine Artikel gefunden.
October 31, 2026
|
Lesedauer: 5 Minuten

10 Wege zur Senkung der Gen-AI-Kosten: Erkenntnisse aus dem Gartner®-Bericht

Keine Artikel gefunden.
mint mcp alternatives
October 31, 2026
|
Lesedauer: 5 Minuten

Die 10 besten Mint MCP-Alternativen für KI-Agenten-Infrastruktur im Jahr 2026

Keine Artikel gefunden.
October 31, 2026
|
Lesedauer: 5 Minuten

Warum produktive KI ein dediziertes Prompt-Management benötigt

Keine Artikel gefunden.
Keine Artikel gefunden.

Aktuelle Blogs

Black left pointing arrow symbol on white background, directional indicator.
Black left pointing arrow symbol on white background, directional indicator.

Häufig gestellte Fragen

What are Claude Code subagents?

Separate Claude instances Claude Code spawns to handle a focused task in their own context window, with their own model and a restricted toolset. They do verbose work — tests, logs, docs — and return only a short summary, keeping the main session fast and cheap.

How do I use subagents in Claude Code?

Define one as a small Markdown file in .claude/agents/ (project) or ~/.claude/agents/ (personal), with a name, a tight description, the tools it may use, and a model. Claude Code invokes it on a description match or when you name it explicitly; setting a cheap model such as Haiku on simple subagents is the key step, and /agents manages them.

Do subagents save money?

Indirectly. They keep verbose output out of your main conversation — which you otherwise re-send on every turn — and can run on a cheaper model. They still consume tokens of their own, so the saving is the model choice and cleaner context, not the subagent being free.

What model should a subagent use?

Haiku for simple, high-volume jobs (tests, log triage), Sonnet for exploration and refactors, Opus only for genuinely hard reasoning. Always set it explicitly — an unset model inherits your session’s. The model field accepts haiku, sonnet, opus, fable, a full model ID, or inherit.

How is a subagent different from a skill or an MCP server?

A subagent is a separate instance with its own context — best for volume or isolation. A skill is a reusable instruction set that loads on demand — best for repeatable know-how. An MCP server is an external tool or data source Claude calls — best for reaching live systems. They compose rather than compete.

How much do agent teams cost?

Roughly seven times a standard session when teammates run in plan mode, because each maintains its own context window. Keep teams small, keep tasks self-contained, and shut teammates down when they finish.

Can I track subagent spend per developer?

Not from native billing alone across API keys and cloud providers. Routing Claude Code through an AI gateway resolves each request to a developer and meters spend per key, so subagent and agent-team usage shows up attributed rather than lumped into one number.

Where are subagent config files stored?

In .claude/agents/ for project-scoped subagents (version-controlled, shared with the team) and ~/.claude/agents/ for personal ones that follow you across projects. Organisation-managed settings override both — how a platform team standardises subagents across a fleet — and on name collisions the more specific scope wins.

Machen Sie eine kurze Produkttour
Produkttour starten
Produkttour