adk-architecture
OfficialUnderstand ADK runtime architecture end-to-end
Software Engineering#workflow orchestration#observability#adk#llm context#event model#checkpoint resume#node contracts
Authorgoogle
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ADK developers need a reliable mental model of how the runtime executes nodes inside workflows, how events drive state reconstruction, and how resumption, routing, and LLM context orchestration work across checkpoints and branches.
Core Features & Use Cases
- Node contract clarity: Explain how
BaseNode.run()normalizes yields intoEventobjects, including routing (ctx.route), outputs (ctx.output), interrupts (long_running_tool_ids), and state deltas (ctx.state). - Execution flow and responsibilities: Describe how
Runner,Workflow, andNodeRunnersplit responsibilities to avoid deadlocks and to correctly manage concurrency, dynamic scheduling, and persistence/streaming. - Checkpointing and resume semantics: Provide an actionable guide for HITL lifecycles,
run_idreuse,rerun_on_resumebehaviors (Workflow vs leaf nodes), and how partialresume_inputsaffect control flow. - LLM context orchestration from events: Cover how the framework constructs an orchestrated LLM view from immutable events, including task delegation translation, branch isolation, and history trimming/compaction to prevent context pollution.
Quick Start
Ask the assistant: "Explain how ADK resumes a workflow after an interrupt, focusing on event flow, context reconstruction, and the difference between ctx.output, ctx.route, and ctx.interrupt_ids."
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: adk-architecture Download link: https://github.com/google/adk-python/archive/main.zip#adk-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.