a builder's codex
codex · operators · Phil Schmid · ins_phil-schmid-four-subagent-patterns

Four subagent patterns are settling as standard: Inline Tool, Fan-Out, Agent Pool, and Teams. Each adds control surface at a real debugging cost.

By Phil Schmid · ML engineer and agentic systems practitioner · 2026-05-05 · essay · Subagent Patterns 2026

Tier B · TL;DR
Four subagent patterns are settling as standard: Inline Tool, Fan-Out, Agent Pool, and Teams. Each adds control surface at a real debugging cost.

Claim

Four subagent patterns are settling as standard for agentic architectures: Inline Tool, Fan-Out, Agent Pool, and Teams. Each adds control surface and debugging surface at a real cost. The trade is not a free upgrade.

Mechanism

Inline Tool: a single sequential agent calls tools in order. Simple to trace, slow for independent tasks. Fan-Out: a coordinator dispatches parallel subtasks to specialist agents and merges results. Faster for independent work, but merge logic and error propagation require explicit design. Agent Pool: persistent workers pick tasks from a queue, enabling load balancing. Adds queue-management complexity. Teams: specialized agents coordinate with each other via routing and context-passing logic. Highest control surface, highest debugging surface.

Conditions

Holds when: The task has independent subtasks (Fan-Out), persistent workload (Pool), or requires specialized coordination (Teams). Inline Tool is right when tasks are sequential and debugging simplicity matters more than throughput.

Fails when: Fan-Out is chosen for dependent tasks where merge logic cannot be cleanly defined. Teams patterns are adopted before simpler patterns have been exhausted.

Evidence

Phil Schmid's analysis of production agentic systems, published May 5, 2026, drawing on patterns observed across deployed LLM applications.

Signals

Counter-evidence

Pattern taxonomy is descriptive, not prescriptive. Real systems often mix patterns within a single workflow. Overhead of more complex patterns can exceed benefit for infrequent or short-duration tasks. Patterns are still evolving.

Cross-references

Open the interactive view → View original source → Markdown source →