agentleFS
ryan-yuuuryan-yuuu/skills-for-dummies/skills/google-adk-architecture/SKILL.md

google-adk-architecture

Skill1 starsChanged 3 months agoMITView on GitHub

ADK architectural knowledge — graph orchestration, resumption, execution flow, node contracts, observability, and LLM context orchestration. Use this skill whenever you need to understand the architecture, event flow, or state management of the ADK system, or when designing or modifying core components. Triggers on "how does X work", "design of", "architecture of", "event flow", "resumption state", "checkpoint", "BaseNode", "NodeRunner".

The file

Files
SKILL.md

ADK Architecture Guide

Core Interfaces (references/interfaces/)

  • BaseNode — node contract, output/streaming, state/routing, HITL, configuration
  • Workflow — graph orchestration, dynamic nodes (tracking/dedup/resume), transitive dynamic nodes, interrupt propagation, design rules for node authors
  • Runner — The public interface for executing workflows and agents. Documents entrance methods run and run_async.
  • Agent — Blueprint defining identity, instructions, and tools. Documents that run is the preferred entrance method.
  • BaseAgent — Base class for all agents. Defines the contract for subclassing with _run_impl as the primary override point.
  • Event — Core data structure for state reconstruction and communication. Represents a conversation turn or action.

Key Principles (references/principles/)

  • API Principles — stability, backward compatibility, and self-containment. Use when making design choices that affect the public API surface.

Runtime Knowledge (references/architecture/)

  • Context — 1:1 node-context mapping, InvocationContext singleton, property reference
  • NodeRunner — two communication channels, execution flow, output delegation. Internal runtime details.
  • Runner Roles — Runner vs NodeRunner vs Workflow separation. Explains why they are separate to avoid deadlocks.
  • Checkpoint and Resume — HITL lifecycle, rerun_on_resume, run_id
  • Observability — span-on-Context design, NodeRunner integration, correlated logs, metrics
  • LLM Context Orchestration — relationship between events and LLM context, task delegation translation, branch isolation. Use when modifying event processing, context preparation for LLMs, or debugging context pollution issues.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.