cli-configuration-deployment
Use ADK CLI commands, agent/app discovery, YAML configuration, local run/web/API server flows, eval/test commands, deployment commands, and safe CLI/config inspection.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- cli-configuration-deployment
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use ADK CLI commands, agent/app discovery, YAML configuration, local run/web/API server flows, eval/test commands, deployment commands, and safe CLI/config inspection.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/cli-reference.md12.4 KB
- 参考文档references/configuration.md5.3 KB
- 参考文档references/troubleshooting.md5.9 KB
- 脚本scripts/inspect_adk_cli.py6.0 KB
03 SKILL.md 正文
ADK CLI, Configuration, and Deployment
Use this sub-skill when a user asks how to run or expose an ADK app with the adk console script, why an agent is not discovered by adk web, how to structure a Python or YAML agent app, how to validate generated YAML config, or how to reason about adk deploy targets and credentials. ADK 2.3.0 provides the google.adk import root and the adk console command on Python 3.10+.
Route Common Requests
- Run locally: Use CLI reference for
adk run,adk web,adk api_server,adk test,adk eval,adk eval_set, and safe--helpchecks. - Fix app discovery: Use configuration for loader conventions,
root_agent/app,agent.py,__init__.py,root_agent.yaml,.env, and service registration. - Generate or validate YAML: Use configuration for
AgentConfig.json,agent_class,sub_agents,tools, callbacks,CodeConfig, and schema-validation workflow. - Deploy safely: Use CLI reference for
adk deploy cloud_run,adk deploy agent_engine, andadk deploy gke; use troubleshooting for credentials, project/region, optional extras, and generated source caveats. - Diagnose failures: Use troubleshooting for missing agents in web UI, server/log/CORS issues, YAML schema errors, deployment failures, missing optional dependencies, and model credential problems.
- Inspect an installation: Run inspect_adk_cli.py to list available CLI commands and locate installed config schema metadata without starting servers, deployments, network calls, or credential flows.
Boundaries
- Included here:
adkconsole commands; agent loader and app discovery;root_agent/app; YAML config and schema metadata; localrun,web,api_server,test,eval, andeval_set; deploy command families; service registry; graph visualization; safe CLI help diagnostics. - Route elsewhere: Eval assertion design and detailed metrics go to
evaluation-debugging; PythonAgent/LlmAgentobject design goes toagent-construction; repository maintainer commands, schema regeneration PR workflow, and source test policy go torepo-development.
Safe Defaults
- Prefer
adk --helpand subcommand--helpfor non-mutating CLI checks. - Do not launch
adk weboradk api_serverunless the user explicitly wants a local server. - Do not run
adk deploy ...without confirmed project/region/credentials and a clear deployment target. - Treat base installs as intentionally minimal: optional DB, extensions, MCP, eval, GCP/cloud, and A2A integrations can be absent and should be diagnosed rather than assumed.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).