Claude Code’s 5-Level Agent Trees and Fable 5
We unpack Anthropic’s latest Claude Code update, where sub-agents can recursively spawn deeper agents, backed by a massive one-million-token context window. The conversation also covers token compaction, the new /plugin search bar, AWS Bedrock region fallback, and the risks of letting terminal automation grow into a full recursive agent tree.
Is this your podcast and want to remove this banner? Click here.
Chapter 1
Deep Nested Agents and Fable 5 in Claude Code
Lachlan Reed
Welcome to the show everybody! I'm Lachlan Reed, here with James Turner. And James, I need to start with something that absolutely melted my terminal yesterday. [excited] Anthropic quietly pushed Claude Code version 2.1.172, and it completely rewrites how we think about terminal automation by allowing sub-agents to spawn their own sub-agents up to five levels deep, all backed by a new one-million-context Claude Fable 5 model.
James Turner
Five levels deep of nested agents is [excited] wild! Think about the tree structure there. If you've got a root agent managing a massive refactor, it spawns level-two specialists for testing, compiling, and linting. Then those agents can spawn level-three sub-agents to debug a specific test failure, which spawn level-four agents to write a localized patch. We are talking about a full-on recursive tree running inside your local shell.
Lachlan Reed
Exactly! I ran it on an old React-Native repo of mine—the kind of codebase where if you breathe on it wrong, the build breaks. I asked it to upgrade the navigation library. Instead of clogging up my main terminal session with endless npm error logs, the main agent spawned a level-two agent. That level-two agent spun up a level-three sub-agent to isolate the compiler errors, fixed them in a sandbox, and only bubbled up the successful diff. [amazed] It's like having an entire engineering department working silently in the background of your CLI.
James Turner
And keeping that massive hierarchical tree coordinated is exactly why they dropped the Claude Fable 5 model with that one-million-token context window. If you're five levels deep, the state management and the sheer volume of codebase context you need to pass down is immense. But we have to talk about the catch here: [serious] token compaction. If you let these deep trees run wild on a massive codebase, that one-million-token window fills up fast, and Claude Code will automatically trigger token compaction to truncate history.
Lachlan Reed
Oh mate, I learned that the hard way. [laughs] I was letting a deep nest run, and suddenly my level-four debugging agent completely forgot why the level-two agent spawned it in the first place because the system prompt got compacted out of the active window! You really have to keep an eye on your agent limits and configure your max depth. By default, it can go to five, but you can cap it lower using the new configuration flags if you want to keep your API bill from spiraling out of control.
James Turner
Absolutely. [matter-of-fact] Another massive quality-of-life update in this release is the new `/plugin` interactive search bar. You can now dynamically query, enable, or disable local shell plugins mid-session without having to restart your Claude Code daemon or manually edit your config JSON. Plus, they've added automatic AWS Bedrock region fallback. If you're running your Claude endpoints through Bedrock and you hit rate limits in us-east-1, it automatically shifts the heavy lifting over to us-west-2 or eu-central-1 without dropping your active nested agent tree.
Lachlan Reed
That region fallback is a lifesaver for enterprise devs. But look, even with the guardrails, this deep nesting feels like a double-edged sword. [reflective] You're giving an LLM the power to spawn a multi-generational tree of shell-executing agents. It's incredibly powerful, but it makes you wonder: at what point do we lose track of what's actually running under the hood?
