Build Long-running AI agents that pause, resume, and never lose context with ADK- Google Developers Blog
May 12, 2026Shubham Saboo, Eric Dong

Summary
This post introduces the concept of building long-running AI agents using the Agent Development Kit (ADK) that can pause, resume, and maintain context. It details three key architectural shifts: durable memory schemas, event-driven dormancy gates, and multi-agent delegation. The post demonstrates how to implement these concepts using a state machine for tracking onboarding progress, wiring the state into the agent's system instruction, using tools to advance the state machine, implementing checkpoint-and-resume with persistent sessions (SQLite/Cloud SQL), and handling idle time with event-driven resumption via webhook endpoints. It also highlights the use of a coding agent and Agents CLI for scaffolding and iterative development.
More from the AI-Assisted Spec-Driven Development trail
- The Anatomy of Harness Engineering: How to Evaluate, Iterate, and Guard AI Coding Agents- Google Developers Blog
- Enable on-demand expertise with Agent Skills in Genkit Go- Google Developers Blog
- Agent and Model Evaluations in Gemini Enterprise Agent Platform are now GA- Google Developers Blog
- How to use Google microbenchmarks for evaluating TPU performance- Google Developers Blog
- Evolving Spec-Driven Development: Conductor Now Supports Antigravity- Google Developers Blog