Google ADK เผยสูตร 'agent ที่อยู่ได้เป็นสัปดาห์' — durable state machine + persistent session + event-driven webhook แทนการพยายาม stuff conversation history เข้า context
Shubham Saboo (Senior AI PM) และ Eric Dong (DevRel Engineer) โพสต์ tutorial **'Build Long-running AI agents that pause, resume, and never lose context with ADK'** ขึ้น developers.googleblog.com ในวันที่ 12 พ.ค. — ชี้ว่า production agent ที่ต้องอยู่ทน 'idle time' หลายวัน (HR onboarding, invoice dispute, sales sequence) **พังกับ stateless pattern** เพราะ context pollution + token cost + hallucination on resume วิธีแก้: **durable state machine** (OnboardingStep enum) แทน chat history, **DatabaseSessionService** (SQLite local / Cloud SQL prod) แทน in-memory session, **webhook + state_delta** สำหรับปลุก agent หลัง idle time, และ **multi-agent delegation** แทน monolithic prompt — tutorial มี repo เปิดให้ clone และคำสั่ง `agents-cli deploy` push ขึ้น Agent Runtime