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 图查询分析
bigquery-graph
针对属性图使用图查询语言(GQL)或 SQL/PGQ 进行查询的技能。包括路径查找、多跳遍历、拓扑连接、最短路径、节点可达性、边连通性和语义图查询。
BigQuery AI 与机器学习分析
bigquery-ai-ml
利用 BigQuery 内置的机器学习与生成式 AI 能力进行高级数据分析。当您需要编写 SQL 查询以执行时间序列预测、数值预测、异常值或异常检测、寻找关键驱动因素、语义搜索或向量搜索、文本分类、相似度计算、内容摘要、语言翻译、模型评估、按语义条件筛选、衡量干预措施的因果效应、计算列之间的相关性、检测变化点或结构性突变、提取趋势或季节性成分,或利用 BigQuery 中的生成式 AI 能力时使用。不适用于常规的 BigQuery 数据集、表或作业管理请求。
代码审查与定制反馈
code-review-skill
审查代码,并根据会话状态中开发者的个人画像提供量身定制的反馈。
天气信息查询
weather-skill
基于参考数据提供天气信息的技能。
天气信息查询
weather-skill
基于参考数据和脚本提供天气信息的技能。
天气信息查询
weather-skill
一种基于参考数据提供天气信息的技能。