Utilities
kapso visualize
Visualize agent knowledge graph as an image
Generate agent knowledge graph visualization.
Arguments
Argument | Description | Default |
---|---|---|
PATH | Agent config path | Current dir |
Options
Flag | Description | Default |
---|---|---|
-f, --format=<option> | Output format | png |
-h, --height=<value> | Image height (px) | 900 |
-o, --output=<value> | Output filename | agent-graph |
-w, --width=<value> | Image width (px) | 1200 |
Description
Renders a visual representation of the agent’s knowledge graph topology. Useful for architecture review, documentation, and debugging decision flows.
Process:
- Parses agent configuration
- Constructs directed graph of nodes and edges
- Renders to specified image format
Examples
Default visualization:
Custom path:
Specific file:
Custom output:
SVG output:
Custom dimensions:
Output
Generates image containing:
- Knowledge nodes
- Edge connections
- Decision paths
- Node and edge metadata
Notes
- Requires valid agent configuration
- SVG format recommended for documentation
- Adjust dimensions for complex graphs