Agent Patterns
🌐
EN
▾
English
Deutsch
Español
Français
Українська
Menu
Menu
×
Sections
Learn
Start Here
Foundations
Agent Patterns
Build
The stuff between your agent and disaster
Governance & Guardrails
Observability & Monitoring
Testing & Evaluation
Optimization
How to keep your agent from breaking things
Tools & Integrations
Avoid
Failures & Fixes
Anti-Patterns
Apply
Playbooks
Real Examples
Comparisons
Theme
System
Light
Dark
EN
Testing & Evaluation
Unit tests, golden tasks, record/replay, and evals that catch regressions before prod does.
Unit Testing AI Agents (Deterministic, Cheap, and Actually Useful)
★★☆
Unit testing AI agents is how you catch tool spam, budget bugs, and stop-reason regressions before production. Includes Python + JS examples.