moa_status_agents
Get live status of agents and sessions with aggregate counts and per-agent details. Filter by session ID or limit, with explicit staleness indicators.
Instructions
Live agent/session status folded from the CLI homes' session trees (wire.jsonl / state.json / tasks/*.json) plus the owning Bus's /status snapshot. Returns aggregate counts plus per-agent snapshots ordered by lastSeen (most recent first), capped at 100 by default (pass limit or sessionId to filter). source is 'local' when this process folds the data itself, 'remote' when a reuse session proxies the owning Bus's /status, and 'local-empty' when nothing is available yet — the state is always explicit, never silently stale.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max agents to return (default 100) | |
| sessionId | No | Only return agents of this sessionId |