Reference
Command line (acc)
Every acc command and flag, and the environment variables the engine reads.
Running acc#
From a checkout, run pnpm acc <command> (or node packages/daemon/src/cli.ts <command>). The daemon package also has an acc launcher at packages/daemon/bin/acc. Running acc with no command prints a short summary.
Commands that talk to a running daemon (open, status, kill-all, release, context) find it through daemon.json in the data folder, trying --data-dir, then ACC_DATA_DIR or the default data folder, then the demo's. They authenticate with the install token, which only your user can read.
acc daemon#
Start the supervisor and the dashboard on 127.0.0.1.
acc daemon [--config <file>] [--port <n>] [--no-probe]| Flag | Meaning |
|---|---|
--config | The configuration file. See Configuration lookup. |
--port | Port to listen on. Default: ACC_PORT, then server.port, then 7317. |
--no-probe | Skip probing the agents' CLIs at start |
It prints the URL, the config and data folders, the tracker (and whether it is a dry run), and a one-time sign-in link. Ctrl+C shuts it down gracefully; agent runs keep going and are reattached on the next start.
acc open#
Print and open a one-time sign-in link for a browser. The link is valid for 2 minutes.
acc open [--print] [--data-dir <dir>]--print prints the link without opening a browser. open also finds the demo's daemon.
acc onboard#
List every copy of each supported vendor CLI on this machine (on PATH and inside app bundles), with versions, the pinned copy (*), newer builds you could pin with binary:, the login command and the agents configured for it. One Connect never bundles or proxies these tools.
acc doctor#
Check the setup without starting anything: whether the data folder is durable, the configuration parses, the repository is a git repository, the integration and protected branches exist, the tracker mode, the configured agents, and whether a daemon is running.
acc check#
Run committed-source checks in the configured Docker runtime, without an agent or a daemon.
acc check --config <file> [--sha <ref>] [--worktree <dir>] [--only test,lint] [--log-dir <dir>]| Flag | Meaning |
|---|---|
--sha | The commit to check. Default HEAD. |
--worktree | Check another worktree of the same repository |
--only | Comma-separated check names. Default: required_checks, or all checks. |
--log-dir | Where to write check logs. Default: a new temporary folder. |
It prints a JSON result with the SHA, the image ID, the runtime and each check's result, and exits with status 1 when any check failed or was unavailable. See Project checks in Docker.
acc status#
Print every agent with its status, its Now item and how many items are queued Next, followed by open alerts.
acc kill-all and acc release#
acc kill-all # stop every run now and block dispatch
acc release # release the kill switchkill-all asks the daemon to engage the kill switch. If the daemon is unreachable, it kills every runner process group directly, after verifying each runner's PID from its run folder.
acc context#
acc context # show the vault and code graph status as JSON
acc context sync # rewrite the vault notes and rebuild the code graph
acc context query <text> # search notes and the code graph togetheracc bench context#
acc bench context [--graphify <bin>] [--embedding-model <name>] [--json]Run the context benchmark on a disposable corpus. --graphify adds the Graphify arm, --embedding-model adds the hybrid arm with an already-installed local model, and --json prints the full result. Exits with status 1 on any regression.
acc rebuild#
Rebuild the projected state by replaying the entire event log, then save a fresh snapshot. Run it with the daemon stopped.
acc project#
A machine interface used by the Mac app's project registry. Each subcommand prints one JSON object and runs no project scripts.
| Subcommand | Flags | Does |
|---|---|---|
inspect | --dir | Describe a repository for onboarding |
prepare | --dir, --config-dir, --name | Bind a repository and write its generated configuration |
describe-config | --config | Describe an existing configuration |
clone-plan | --url, --parent, --name | Plan a clone and return its digest |
clone | --url, --parent, --name, --digest | Run exactly the planned clone |
init-plan | --dir | Plan a git init and return its digest |
init | --dir, --digest | Run exactly the planned git init |
pnpm scripts#
| Script | Does |
|---|---|
pnpm acc … | Run the command line |
pnpm daemon | acc daemon |
pnpm demo | Start the zero-usage demo |
pnpm demo:open | acc open |
pnpm build | Build the web UI |
pnpm dev:web | Vite dev server on port 5173, proxied to the daemon |
pnpm test, pnpm test:watch | Run the test suite |
pnpm typecheck | Type-check every package |
pnpm spdx:check | Check SPDX headers and manifest licenses |
pnpm license:check, pnpm license:notices | Check dependency licenses, regenerate THIRD_PARTY_NOTICES.md |
pnpm dco:check | Check DCO sign-offs |
pnpm desktop:prepare, desktop:dev, desktop:build, desktop:dmg, desktop:check | Build and run the Mac app |
Environment variables#
| Variable | Used by | Meaning |
|---|---|---|
ACC_CONFIG | acc | Configuration file, when --config is not given |
ACC_DATA_DIR | engine | Data folder. Default: ~/Library/Application Support/AgentControlCenter on macOS, $XDG_STATE_HOME/agent-control-center on Linux. |
ACC_ALLOW_TEMP_DATA_DIR | engine | 1 allows a data folder inside a temp directory. Development only. |
ACC_PORT | acc daemon | Port, when --port is not given |
ACC_DEMO_DIR | demo, acc | Where the demo keeps its data |
ACC_DEV_ORIGIN | acc daemon | Comma-separated extra origins allowed for development. Default: the Vite dev server on port 5173. |
ACC_ALLOWED_HOSTS | acc daemon | Comma-separated extra Host values to accept |
ACC_DAEMON_URL | pnpm dev:web | Daemon the Vite dev server proxies to. Default http://127.0.0.1:7317. |
ACC_LOCAL_MODELS_DIR, ACC_LLAMA_SERVER | Mac app engine | Set by the app: the bundled local models and the llama-server binary |
ACC_DESKTOP | Mac app engine | Set by the app; the daemon then prints no sign-in link |
LINEAR_API_KEY | Linear tracker | Used when no key is stored in the Keychain |