AgentKit
ReferenceCLI commands
BetaYou are reading docs for the beta channel (2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →

CLI commands

ak activity list

List recent local activity events

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.

What changes on disk: Read-only. Reads ~/.agentkit/activity/events.ndjson; AGENTKIT_HOME overrides the base dir.

Usage

ak activity list [flags]

Examples

ak activity list
ak activity list --json
ak activity list --limit 20 --since 00000000000000000000-000000 --json

Flags

FlagDescription
-h, --helphelp for list
--jsonEmit machine-readable JSON (implies --no-interactive)
--limit intMaximum events to return (default 100)
--no-interactiveDisable interactive prompts (CI-safe)
-q, --quietSuppress non-error output on stderr
--since stringReturn events with IDs greater than this cursor
-V, --verboseExtra diagnostic output on stderr (loses to --quiet)
-y, --yesAssume yes for all prompts

Output modes

ModeBehavior
prettydefault on TTY (colors, ASCII markers)
plainauto when stdout piped or --no-interactive
json--json (single-object envelope, NDJSON-safe)

Exit codes

CodeMeaning
0success
1runtime error
2invalid flags
3user-cancel (SIGINT, prompt-cancel)
  • ak activity — Inspect the local AgentKit activity feed

On this page