CLI commands
ak activity tail
Stream new local activity events
ak activity tail
Stream new local activity events
Synopsis
What it does: Follows the local activity log and prints events as they are appended. Use Ctrl-C or cancel the process to stop.
Who it's for: AI agents, CI monitors, and developers that need a live CLI equivalent of the desktop activity stream.
When to use it:
Use while another process runs ak run or other activity-producing commands.
Examples: ak activity tail ak activity tail --json
What changes on disk: Read-only. Tails ~/.agentkit/activity/events.ndjson; AGENTKIT_HOME overrides the base dir.
Output modes: pretty default on TTY (colors, ASCII markers) plain auto when stdout piped or --no-interactive json --json (single-object envelope, NDJSON-safe)
Exit codes: 0 success 1 runtime error 2 invalid flags 3 user-cancel (SIGINT, prompt-cancel)
ak activity tail [flags]Options
-h, --help help for tail
--json Emit machine-readable JSON (implies --no-interactive)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
-V, --verbose Extra diagnostic output on stderr (loses to --quiet)
-y, --yes Assume yes for all promptsSEE ALSO
- ak activity - Inspect the local AgentKit activity feed