Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

6 pages for claude_code_fork_subagent.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ode off](/docs/en/sub-agents.md#turn-fork-mode-on-or-off) by setting `CLAUDE_CODE_FORK_SUBAGENT` to `0`. Before Python SDK v0.2.169, agents that your subagents started also ran in the background by d… Claude Code changelog Claude Code CLI · in the page changelog …K, the desktop app and VS Code, as they already are in the terminal; `CLAUDE_CODE_FORK_SUBAGENT=0` turns them off, and `claude mcp serve` never offers them * Changed the desktop app and VS Code to alw… Environment variables Claude Code CLI · in the page env-vars …| | `CLAUDE_CODE_FORK_SUBAGENT` | Controls [fork mode](/docs/en/sub-agents#turn-fork-mode-on-or-off), which… Create custom subagents Claude Code CLI · in the page sub-agents …agent 1. Turn [fork mode](#turn-fork-mode-on-or-off) off by setting `CLAUDE_CODE_FORK_SUBAGENT` to `0`, for example in [`settings.json`](/docs/en/settings): ```json theme={null} { "env":… Week 17 · April 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w17 …ork-the-current-conversation) can be enabled on external builds with `CLAUDE_CODE_FORK_SUBAGENT=1`: a fork inherits your full conversation context instead of starting freshDefault [effort level](/docs… Week 33 · August 10–14, 2026 Claude Code CLI · in the page whats-new/2026-w33 …es in your conversation when it finishes. To turn fork mode off, set `CLAUDE_CODE_FORK_SUBAGENT=0`. [Turn fork mode on or off](/docs/en/sub-agents.md#turn-fork-mode-on-or-off) GitLab merge requests…
Feedback