Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

aasm topology

Visualize agent topology — fleet overview, delegation trees, teams, ancestry lineage, and aggregate statistics.

Synopsis

aasm topology <SUBCOMMAND> [OPTIONS]
SubcommandPurpose
overviewFleet-wide topology overview.
treeRender a subtree rooted at a given agent.
teamShow all agents in a team.
lineageShow the ancestry chain for a given agent.
statsShow aggregate topology statistics.

All subcommands accept the global options, including --output table|json|yaml (tables render via box-drawing trees for tree/lineage).


aasm topology overview

Show a fleet-wide topology overview across all teams and root agents.

FlagTypeDefaultDescription
--status <STATUS>stringFilter agents by status (active, suspended, deregistered).
--show-budgetflagoffInclude governance level in agent nodes.
aasm topology overview --status active

aasm topology tree

Render a delegation subtree rooted at one agent, using box-drawing characters.

NameTypeDefaultDescription
<AGENT_ID>string (arg)Root agent ID (hex-encoded UUID).
--max-depth <DEPTH>integer10Maximum traversal depth from the root.
--status <STATUS>stringFilter tree nodes by status.
--show-budgetflagoffInclude governance level in tree nodes.
aasm topology tree a1b2c3… --max-depth 3
research-bot (a1b2c3…)
├── fetch-worker (d4e5f6…)
│   └── parse-worker (778899…)
└── summarize-worker (aabbcc…)

aasm topology team

Show all agents belonging to a single team.

NameTypeDefaultDescription
<TEAM_ID>string (arg)Team ID.
--status <STATUS>stringFilter members by status.
--show-budgetflagoffInclude governance level in agent nodes.
aasm topology team research --status active

aasm topology lineage

Show an agent’s complete ancestry chain, ordered root-first.

NameTypeDefaultDescription
<AGENT_ID>string (arg)Agent ID (hex-encoded UUID).
--show-permissionsflagoffAfter the lineage, also print the agent’s effective capability set with cascade provenance.
aasm topology lineage 778899… --show-permissions
root-bot (a1b2c3…)
└── fetch-worker (d4e5f6…)
    └── parse-worker (778899…)   ← target

aasm topology stats

Show aggregate topology statistics — total/root/active/suspended counts, max depth, team sizes, and depth/spawn histograms. Takes no flags of its own (uses the global --output).

aasm topology stats --output json
Total agents:    42
Root agents:     5
Max depth:       4
Active:          38   Suspended: 3   Deregistered: 1
Teams:           5
Avg children/parent: 2.31

Last updated: 2026-06-11 by Chisanan232