← Back to Reading
Daily Dose of DS 2026-10-20

The Next Step After Karpathy’s Agentic Engineering

This article demonstrates how to build production-grade, resumable AI agents using Google's Agents CLI, ADK, and Agent Runtime. When long-running agent workflows require human approval, traditional in-memory processes risk losing state, leading to repeated executions or inconsistent retrieval evidence upon restart. By leveraging ADK's suspension capabilities, persistent session stores (such as SQLite locally or Agent Runtime in the cloud), and idempotency keys, agents can safely pause, terminate runtime processes, and resume later without duplicating side effects.

Read the original ↗
HANDS-ON

The next step after Karpathy’s agentic engineering

This article demonstrates how to build production-grade, resumable AI agents using Google's Agents CLI, ADK, and Agent Runtime. When long-running agent workflows require human approval, traditional in-memory processes risk losing state, leading to repeated executions or inconsistent retrieval evidence upon restart. By leveraging ADK's suspension capabilities, persistent session stores (such as SQLite locally or Agent Runtime in the cloud), and idempotency keys, agents can safely pause, terminate runtime processes, and resume later without duplicating side effects.

  • Google's Agents CLI provides skills for Claude Code to handle ADK scaffolding, testing, and deployment to Agent Runtime.
  • Long-running agents require durable execution state and preserved invocations rather than just chat transcripts to avoid inconsistent re-retrieval and duplicated actions.
  • A human-in-the-loop workflow can pause execution at a tool call, completely exit Python processes, and resume later using saved session and invocation IDs.
  • Idempotency keys derived from answers and citation IDs prevent duplicate execution during retries or multiple approval events.
  • Deploying to Agent Runtime replaces local SQLite storage with managed cloud session persistence and assigns an identity via Agent Identity.