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 watch status

Show current watch state (all repos, or a specific one)

Report each watched repository: whether its watcher is active, when it last polled, how many issues it has responded to, and the rate-limit budget. Pass owner/repo to scope to one.

Who it's for: Both: scripts checking whether a watcher is alive (--json) and users auditing background watchers.

When to use it: After ak watch start --daemon to confirm a watcher is running, or to inspect responded counts.

What changes on disk: Read-only. Reads ~/.agentkit/watch/<repo-slug>/state.json (AGENTKIT_HOME overrides the base dir). Unreadable or corrupt state files are skipped in the all-repos listing.

Usage

ak watch status [owner/repo] [flags]

Examples

ak watch status
ak watch status owner/repo
ak watch status --json

Flags

FlagDescription
-h, --helphelp for status
--jsonEmit machine-readable JSON (implies --no-interactive)
--no-interactiveDisable interactive prompts (CI-safe)
-q, --quietSuppress non-error output on stderr
-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 watch — Watch a GitHub repository and auto-respond to issues

On this page