adk-architecture

Official

Understand ADK runtime architecture end-to-end

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 into Event objects, 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, and NodeRunner split 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_id reuse, rerun_on_resume behaviors (Workflow vs leaf nodes), and how partial resume_inputs affect 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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.