Bảng điều khiển AK CLI

AgentKit CLI Quick Reference

Danh sách lệnh aksetup , kit , account , inspect , config . Copy mẫu lệnh; xem flag chính.

Nguồn: ak --help (AgentKit CLI). Universal flags: --json , --yes , --no-interactive , --quiet .

45
Lệnh
5
Nhóm
ak
CLI
quick copy
01

Vòng đời & cài đặt

8 lệnh
ak init

Khởi tạo project AgentKit trong thư mục hiện tại

--dry-run--force--docs-dir--plans-dir--project-id--no-backup
$ ak init
ak new

Tạo project AgentKit mới

$ ak new myproj
ak setup

Wizard cấu hình lần đầu

$ ak setup
ak onboard

Chỉ chạy bước còn thiếu (setup, login, cài Kit). --yes không ghi đè hay takeover.

--kit--target--channel--global--project-dir--email--yes--no-interactive
$ ak onboard --kit engineer --target codex
ak self-update

Kiểm tra hoặc cài bản CLI ak đã ký

--check--channel--beta--dry-run--include-desktop--changelog--enable-auto-update--disable-auto-update
$ ak self-update --check
ak update

Xem trước hoặc làm mới kit/project do AgentKit quản lý

--dry-run--yes--force--global--channel--beta--kits--local--remote--target--show-diff
$ ak update --dry-run
ak uninstall

Gỡ project do AgentKit quản lý

$ ak uninstall
ak gui

Mở AgentKit Desktop

$ ak gui
02

Kit, skill & agent

10 lệnh
ak kit

Quản lý kit: liệt kê, cài, làm mới, gỡ

initinstallinstall-pathlist-kitsrefreshrepair-install-modeuninstallvalidate
$ ak kit list-kits
ak kit init

Cài hoặc build một kit

$ ak kit init engineer --yes
ak kit refresh

Làm mới kit đã cài và xóa file generate cũ

$ ak kit refresh engineer
ak kit uninstall

Gỡ kit khỏi project hiện tại hoặc thư mục adapter. Mặc định dry-run; thêm --yes mới ghi.

$ ak kit uninstall engineer --dry-run
ak skills

Xem, tìm, cài hoặc gỡ từng skill trong kit

graphinstalllistremovesearchshow
$ ak skills list
ak skill

Quản lý môi trường runtime theo từng skill

$ ak skill
ak agents

Quản lý agent đã cài

$ ak agents
ak run

Chạy một skill qua adapter đã cấu hình

$ ak run engineer/scout
ak commands

Quản lý slash command

$ ak commands
ak content

Xuất nội dung lên channel

$ ak content
03

Tài khoản

4 lệnh
ak login

Đăng nhập AgentKit (email OTP, license key, hoặc API key)

--email--license-key--api-key--device-name
$ ak login --email you@example.com
ak logout

Xóa thông tin đăng nhập local

$ ak logout
ak whoami

Xem tài khoản đang đăng nhập và kit được cấp

$ ak whoami
ak licenses

Liệt kê kit đã được cấp phép

$ ak licenses
04

Kiểm tra & chẩn đoán

14 lệnh
ak doctor

Kiểm tra sức khỏe bản cài AgentKit

--json--adapter--check--fix--list--offline--exit-on-fail
$ ak doctor --json
ak audit

So kit đã cài với bản gốc, tìm chỗ bị lệch

$ ak audit
ak backups

Quản lý snapshot để rollback

$ ak backups
ak recover

Khôi phục một snapshot (cùng lệnh ak backups restore)

--dry-run--latest--allow-root
$ ak recover <id> --dry-run
ak journal

Tạo, xem, kiểm tra nhật ký công việc trong plan storage

createlistshowvalidate
$ ak journal list
ak activity

Xem activity feed local

$ ak activity
ak analytics

Bật/tắt/làm mới chỉ mục analytics local (không gửi đi đâu)

statusenabledisablerefreshrebuilddelete
$ ak analytics status
ak data

Xem chính sách giữ data dẫn xuất và chạy ingest có giới hạn

statusretentioningest
$ ak data status
ak sessions

Xem và bảo trì session coding agent local

$ ak sessions
ak diagnostics

Xuất gói chẩn đoán đã che thông tin nhạy cảm

$ ak diagnostics
ak versions

Liệt kê phiên bản local của ak, kit và skill

$ ak versions
ak changelog

Xem changelog đã xác thực của CLI, app và kit

--channel--target--from--full--since-current--json
$ ak changelog --channel stable --target cli
ak feedback

Gửi hoặc xuất feedback sản phẩm

$ ak feedback
05

Cấu hình & runtime

9 lệnh
ak config

Mở dashboard AgentKit local

$ ak config
ak mcp

Xem cấu hình MCP server local

$ ak mcp
ak migrate

Chuyển bản cài ClaudeKit sang AgentKit. Mặc định chỉ xem trước; ghi thật cần --yes

prefsrollback --from--dry-run--yes--switch-to-plugin--force-unlock
$ ak migrate --from=ck
ak projects

Quản lý registry project AgentKit trên máy

$ ak projects
ak plan

Quản lý thư mục plan

$ ak plan
ak api

Chạy API + proxy local cho AgentKit

$ ak api
ak watch

Theo dõi repo GitHub và trả lời issue tự động

$ ak watch
ak orchestrate

Chạy và giám sát job graph CLI (chỉ macOS)

startstatusresumestop
$ ak orchestrate status <run-id>
ak codex-agent-runtime

Runtime MCP để Codex gọi agent

$ ak codex-agent-runtime