计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
agent-construction【效率与协作】Build and troubleshoot ADK Python Agent/LlmAgent definitions, model settings, modes, callbacks, schemas, and multi-agent delegation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a user asks to define, revise, or debug Python ADK agents built with google.adk.Agent or google.adk.agents.LlmAgent.
root_agent, add model, instruction, description, tools, callbacks, or schemas.mode="chat", mode="task", and mode="single_turn" for LLM agents and sub-agents.sub_agents, delegation descriptions, task agents, or single_turn helper agents.output_schema, input_schema, and output_key.Workflow, BaseNode, graph edges, dynamic nodes, joins, and workflow HITL: use workflow-orchestration.adk run, adk web, deployment, and config schema generation: use cli-configuration-deployment.tools-and-integrations.runtime-services.repo-development.from google.adk import Agent or from google.adk.agents import LlmAgent, RunConfig.user as an agent name.instruction, static generation options in generate_content_config, tools in tools, and final response schemas in output_schema.root_agent = Agent(...) in an importable module.Runner only after selecting runtime services and creating or auto-creating sessions; this sub-skill focuses on the agent definitions.from google.adk import Agent
def get_weather(city: str) -> str:
"""Return a simple weather summary."""
return f"Weather for {city}: sunny."
root_agent = Agent(
name="weather_agent",
model="gemini-3.5-flash",
instruction="Answer weather questions and call tools when needed.",
tools=[get_weather],
)
RunConfig, and Runner.run invocation shape.task and single_turn sub-agents, and multi-agent delegation.description strings for delegatable sub-agents.LlmAgent runs in chat mode; task and single_turn are usually child agents exposed to the parent as tools.output_schema is used for final structured responses; generate_content_config.response_schema is not used on LlmAgent.tools-and-integrations.None to continue, or the documented override shape to short-circuit or replace model/tool behavior.