Reliability Engineering Best Practices
Ten practices for building resilient, boundable agent systems - plus operating checks so production stays honest under load and outages.
Search across all documentation pages
Ten practices for building resilient, boundable agent systems - plus operating checks so production stays honest under load and outages.
Use them as a design rubric and a launch checklist before agents gain real tools and real credentials.
ok, error_type, retryable). Empty catches and swallowed errors cause confident lies.circuit_open; share state across workers.Items 1-10 are the core design practices for resilient agents. Items 11-15 extend them into measurement and learning so the list stays useful after launch.
Hard run bounds: max turns + wall clock + structured stop reasons (practices 1-3). Everything else builds on finite runs.
They are framework-agnostic. LangGraph timeouts, SDK retries, and router fallbacks are mechanisms; budgets, breakers, and SLOs are the policy.
Yes when they can touch prod data, money, customer messages, or shared credentials. Internal does not mean low blast radius.
Tier tasks, cache safe reads, prefer cheaper models with eval proof, and stop no-progress early so spend concentrates on useful work.
When many runs share a dependency. Budgets protect one run; breakers protect the dependency and the fleet.
Pause execution deadlines while waiting on humans, or use a separate approval SLA so overnight queues do not false-timeout.
Run detail UI, authenticated chatops, and on-call CLI. Drill time-to-trip; seconds matter for spend incidents.
Count capability success if the user outcome is acceptable, but track primary serve rate and quality separately.
Traces where tool errors are missing, empty, or untyped while the final answer claims completion.
Weekly for burn and outliers; after every model or tool surface change; after each SEV.
In the section sidebar as the close-out checklist, and from ADRs or runbooks that introduce new agent dependencies or autonomy.
Stack versions: Pins from the category manifest (verify at build): OpenRouter (~315+ models, July 2026 pricing/fees); LangGraph 1.0+; CrewAI 1.14+; Microsoft Agent Framework 1.0; Vercel AI SDK 6; Pydantic AI (latest); LlamaIndex (latest); OpenAI Agents SDK (latest + MCP); MCP (Linux Foundation governance); A2A (HTTP+SSE+JSON-RPC 2.0); Solana
@solana/web3.js+@solana/spl-token.
Reviewed by Chris St. John·Last updated Jul 16, 2026