CLI reference
Generated from the Rust CLI by cargo xtask generate. Do not edit by hand.
agentctl
Section titled “agentctl”Deterministic, declarative control plane for policy-constrained agentic automation
Usage: agentctl [OPTIONS] <COMMAND>
Commands: check Validate syntax, schema, references, capabilities, policy, and templates plan Print the deterministic compiled plan run Execute a workflow, or predict it with --check resume Continue an interrupted or approval-paused run replay Reconstruct a terminal run only from recorded state and results fork Create a new run from a prior workflow with fresh effects repair Create a new run that reuses compatible upstream results and executes a repaired suffix retry Retry failed or selected boundaries of an identical terminal workflow compensate Execute explicitly declared best-effort compensation for a terminal run runs Analyze or upgrade retained legacy run records for selective reuse cancel Durably request cancellation inspect Inspect durable run, task, and audit state effects Inspect or narrowly reconcile uncertain effects approvals List or resolve durable approval requests providers Inspect provider capabilities or run the opt-in OpenAI smoke auth Check configured secret references without revealing values schema Print or write the generated workflow JSON Schema migrate Translate an unversioned TypeScript-era workflow into workflow API v1 packs Inspect and verify a local reusable pack artifacts Inspect, verify, export, or collect durable artifacts db Inspect the runtime database memory Read or write namespaced long-term memory gc Garbage-collect expired memory and old terminal runs completion Generate completion for a supported shell version Print the exact build version update Explain safe update options without modifying the installation
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print help -V, --version Print versionagentctl check
Section titled “agentctl check”Validate syntax, schema, references, capabilities, policy, and templates
Usage: agentctl check [OPTIONS] <FILE>
Arguments: <FILE>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl plan
Section titled “agentctl plan”Print the deterministic compiled plan
Usage: agentctl plan [OPTIONS] <FILE>
Arguments: <FILE>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl run
Section titled “agentctl run”Execute a workflow, or predict it with --check
Usage: agentctl run [OPTIONS] <FILE>
Arguments: <FILE>
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --inputs <INPUTS>
--inputs-file <INPUTS_FILE>
--verbose
--input <KEY=VALUE>
--offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift --workspace <WORKSPACE>
--timeout-seconds <TIMEOUT_SECONDS>
--check
--diff
--interactive
-h, --help Print helpagentctl resume
Section titled “agentctl resume”Continue an interrupted or approval-paused run
Usage: agentctl resume [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --diff
--interactive
--verbose
--offline Forbid pack network access and require cached Git/archive sources --workspace <WORKSPACE>
--locked Require agentctl.pack.lock and reject all source or graph drift --timeout-seconds <TIMEOUT_SECONDS>
-h, --help Print helpagentctl replay
Section titled “agentctl replay”Reconstruct a terminal run only from recorded state and results
Usage: agentctl replay [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl fork
Section titled “agentctl fork”Create a new run from a prior workflow with fresh effects
Usage: agentctl fork [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --interactive
--diff
--verbose
--offline Forbid pack network access and require cached Git/archive sources --workspace <WORKSPACE>
--locked Require agentctl.pack.lock and reject all source or graph drift --timeout-seconds <TIMEOUT_SECONDS>
-h, --help Print helpagentctl repair
Section titled “agentctl repair”Create a new run that reuses compatible upstream results and executes a repaired suffix
Usage: agentctl repair [OPTIONS] --from <FROM> <FILE> <SOURCE_RUN_ID>
Arguments: <FILE> <SOURCE_RUN_ID>
Options: --from <FROM>
--output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --plan
--restart-successful
--verbose
--offline Forbid pack network access and require cached Git/archive sources --reason <REASON>
--db <DB> [default: .agentctl/runtime.db] --locked Require agentctl.pack.lock and reject all source or graph drift --interactive
--diff
--workspace <WORKSPACE>
--timeout-seconds <TIMEOUT_SECONDS>
-h, --help Print helpagentctl retry
Section titled “agentctl retry”Retry failed or selected boundaries of an identical terminal workflow
Usage: agentctl retry [OPTIONS] <FILE> <SOURCE_RUN_ID>
Arguments: <FILE> <SOURCE_RUN_ID>
Options: --failed
--output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --from <FROM>
--plan
--verbose
--offline Forbid pack network access and require cached Git/archive sources --restart-successful
--locked Require agentctl.pack.lock and reject all source or graph drift --reason <REASON>
--db <DB> [default: .agentctl/runtime.db] --interactive
--diff
--workspace <WORKSPACE>
--timeout-seconds <TIMEOUT_SECONDS>
-h, --help Print helpagentctl compensate
Section titled “agentctl compensate”Execute explicitly declared best-effort compensation for a terminal run
Usage: agentctl compensate [OPTIONS] <SOURCE_RUN_ID>
Arguments: <SOURCE_RUN_ID>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --task <TASK>
--color <COLOR> [default: auto] [possible values: auto, always, never] --plan
--db <DB> [default: .agentctl/runtime.db] --verbose
--interactive
--offline Forbid pack network access and require cached Git/archive sources --diff
--locked Require agentctl.pack.lock and reject all source or graph drift --workspace <WORKSPACE>
--timeout-seconds <TIMEOUT_SECONDS>
-h, --help Print helpagentctl runs
Section titled “agentctl runs”Analyze or upgrade retained legacy run records for selective reuse
Usage: agentctl runs [OPTIONS] <COMMAND>
Commands: analyze Prove reusable legacy metadata without changing the source run upgrade Transactionally persist every legacy field that can be proven
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl runs analyze
Section titled “agentctl runs analyze”Prove reusable legacy metadata without changing the source run
Usage: agentctl runs analyze [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl runs upgrade
Section titled “agentctl runs upgrade”Transactionally persist every legacy field that can be proven
Usage: agentctl runs upgrade [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --dry-run --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl cancel
Section titled “agentctl cancel”Durably request cancellation
Usage: agentctl cancel [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl inspect
Section titled “agentctl inspect”Inspect durable run, task, and audit state
Usage: agentctl inspect [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl effects
Section titled “agentctl effects”Inspect or narrowly reconcile uncertain effects
Usage: agentctl effects [OPTIONS] <COMMAND>
Commands: list inspect continue-remote Resume observation of a persisted remote task without resubmitting it reconcile
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl effects list
Section titled “agentctl effects list”Usage: agentctl effects list [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --task <TASK> --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl effects inspect
Section titled “agentctl effects inspect”Usage: agentctl effects inspect [OPTIONS] <EFFECT_ID>
Arguments: <EFFECT_ID>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl effects reconcile
Section titled “agentctl effects reconcile”Usage: agentctl effects reconcile [OPTIONS] --status <STATUS> --reason <REASON> <EFFECT_ID>
Arguments: <EFFECT_ID>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --status <STATUS> [possible values: applied, not-applied, compensated] --actor <ACTOR> [default: cli-user] --color <COLOR> [default: auto] [possible values: auto, always, never] --reason <REASON>
--verbose
--evidence-file <EVIDENCE_FILE>
--offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift --result-file <RESULT_FILE>
--result-schema-file <RESULT_SCHEMA_FILE>
--compensation-effect <COMPENSATION_EFFECT>
--approved
-h, --help Print helpagentctl approvals
Section titled “agentctl approvals”List or resolve durable approval requests
Usage: agentctl approvals [OPTIONS] <COMMAND>
Commands: list approve reject
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl approvals list
Section titled “agentctl approvals list”Usage: agentctl approvals list [OPTIONS] <RUN_ID>
Arguments: <RUN_ID>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl approvals approve
Section titled “agentctl approvals approve”Usage: agentctl approvals approve [OPTIONS] --reason <REASON> <APPROVAL_ID>
Arguments: <APPROVAL_ID>
Options: --actor <ACTOR> [default: cli-user] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --reason <REASON> --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl approvals reject
Section titled “agentctl approvals reject”Usage: agentctl approvals reject [OPTIONS] --reason <REASON> <APPROVAL_ID>
Arguments: <APPROVAL_ID>
Options: --actor <ACTOR> [default: cli-user] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --reason <REASON> --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl providers
Section titled “agentctl providers”Inspect provider capabilities or run the opt-in OpenAI smoke
Usage: agentctl providers [OPTIONS] <COMMAND>
Commands: inspect smoke-openai
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl providers inspect
Section titled “agentctl providers inspect”Usage: agentctl providers inspect [OPTIONS] <FILE>
Arguments: <FILE>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl providers smoke-openai
Section titled “agentctl providers smoke-openai”Usage: agentctl providers smoke-openai [OPTIONS] --live
Options: --live Required acknowledgement that this performs one bounded live request --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --model <MODEL> [default: gpt-5.6] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl auth
Section titled “agentctl auth”Check configured secret references without revealing values
Usage: agentctl auth [OPTIONS] <COMMAND>
Commands: check
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl schema
Section titled “agentctl schema”Print or write the generated workflow JSON Schema
Usage: agentctl schema [OPTIONS]
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --write <WRITE> --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl migrate
Section titled “agentctl migrate”Translate an unversioned TypeScript-era workflow into workflow API v1
Usage: agentctl migrate [OPTIONS] <FILE>
Arguments: <FILE>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --write <WRITE> --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl packs
Section titled “agentctl packs”Inspect and verify a local reusable pack
Usage: agentctl packs [OPTIONS] <COMMAND>
Commands: inspect verify lock Resolve the complete graph and write agentctl.pack.lock update Refresh the locked graph from immutable sources verify-lock Verify a lockfile, source digests, signatures, and trust policy
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl packs inspect
Section titled “agentctl packs inspect”Usage: agentctl packs inspect [OPTIONS] <MANIFEST>
Arguments: <MANIFEST>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl packs verify
Section titled “agentctl packs verify”Usage: agentctl packs verify [OPTIONS] --integrity <INTEGRITY> <MANIFEST>
Arguments: <MANIFEST>
Options: --integrity <INTEGRITY> --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl packs lock
Section titled “agentctl packs lock”Resolve the complete graph and write agentctl.pack.lock
Usage: agentctl packs lock [OPTIONS] <WORKFLOW>
Arguments: <WORKFLOW>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl packs update
Section titled “agentctl packs update”Refresh the locked graph from immutable sources
Usage: agentctl packs update [OPTIONS] <WORKFLOW>
Arguments: <WORKFLOW>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --pack <PACK> --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl packs verify-lock
Section titled “agentctl packs verify-lock”Verify a lockfile, source digests, signatures, and trust policy
Usage: agentctl packs verify-lock [OPTIONS] <WORKFLOW>
Arguments: <WORKFLOW>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl artifacts
Section titled “agentctl artifacts”Inspect, verify, export, or collect durable artifacts
Usage: agentctl artifacts [OPTIONS] <COMMAND>
Commands: list inspect verify export gc
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl artifacts list
Section titled “agentctl artifacts list”Usage: agentctl artifacts list [OPTIONS]
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --run <RUN> --color <COLOR> [default: auto] [possible values: auto, always, never] --task <TASK> --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl artifacts inspect
Section titled “agentctl artifacts inspect”Usage: agentctl artifacts inspect [OPTIONS] <DIGEST>
Arguments: <DIGEST>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl artifacts verify
Section titled “agentctl artifacts verify”Usage: agentctl artifacts verify [OPTIONS] [DIGEST]
Arguments: [DIGEST]
Options: --all --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl artifacts export
Section titled “agentctl artifacts export”Usage: agentctl artifacts export [OPTIONS] <DIGEST> <DESTINATION>
Arguments: <DIGEST> <DESTINATION>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --overwrite --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl artifacts gc
Section titled “agentctl artifacts gc”Usage: agentctl artifacts gc [OPTIONS]
Options: --older-than-days <OLDER_THAN_DAYS> [default: 30] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --dry-run
--verbose
--offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl db
Section titled “agentctl db”Inspect the runtime database
Usage: agentctl db [OPTIONS] <COMMAND>
Commands: stats migrate encryption
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl db encryption
Section titled “agentctl db encryption”Usage: agentctl db encryption [OPTIONS] <COMMAND>
Commands: inventory Inventory protected fields without exposing their values enable Transactionally encrypt every identified sensitive field rotate Transactionally decrypt and re-encrypt every protected field with a new key
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl db encryption inventory
Section titled “agentctl db encryption inventory”Inventory protected fields without exposing their values
Usage: agentctl db encryption inventory [OPTIONS]
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl db encryption enable
Section titled “agentctl db encryption enable”Transactionally encrypt every identified sensitive field
Usage: agentctl db encryption enable [OPTIONS] --key-id <KEY_ID> --key-env <KEY_ENV>
Options: --key-id <KEY_ID> --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --key-env <KEY_ENV> Environment variable containing a base64-encoded 32-byte key --dry-run --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl db encryption rotate
Section titled “agentctl db encryption rotate”Transactionally decrypt and re-encrypt every protected field with a new key
Usage: agentctl db encryption rotate [OPTIONS] --key-id <KEY_ID> --key-env <KEY_ENV>
Options: --key-id <KEY_ID> --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --key-env <KEY_ENV> Environment variable containing a base64-encoded 32-byte key --dry-run --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl memory
Section titled “agentctl memory”Read or write namespaced long-term memory
Usage: agentctl memory [OPTIONS] <COMMAND>
Commands: get put search reindex
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl memory get
Section titled “agentctl memory get”Usage: agentctl memory get [OPTIONS] <NAMESPACE> <KEY>
Arguments: <NAMESPACE> <KEY>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl memory put
Section titled “agentctl memory put”Usage: agentctl memory put [OPTIONS] <NAMESPACE> <KEY> <VALUE>
Arguments: <NAMESPACE> <KEY> <VALUE>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --text <TEXT>
--color <COLOR> [default: auto] [possible values: auto, always, never] --metadata <METADATA>
--retention-days <RETENTION_DAYS>
--verbose
--offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl memory search
Section titled “agentctl memory search”Usage: agentctl memory search [OPTIONS] <NAMESPACE> <QUERY>
Arguments: <NAMESPACE> <QUERY>
Options: --mode <MODE> [default: text] [possible values: text, vector, hybrid] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --limit <LIMIT> [default: 10] --filter <KEY=JSON> --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl memory reindex
Section titled “agentctl memory reindex”Usage: agentctl memory reindex [OPTIONS] <NAMESPACE>
Arguments: <NAMESPACE>
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl gc
Section titled “agentctl gc”Garbage-collect expired memory and old terminal runs
Usage: agentctl gc [OPTIONS]
Options: --db <DB> [default: .agentctl/runtime.db] --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --older-than-days <OLDER_THAN_DAYS> [default: 30] --verbose
--offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl completion
Section titled “agentctl completion”Generate completion for a supported shell
Usage: agentctl completion [OPTIONS] <SHELL>
Arguments: <SHELL> [possible values: bash, elvish, fish, powershell, zsh]
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl version
Section titled “agentctl version”Print the exact build version
Usage: agentctl version [OPTIONS]
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpagentctl update
Section titled “agentctl update”Explain safe update options without modifying the installation
Usage: agentctl update [OPTIONS]
Options: --output <OUTPUT> [default: human] [possible values: human, json, jsonl] --color <COLOR> [default: auto] [possible values: auto, always, never] --verbose --offline Forbid pack network access and require cached Git/archive sources --locked Require agentctl.pack.lock and reject all source or graph drift -h, --help Print helpCanonical source:
docs/generated/CLI.md. Verified against agentctl commit2aeaa88fba71162206b5f08f5bda4f0150247e4f.