Repository navigation
cli reference
Hanwen Cheng edited this page Nov 5, 2026
·
16 revisions
This reference is generated from the public terrier command parser. Run commands locally from the repository root. Regenerate it with python3 scripts/generate-cli-reference.py; the source test lane rejects stale output.
See local services, local agents and test lanes for prerequisites, state effects and measured qualification. Every signing identity is development-only. Command availability does not imply complete browser or release acceptance.
Agent Terrier local development tools
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| subcommand | yes | manage, stack, test, models, contracts, chain, services, channel, memory, audit, cred, agent, browser, owner, device | Select a command below. |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | start, status, doctor, logs, stop, restart, reset | |
| --confirm-state | no | Required for reset: exact absolute selected local state directory | |
| --chain-port | no | Loopback RPC port; defaults to the saved profile | |
| --bin-dir | no | ||
| --broker-port | no | ||
| --runtime-disk-policy | no | Explicit JSON development disk policy; persisted with runtime configuration | |
| --runtime-image | no | ||
| --docker-socket | no | ||
| --model-dir | no | Own a local model runner using predownloaded models | |
| --model-binary | no | Installed Ollama executable; requires --model-dir | |
| --website | no | Own the prebuilt local web console | |
| --web-port | no | First website port; requires --website and otherwise selects a free port | |
| --web-host | no | localhost, 127.0.0.1 | Explicit website origin host; requires --website and stopped services to change an existing origin |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| lane | yes | source, core, focused, affected, regression, qualification | |
| --component | no | protocol, runtime, broker, signer, relay, bundler, daemon, storage, cli, ui, display, dsh, managed, contracts, provisioner, chain, services, agents, website, security, audit | |
| --changed-file | no | Changed repository-relative path; include old and new paths for renames | |
| --changed-files-json | no | JSON array of changed repository-relative paths | |
| --revision | no | Exact reviewed public commit for isolated security qualification | |
| --online | no | Explicitly prepare selected Rust/contract dependencies | |
| --report | no | New JSON report path outside the checkout | |
| --plan | no | Print selection without running tools |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | config, probe | |
| --base-url | no | ||
| --chat-model | no | ||
| --embedding-model | no |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | setup, build, test | |
| --offline | no | Use downloaded dependencies only | |
| --match-test | no | Run matching contract tests |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | start, status, stop, logs, deploy | |
| --port | no | Loopback RPC port for chain start | |
| --offline | no | Deploy using downloaded dependencies only | |
| --resume | no | Explicitly resume an interrupted deployment |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | start, status, doctor, logs, stop | |
| --bin-dir | no | Directory containing built public service binaries | |
| --broker-port | no | Broker port for the first service startup | |
| --runtime-disk-policy | no | Explicit JSON development disk policy; persisted with runtime configuration | |
| --runtime-image | no | Enable the managed runtime with a reviewed preloaded local image | |
| --docker-socket | no | Explicit local Docker Unix socket; required with --runtime-image | |
| --model-dir | no | Own a local model runner using predownloaded models | |
| --model-binary | no | Installed Ollama executable; requires --model-dir | |
| --website | no | Own the prebuilt local web console | |
| --web-port | no | First website port; requires --website and otherwise selects a free port | |
| --web-host | no | localhost, 127.0.0.1 | Explicit website origin host; requires --website and stopped services to change an existing origin |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | publish, poll | |
| channel | yes | ||
| --name | yes | Existing local owner name | |
| --text-stdin | no | Read exact UTF-8 text for publish | |
| --after | no | Poll after this opaque cursor | |
| --wait-seconds | no | 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 | Bounded long poll; 0 returns immediately |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | plant, read | |
| namespace | yes | ||
| --name | yes | ||
| --key | no | Stable entry key; required for plant | |
| --title | no | ||
| --body-stdin | no | Read exact UTF-8 knowledge body for plant |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | append, fetch, anchor, list, recent, decode | |
| --name | yes | ||
| --hash | no | ||
| --id | no | ||
| --cursor | no | ||
| --limit | no | ||
| --op-kind | no | ||
| --body-stdin | no |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | store, fetch | |
| service | yes | ||
| --name | yes | Local owner name | |
| --secret-stdin | no | Read exact UTF-8 input for store |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| subcommand | yes | spawn, archive, receipt, bridge | Select a command below. |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| --name | yes | Existing local owner name | |
| --memory-ns | no | ||
| --label | yes | ||
| --preset-id | no | ||
| --memory-inherited | no |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| --name | yes | Existing local owner name | |
| --memory-ns | no | ||
| --device-key-hash | yes |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| --name | yes | Existing local owner name | |
| --user-op-hash | yes |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| --name | yes | Existing local owner name | |
| --device-key-hash | yes | ||
| --sandbox-id | no | ||
| --path | yes | Existing broker-allowlisted route | |
| --method | no | GET, POST | |
| --json-stdin | no | ||
| --timeout-seconds | no |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | approve | |
| --name | yes | Existing local owner name | |
| --request-file | yes | Public approval request downloaded from the browser | |
| --confirm-device-key-hash | yes | Full device fingerprint independently compared with the browser |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | register, grant, revoke, bind, unbind, login | |
| --name | yes | Local owner name | |
| --actor-omni | no | ||
| --service | no | ||
| --read-only | no | ||
| --enrollment-file | no | ||
| --broker-url | no | Loopback broker endpoint for owner login |
| Argument | Required | Choices | Description |
|---|---|---|---|
| -h, --help | no | show this help message and exit | |
| action | yes | identity | |
| --name | yes | ||
| --operator-omni | yes | ||
| --label | yes | ||
| --kind | yes | device, delegate |
Canonical source · revision 440a33e36165407775ab0fe527dc758f1aca7cd9.