Skip to main content
Streams live session events from a running agent. Events include assistant text, tool invocations, tool results, errors, cost updates, and PR links. The stream stays open until the session ends or you press Ctrl-C.

Synopsis

On a VM, the slug is optional. If you omit it, the command watches the current agent’s own session.

Arguments

Event kinds

Each event has a timestamp and a kind that determines which fields are present. The human-readable output prints every kind above except USER_TEXT, the WORKFLOW_* kinds, and AI_TITLE. Use --json to see them. Events from sub-agents are indented and, when the event carries one, prefixed with the sub-agent identifier in brackets.

Examples

Watch a running agent

Resume after a disconnect

When the stream disconnects, murmur session watch prints the last event ID to stderr:
Resume from where you left off:

JSON output for scripting

Each line is a complete JSON object with an id field (the event ID) and an event field containing the session event payload. Field names are snake_case (tool_name, stop_reason), kind is the numeric SessionEventKind value, and at is an object with seconds and nanos.

Watch with sub-agent output

When the agent spawns sub-agents, their events appear indented with a prefix:

Errors