google / google/adk-python

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

Aperta
#3,426 1 commento 0 reazioni 1 assegnatario Rivendicata da @Jacksunwei Vedi su GitHub
core needs review
Lingua principale
Python
Stelle
21.5k
Fork
4k
Merge medio
1g 14h
PR unite (30g)
37

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.