agentgraph graph prints a text representation of your DAG’s node topology — useful for understanding wave structure before running a complex workflow. agentgraph diff compares the artifact produced by each node across two runs of the same DAG, making it straightforward to evaluate the effect of a prompt change or a backend switch.
- graph
- diff
agentgraph graph
Render the DAG as Mermaid flowchart or Graphviz DOT. Output goes to stdout so you can pipe it directly to a renderer.Arguments and flags
string
required
Path to the DAG YAML file.
string
default:"mermaid"
Output format. Options:
mermaid or graphviz.Examples
Mermaid output format
The Mermaid output groups nodes by execution wave insidesubgraph blocks, with node types shown as italicised labels. Edges reflect the depends_on declarations in your YAML.inspect status colour scheme: agent nodes are blue, approval gates are red, exec nodes are grey, and so on.