Agent Reliability Guides

Handle real failures using idempotency, deadlines, compensating transactions, state migrations, and circuit breakers.

Start with the first guide for the core design, then use the others to examine specific implementation and operational decisions. Each includes primary references and illustrative examples.

  1. Idempotency for AI Agent Actions: Preventing Duplicate Side Effects

    Prevent duplicate AI agent actions with stable intent identities, immutable request fingerprints, durable ledgers, and recovery for uncertain outcomes.

    8 min read

  2. AI Agent Retries and Timeouts: Deadlines, Jitter, and Retry Budgets

    Design AI agent retries around end-to-end deadlines, classified failures, jitter, shared budgets, and cancellation without multiplying unsafe side effects.

    8 min read

  3. Compensating Transactions for AI Agent Workflows

    Design compensating transactions for AI agent workflows with recovery ledgers, explicit business reversals, uncertain outcomes, and irreversible boundaries.

    8 min read

  4. AI Agent State Versioning: Migrations and In-Flight Runs

    Version AI agent state across schemas, workflow changes, and paused runs with explicit compatibility checks, controlled migrations, and safe recovery plans.

    8 min read

  5. Circuit Breakers for AI Agents: Fallbacks and Degraded Service

    Design circuit breakers for AI agents with dependency health signals, bounded recovery probes, eligible fallbacks, and truthful partial or deferred outcomes.

    8 min read