Claude agent architecture that survives real traffic
A production Claude agent is a loop with budgets, retries and checkpoints, not a chat window with tools attached.
A Claude agent is a model plus a loop: observe, choose a tool or a reply, act, and stop. Production architecture is the set of limits around that loop so it cannot wander, overspend or write the wrong record.
Demos hide the loop. They run three happy-path steps on a staging tenant. Traffic introduces timeouts, partial payloads, ambiguous user intent and tools that return empty. The architecture has to assume those are normal.
The pieces that actually matter
| Piece | Job |
|---|---|
| Planner | Decide the next allowed action |
| Tools | Narrow, permissioned side effects |
| Memory | What persists across turns, and what must not |
| Budget | Token, time and step ceilings |
| Review | Human checkpoints on high-impact writes |
Skip any one of those and you will relive why Claude pilots stall.
Single agent first
Start with one agent and a small tool set. Multi-agent Claude systems earn their complexity when you have a real split: research versus mutate, or a specialist that owns one system of record. Orchestration without evals is just more surface to debug.
Stop conditions are product decisions
"Keep going until it looks done" is not a stop condition. Define:
- Maximum tool calls per task
- Maximum wall-clock time
- When to ask a clarifying question
- When to hand to a human
Those rules belong in code, not in a paragraph of the system prompt. Prompts describe policy. Code enforces it.
If you need this loop built on your stack, that is the Production Agent Build: prototype by week two, live traffic by week six, evals in CI from the start.
Related notes
Production systems
Claude Agent SDK Session Recovery: Resume, Fork, Compact, and Checkpoint Safely
Learn when to continue, resume, fork, compact, and checkpoint Claude Agent SDK sessions so long-running agents can recover safely.
Production systems
Why most Claude pilots never reach production
Most Claude pilots stall on integration, evaluation and cost, not prompting. Here is what actually blocks a production launch, and how to unblock it.
Production systems
MCP versus ad-hoc Claude tools: pick the contract, not the acronym
MCP is a protocol. The production question is whether Claude has a narrow, permissioned contract with your systems of record.