3 pages for claude_agent_sdk_disable_builtin_agents.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Subagents in the SDK
Claude Code CLI · in the page
agent-sdk/subagents
…laude can spawn even when you define no agents of your own. Setting [`CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS=1`](/docs/en/env-vars) removes that default, and such a call fails with [`subagent_type is…
Environment variables
Claude Code CLI · in the page
env-vars
…| | `CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS` | Set to `1` to disable all built-in [subagent](/docs/en/sub-agents) types…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…/en/headless) and the [Agent SDK](/docs/en/agent-sdk/overview), set [`CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS=1`](/docs/en/env-vars) to remove all built-in types and supply only your own. An Agent to…