EN
Anti-Patterns
Things that look smart in demos and break production (with receipts).
- No Monitoring (Anti-Pattern) + What to Log + Code★★★If you can’t answer 'what did the agent do?' you can’t run it in production. The minimum stack: traces, stop reasons, spend, and tool call logs.
- Single-Step Agents (Anti-Pattern) + Fixes + Code★★★A 'single-step agent' is usually a chat completion glued to side effects. Why it breaks in production, and what a minimal production loop looks like instead.
- Trusting Tool Output Blindly (Anti-Pattern) + Fixes + Code★★★Tool output is untrusted input. If you treat it as truth (or as instructions), your agent will act on garbage and you won’t notice until after the damage.
- Agents with Write Access by Default (Anti-Pattern) + Fixes + Code★★★Default write access turns an agent into an outage generator. How this ships, what it breaks, and a safer permission + approval design you can actually run.