All patterns
Agents
Reasoning planner with fast executor
Pair an upstream reasoning model for upfront task planning and verification with a high-throughput, low-latency executor model for sequential tool calls.
clientservicemodeldatabaseagentexternal
Explanation
Frontier reasoning models possess state-of-the-art decomposition and logic, but their thinking phase latency and higher per-token cost make them inefficient for routine tool execution loops. In this architecture, the reasoning model produces a structured DAG plan with explicit verification assertions. A fast, cost-efficient executor executes tool invocations in parallel or sequentially. The verification gate validates the output against the plan's assertions, escalating back to the reasoning model only if self-correction is required.
Components
Reasoning planner (test-time compute model)Plan orchestrator (DAG execution engine)Fast executor model (low latency, high throughput)Tool runner and MCP clientDeterministic verification gate
When to use
- Multi-step agent tasks requiring deep decomposition, refactoring, or multi-source synthesis
- Workflows with 5+ tool invocations where reasoning model latency is prohibitive
- Production systems requiring cost predictability without sacrificing problem-solving quality
When NOT to use
- Single-turn retrieval or simple factual question answering
- Low-latency streaming chats requiring time-to-first-token under 500ms
- Trivial CRUD workflows with no planning ambiguity
Failure modes
- Planner outputs plan without machine-verifiable assertions
- Executor gets stuck in tool failure loops without escalating to planner
- Planner invents tool capabilities not present in the executor's tool registry
Production checklist
- Strict JSON schema for plan steps, dependencies, and verification criteria
- Configured thinking token budgets per task complexity tier
- Circuit breaker capping maximum replanning attempts (e.g. max 3 iterations)
- Comprehensive telemetry tracking planner vs executor cost and latency attribution
- Fallback to manual review if plan fails verification repeatedly