The Orchestration Stack for Observable, Debuggable, and Durable Agents
summary
Orchestration code turns short demos into long-running, recoverable agents by baking infrastructure into runtime: functions decorated with environment configs become durable checkpoints that replay from the failed LLM call, exceptions propagate (OOM → bump memory and retry), and a sandbox library runs generated code safely. The stack combines Flyte-style orchestration, Kubernetes warm pools, and stateful processing with sandboxes, runs hundreds of agents multiplexed on four GPUs, and even auto-tunes kernels to reach up to 3× inference speedups in production.
AI-written summary · about
chapters (20)
- 0:00Introduction to long horizon agents
- 1:52Why production agent systems are hard
- 3:20Building an agent to train ML models
- 4:23Dangers of running untrusted code
- 5:48Observability vs self-healing agents
- 6:52Making failures cheap and actionable
- 7:55Decoupling deployment from runtime
- 9:00Introducing Flight for durable agents
- 10:24Recovering from failures automatically
- 11:50Right-sizing infrastructure at scale
- 12:50Warm pools and reusable containers
- 13:35Sandboxing code execution safely
- 15:20Observability as a natural outcome
- 15:40Human-in-the-loop for critical decisions
- 16:24Key takeaways for reliable agents
- 17:05Agent for GPU kernel optimization
- 20:36Three primitives for agent systems
- 21:19Production example in one hour
- 22:01Embrace failure in agent design
- 22:44Q&A session
