2.4.1-beta.1) — updated automatically on every beta release.Switch to stable →CLI commands
ak
AgentKit CLI
ak is the AgentKit command-line interface — a multi-agent toolkit for both power developers who script against the CLI and non-technical users working through the TUI or desktop GUI. It covers the full project lifecycle, with expert kit and skill commands available when you need finer control.
When to use it: Reach for ak as your daily driver for AgentKit work — onboarding a project with ak init, previewing refreshes with ak update, checking your setup with ak doctor, and running agent operations. Start with the top-level lifecycle commands and drop into the ak kit and ak skill families when a task needs more precise control.
The root command is read-only; each subcommand documents its own disk effects. Scripted --json output is wrapped in a versioned success envelope (schema_version, kind, data).
Examples
ak init # onboard the current project
ak update # preview project refreshes; add --yes to apply
ak doctor # check setup and get the next command
ak uninstall # preview removal of AK-owned project files
ak gui # open the desktop UI
ak kit list-kits # advanced: inspect available kitsFlags
| Flag | Description |
|---|---|
-h, --help | help for ak |
Output modes
| Mode | Behavior |
|---|---|
pretty | default on TTY (colors, ASCII markers) |
plain | auto when stdout piped or --no-interactive |
json | --json (single-object envelope, NDJSON-safe) |
Exit codes
| Code | Meaning |
|---|---|
0 | success |
1 | runtime error |
2 | invalid flags |
3 | user-cancel (SIGINT, prompt-cancel) |
Related commands
ak activity— Inspect the local AgentKit activity feedak agents— Per-agent management commandsak api— Run a local API + proxy server for AgentKitak audit— Check installed kits for driftak backups— Manage rollback snapshotsak changelog— Show verified CLI, app, and kit release changelogsak codex-agent-runtime— Codex agent MCP dispatch runtime.ak commands— Per-slash-command management commandsak config— Open the local AgentKit dashboardak content— Publish content to channelsak diagnostics— Export redacted support diagnosticsak doctor— Run health checks on the AgentKit installationak feedback— Send or export product feedbackak gui— Launch the AgentKit desktop GUIak init— Initialize an AgentKit projectak kit— Kit management commandsak licenses— Show licensed AgentKit kitsak login— Log in to AgentKitak logout— Clear local AgentKit credentialsak mcp— Inspect local MCP server configurationak migrate— Migrate an existing ClaudeKit install to AgentKitak new— Bootstrap a new AgentKit projectak plan— Manage AgentKit plan directoriesak projects— Manage the global AK project registryak recover— Recover AgentKit state from a snapshotak run— Run a skill via the configured agent adapterak self-update— Check or apply signed AgentKit binary updatesak sessions— Inspect and maintain local coding-agent sessionsak setup— Guided first-run configuration wizard for AgentKitak skill— Manage per-skill runtime envsak skills— Browse and install kit skillsak uninstall— Remove an AK-managed projectak update— Preview or apply AgentKit-owned project refreshesak versions— List local versions for ak, kits, and skillsak watch— Watch a GitHub repository and auto-respond to issuesak whoami— Show current AgentKit login and licensed kits
Docs / feedback: https://github.com/bestagentkits/agentkit-support