
What happened
Per Claude Code's official docs, subagents can launch their own subagents via the Agent tool by default, nested up to three levels; the environment variable CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH changes that depth and setting it to 1 turns nesting off. The author's repo keeps six of seven agent definitions free of Agent in their tools allowlist and adds disallowedTools: Agent only to the all-tools-inheriting builder.
Why it matters
Subagents that omit tools inherit every main-conversation tool, so Agent stays usable unless disallowedTools: Agent is set — meaning the repo's no-mutual-calling setup is a chosen design, not a Claude Code constraint, and it appears to be what keeps a human-confirmable checkpoint at each stage.
What to watch
The file-based handoff adds instructions from the PM for every step and rules out parallel runs for speed, so it hinges on deciding the output directory layout up front. If that is skipped, the author warns you land back at scattered artifacts.
WHO IT HITSDevelopers and teams running multi-step Claude Code pipelines with several subagents are the ones who must decide whether to allow nesting or enforce file-based handoffs. The author's experience suggests the file route gives a reviewer a chance to catch conflicting figures before the next stage.
Summaries like this, in your inbox every morning.
The article builds on a previous post that fixed the main Claude Code session in the role of PM, and now describes how that PM passes artifacts between specialized subagents. Three delegation options are laid out — natural-language prompting, @-mention, and launching the whole session with --agent <name> — but all three are ways for the human or main session to invoke a subagent, not for one subagent to @-mention another. So the author weighed two rejected designs against the adopted one: allowing nested delegation, which makes it hard to place a checkpoint before the PM proceeds, and merging everything into one giant agent, which loses specialization and bloats instructions.
The adopted flow runs market-researcher to product-strategist to builder to content-writer, with qa-reviewer recording a verdict in reviews/<slug>.md before publication. Artifacts land in research/, plans/, samples/, and articles/ or books/ according to each agent definition's description. The concrete payoff is the discrepancy between a source article's titled 43% and the body-counted 68%, caught by the PM and written into the plan as a risk item. Exactly the kind of review the author says direct agent-to-agent calling would have skipped.
The trade-offs are acknowledged: more PM instructions per step, no real-time parallelism for speed, and a need to predefine the directory layout, without which the author warns you regress to scattered artifacts. Whether this matters to a given team likely hinges on how much traceability and mid-pipeline review they need versus raw throughput, and the practical test is whether the extra PM overhead is worth the corrected figures. The author says a forthcoming book will cover generalizing the file-handoff design and when to use other integration patterns.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Chunghwa Telecom president Rong-shy Lin said the shift from conversational AI to autonomous AI agents is resha…

Apple and Meta said they would jointly release a new open-weight AI model designed to run on high-end Macs, ai…

A writer and entrepreneur opened his daily to-do list and found 156 items, and concluded that an AI assistant…

A Zenn contributor sorted AI use into three modes — AI as an assistant, AI running alongside people, and AI th…

The walkthrough points the CLI at a local mock via the ANTHROPIC_BASE_URL environment variable

A non-engineer operator says one person ships four smartphone apps on Google Play, three on the App Store, wit…
