CLI commands
ak activity list
List recent local activity events
ak activity list
List recent local activity events
Synopsis
What it does: Returns a finite snapshot of the local activity log, newest first. The JSON shape mirrors the dashboard activity API event schema.
Who it's for: Reviewers, scripts, and AI agents that need activity evidence without opening the desktop app.
When to use it:
Use before or after ak run to inspect recent run.started, run.completed, and run.failed events.
Examples: ak activity list ak activity list --json ak activity list --limit 20 --since 00000000000000000000-000000 --json
What changes on disk: Read-only. Reads ~/.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 list [flags]Options
-h, --help help for list
--json Emit machine-readable JSON (implies --no-interactive)
--limit int Maximum events to return (default 100)
--no-interactive Disable interactive prompts (CI-safe)
-q, --quiet Suppress non-error output on stderr
--since string Return events with IDs greater than this cursor
-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