google / google/adk-python

Add adk graph command and --ascii-only for DOT output

未关闭
#3,426 1 条评论 0 个 reaction 已指派 1 人 已被 @Jacksunwei 认领 在 GitHub 查看
core needs review
主要语言
Python
星标
21.5k
派生
4k
平均合并
1 天 14 小时
30 天内合并 PR
37

描述

### Summary:
Add CLI command adk graph to render agent trees as DOT/PNG/SVG, plus an --ascii-only option to strip non-ASCII for Windows consoles.
Motivation: Improve developer experience to visualize multi-agent hierarchies without launching the web UI; enable Windows CMD users to generate readable DOT.
### Scope:
New subcommand: adk graph
Formats: dot|png|svg
Option: --ascii-only for DOT
### Acceptance Criteria:
Running adk graph on a sample agent produces DOT with readable labels.
Optionally produces PNG/SVG when Graphviz is installed.
Windows CMD can generate ASCII-only DOT without encoding errors.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。