4 patterns

Reliability & Runtime

The plumbing that keeps agents running in production: validate and repair outputs, fail over between models, persist state, and wake up on events.

Patterns in Reliability & Runtime

Schema Validation & Repair

Reliability & Runtime · 5 nodes · 2 LLM calls · loop · branch · 2 scenarios

No single inventor

Check the model's output against a schema and rules; on failure, send the exact error back and ask again, up to N tries.

Retries & Model Fallback

Reliability & Runtime · 6 nodes · 1 LLM call · loop · branch · 2 scenarios

No single inventor

Retry failed model calls with backoff, then fail over down an ordered list of models, resting any that keep failing.

Checkpoint & Resume

Reliability & Runtime · 6 nodes · 0 LLM calls · loop · 2 scenarios

No single inventor

Save the agent's state after every step, so a crash or a long pause resumes from the last checkpoint instead of starting over.

Ambient Agent

Reliability & Runtime · 6 nodes · 6 LLM calls · loop · branch · human · 2 scenarios

Harrison Chase 2025

An agent woken by events rather than chat messages, working in the background and reaching people only to notify, ask or get a review.