adk-agent-builder
Builds ADK (Agent Development Kit) Python agents: LLM agents with tools, graph workflows of function and agent nodes, conditional routing, fan-out and join, schema-validated delegation between agents, human-in-the-loop pauses, and pytest coverage for all of it. Use when asked to create an agent or a workflow, add a tool to one, branch or loop between nodes, run steps in parallel, pause for user approval, or test an agent. Don't use for explaining how ADK works internally or designing its core components (use `adk-architecture`), for an agent that already runs but misbehaves (use `adk-debug`), for authoring a sample under `contributing/` (use `adk-sample-creator`), or for naming, typing, and formatting conventions (use `adk-style`).
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 2.2w
- Forks
- 4.4k
01 前言 Front Matter
- name
- adk-agent-builder
- description
- Builds ADK (Agent Development Kit) Python agents: LLM agents with tools, graph workflows of function and agent nodes, conditional routing, fan-out and join, schema-validated delegation between agents, human-in-the-loop pauses, and pytest coverage for all of it. Use when asked to create an agent or a workflow, add a tool to one, branch or loop between nodes, run steps in parallel, pause for user approval, or test an agent. Don't use for explaining how ADK works internally or designing its core components (use `adk-architecture`), for an agent that already runs but misbehaves (use `adk-debug`), for authoring a sample under `contributing/` (use `adk-sample-creator`), or for naming, typing, and formatting conventions (use `adk-style`).
02 资源文件 17
- 参考文档references/advanced-patterns.md8.5 KB
- 参考文档references/best-practices.md5.7 KB
- 参考文档references/callbacks-and-plugins.md5.2 KB
- 参考文档references/dynamic-nodes.md3.8 KB
- 参考文档references/function-nodes.md6.1 KB
- 参考文档references/getting-started.md8.4 KB
- 参考文档references/human-in-the-loop.md5.7 KB
- 参考文档references/import-paths.md5.9 KB
- 参考文档references/llm-agent-nodes.md5.5 KB
- 参考文档references/multi-agent.md3.9 KB
- 参考文档references/parallel-and-fanout.md4.5 KB
- 参考文档references/routing-and-conditions.md4.0 KB
- 参考文档references/session-and-state.md2.7 KB
- 参考文档references/state-and-events.md4.4 KB
- 参考文档references/task-mode.md6.1 KB
- 参考文档references/testing.md7.4 KB
- 参考文档references/tool-catalog.md6.3 KB
03 SKILL.md 正文
ADK Agent Builder
Read only the reference that matches the task. Loading the whole tree costs context and buries the part that matters.
Every API below was checked against google-adk 2.6.2. If a symbol is missing
at runtime, read the source under src/google/adk/ rather than guessing a
neighbouring name.
Start here
| Task | Reference |
|---|---|
First agent, environment, adk CLI |
getting-started.md |
| Which import path is the canonical one | import-paths.md |
| The rules that cause most runtime failures | best-practices.md |
Building blocks
- tool-catalog.md — function tools, MCP, OpenAPI,
Google API toolsets, built-in tools, custom
BaseToolandBaseToolset. - function-nodes.md — plain functions as nodes:
parameter resolution, generators,
node_inputtyping rules. - llm-agent-nodes.md — an
LlmAgentused as a workflow node: output types, instruction templates,output_schema, auto-wrapping behavior. - task-mode.md —
mode='task'andmode='single_turn'delegation with schema-validated input and output.
Graph orchestration
- routing-and-conditions.md — routed edges, dict routing maps, default routes, self-loops, revision loops.
- parallel-and-fanout.md — fan-out edges,
JoinNodefan-in,parallel_worker=Truelist processing. - dynamic-nodes.md — scheduling nodes at runtime
with
ctx.run_node()and imperative workflow construction. - human-in-the-loop.md —
RequestInput, resume behavior, resumable vs replayed sessions. - advanced-patterns.md — nested workflows,
retries, custom
BaseNodesubclasses, graph validation rules. - multi-agent.md — chat-transfer hierarchies, and
the deprecated
SequentialAgent/LoopAgent/ParallelAgentshells thatWorkflowreplaces.
Runtime and verification
- state-and-events.md — the
Contextobject,Eventfields, and how state flows between nodes. - session-and-state.md — session services, artifacts, memory, and state key scoping.
- callbacks-and-plugins.md — the six agent callbacks and app-level plugins.
- testing.md —
pytestwithInMemoryRunner, faking a model, asserting on node output.
04 同仓库更多 Skills
bigquery-graph
Skill for Graph Query Language (GQL) or SQL/PGQ queries against a property graph. Includes path finding, multi-hop traversal, topological connection, shortest path, node reachability, edge connectivity, and semantic graph queries.
bigquery-ai-ml
Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity, summarize content, translate language, evaluate models, filter by semantic conditions, measure the causal effect of an intervention, compute correlations between columns, detect change points or structural breaks, extract trend or seasonality components, or leverage generative AI capabilities in BigQuery. Do not use for general BigQuery dataset, table, or job management requests.
code-review-skill
Reviews code with feedback tailored to the developer's profile in session state.
weather-skill
A skill that provides weather information based on reference data.
weather-skill
A skill that provides weather information based on reference data and scripts.
weather-skill
A skill that provides weather information based on reference data.