inferctl v0.1 verbs
Generated from internal/contract/capabilities.golden.json. Regenerate with go generate ./internal/contract.
inferctl doctor
Health, loaded models, and route resolution across configured backends.
- Mega-command:
DIAGNOSE - JSON data schema:
#/schemas/doctor_report - Exit codes:
0,3,4 - Emits data on failure:
false
Flags
--jsontype=booldefault=false--fasttype=booldefault=false--backendtype=stringdefault=<nil>
Example
inferctl doctor --json
inferctl backends
List configured backends with reachability status.
- JSON data schema:
#/schemas/backend_list - Exit codes:
0,3 - Emits data on failure:
false
Flags
--filtertype=stringdefault=<nil>--kindtype=stringdefault=<nil>--jsontype=booldefault=false--fasttype=booldefault=false
Example
inferctl backends --json
inferctl models
List installed or loaded models across configured backends.
- JSON data schema:
#/schemas/model_list - Exit codes:
0,3 - Emits data on failure:
false
Flags
--backendtype=stringdefault=<nil>--loadedtype=booldefault=false--installedtype=booldefault=true--jsontype=booldefault=false
Example
inferctl models --json
inferctl model
Inspect one model's backend placements, capabilities, stats, and routing usage.
- JSON data schema:
#/schemas/model_detail - Exit codes:
0,1,3 - Emits data on failure:
false
Args
model_namerequired=true
Flags
--jsontype=booldefault=false--no-probetype=booldefault=false
Example
inferctl model qwen3:8b --json
inferctl route
Compute and explain a route for a configured task.
- Mega-command:
PLAN - JSON data schema:
#/schemas/route_explanation - Exit codes:
0,1,3,4 - Emits data on failure:
false
Args
taskrequired=true
Flags
--prompt-filetype=stringdefault=<nil>--prompttype=stringdefault=<nil>--from-stdintype=booldefault=false--prefertype=enumdefault=default--explaintype=booldefault=true--quiettype=booldefault=false--jsontype=booldefault=false
Example
inferctl route code --prompt "summarize this" --json
inferctl preflight
Decide whether automation may attempt a configured task.
- Mega-command:
TASK_READINESS - JSON data schema:
#/schemas/preflight_report - Exit codes:
0,1,3,4,5 - Emits data on failure:
true
Args
taskrequired=true
Flags
--prompt-filetype=stringdefault=<nil>--prompttype=stringdefault=<nil>--from-stdintype=booldefault=false--allow-fallbacktype=booldefault=false--require-readytype=booldefault=false--formattype=enumdefault=human--jsontype=booldefault=false
Example
inferctl preflight code --prompt-file prompt.txt --json
inferctl diff
Compare two inferctl control-plane snapshots.
- Mega-command:
DIAGNOSE - JSON data schema:
#/schemas/diff_report - Exit codes:
0,1,3 - Emits data on failure:
false
Flags
--beforetype=stringdefault=<nil>--aftertype=stringdefault=<nil>--sincetype=stringdefault=<nil>--tasktype=stringdefault=<nil>--formattype=enumdefault=human--jsontype=booldefault=false
Example
inferctl diff --json
inferctl snapshot
Capture a comparable inferctl control-plane snapshot.
- Mega-command:
DIAGNOSE - JSON data schema:
#/schemas/control_plane_snapshot - Exit codes:
0,1,3,4 - Emits data on failure:
false
Flags
--tasktype=stringdefault=<nil>--prompt-filetype=stringdefault=<nil>--prompttype=stringdefault=<nil>--from-stdintype=booldefault=false--outputtype=stringdefault=<nil>--storetype=booldefault=false--retention-limittype=integerdefault=20--jsontype=booldefault=false
Example
inferctl snapshot --json
inferctl status
Emit an aggregate live-state status snapshot.
- Mega-command:
DIAGNOSE - JSON data schema:
#/schemas/status_frame - Exit codes:
0,1,3,4 - Emits data on failure:
false
Flags
--jsontype=booldefault=false--watchtype=booldefault=false--eventstype=booldefault=false--intervaltype=durationdefault=2s
Example
inferctl status --json
inferctl dashboard
Run the human Bubble Tea status dashboard backed by the public status feed.
- Mega-command:
DIAGNOSE - Exit codes:
0,1,3 - Emits data on failure:
false
Flags
--intervaltype=durationdefault=2s--jsontype=booldefault=false
Example
inferctl dashboard --interval 2s
inferctl config
Namespace for config show, schema, validate, explain, init, set, and patch. Not directly invokable.
Namespace only; use one of its subcommands.
inferctl config show
Show the effective config with per-key provenance.
- JSON data schema:
#/schemas/config_view - Exit codes:
0,3 - Emits data on failure:
false
Flags
--sectiontype=stringdefault=<nil>--keytype=stringdefault=<nil>--no-provenancetype=booldefault=false--jsontype=booldefault=false
Example
inferctl config show --json
inferctl config validate
Validate config and return source-position findings.
- JSON data schema:
#/schemas/config_validation - Exit codes:
0,1,3 - Emits data on failure:
true
Flags
--stricttype=booldefault=false--jsontype=booldefault=false
Example
inferctl config validate --json
inferctl config schema
Export the inferctl TOML config JSON Schema.
- JSON data schema:
#/schemas/config_file - Exit codes:
0 - Emits data on failure:
false
Flags
--jsontype=booldefault=false
Example
inferctl config schema --json
inferctl config explain
Print annotated default config and machine-readable key definitions.
- JSON data schema:
#/schemas/config_explanation - Exit codes:
0,1 - Emits data on failure:
false
Flags
--keytype=stringdefault=<nil>--formattype=enumdefault=toml--jsontype=booldefault=false
Example
inferctl config explain --key profile.mode --json
inferctl config init
Create or print a starter inferctl config.
- JSON data schema:
#/schemas/config_mutation - Exit codes:
0,1,3 - Emits data on failure:
false
Flags
--pathtype=stringdefault=<nil>--forcetype=booldefault=false--printtype=booldefault=false--jsontype=booldefault=false
Example
inferctl config init --json
inferctl config set
Set one config key while preserving surrounding TOML comments and ordering.
- JSON data schema:
#/schemas/config_mutation - Exit codes:
0,1,3 - Emits data on failure:
false
Args
keyrequired=truevaluerequired=true
Flags
--pathtype=stringdefault=<nil>--typetype=enumdefault=<nil>--dry-runtype=booldefault=false--jsontype=booldefault=false
Example
inferctl config set --json
inferctl config patch
Merge a TOML fragment into config without supporting deletions.
- JSON data schema:
#/schemas/config_mutation - Exit codes:
0,1,3 - Emits data on failure:
false
Args
toml-fragmentrequired=false
Flags
--pathtype=stringdefault=<nil>--from-stdintype=booldefault=false--dry-runtype=booldefault=false--jsontype=booldefault=false
Example
inferctl config patch --json
inferctl discover
Probe fixed localhost backend ports and report verified backend candidates.
- JSON data schema:
#/schemas/discovery_report - Exit codes:
0,1,3,4 - Emits data on failure:
false
Flags
--formattype=enumdefault=text--kindtype=enumdefault=<nil>--timeout-mstype=intdefault=750--delivertype=stringdefault=<nil>--jsontype=booldefault=false
Example
inferctl discover --json
inferctl triage
Rank deterministic diagnostic next actions from config validation, doctor output, or prior JSON envelopes.
- Mega-command:
TRIAGE - JSON data schema:
#/schemas/triage_report - Exit codes:
0,1,3 - Emits data on failure:
false
Flags
--input-filetype=stringdefault=<nil>--backendtype=stringdefault=<nil>--severitytype=enumdefault=<nil>--limittype=intdefault=0--jsontype=booldefault=false
Example
inferctl triage --json
inferctl capabilities
Emit the machine-readable CLI contract.
- Mega-command:
CAPABILITIES - JSON data schema:
#/schemas/capabilities_manifest - Exit codes:
0 - Emits data on failure:
false
Flags
--jsontype=booldefault=false
Example
inferctl capabilities --json
inferctl version
Show version, build metadata, and optional update status.
- JSON data schema:
#/schemas/version_info - Exit codes:
0 - Emits data on failure:
false
Flags
--checktype=booldefault=false--jsontype=booldefault=false
Example
inferctl version --json
inferctl schema
Export JSON schemas for envelopes and verb data.
- JSON data schema:
#/schemas/schema_export - Exit codes:
0,1 - Emits data on failure:
false
Flags
--commandtype=stringdefault=<nil>--jsontype=booldefault=false
Example
inferctl schema --json
inferctl robot-docs
Namespace for agent workflow documentation. Not directly invokable.
Namespace only; use one of its subcommands.
inferctl robot-docs guide
Print the embedded agent workflow guide.
- JSON data schema:
#/schemas/robot_docs_guide - Exit codes:
0 - Emits data on failure:
false
Flags
--jsontype=booldefault=false
Example
inferctl robot-docs guide --json