◌ freeness

CLI

Run freeness to open the terminal interface. Subcommands use the Rust runtime directly.

freeness --help
freeness --version
freeness doctor --connection work --json
freeness run --connection work --prompt-file task.txt
freeness run --connection work --prompt 'Inspect this image' --image screen.png
freeness sessions --cwd /path/to/workspace --json
freeness --connection work --session /absolute/path/to/session

doctor is read-only. It checks local configuration and credential availability without making an API request. It cannot establish provider authentication or actual model compatibility.

Environment connections

freeness --model YOUR_MODEL --base-url https://gateway.example/v1 --api-key-env MY_PROVIDER_KEY

Use a dedicated environment variable containing your key. Do not put key values in arguments or commit them to Git. Saved connections avoid repeated environment setup.

Reviewer selection

freeness guardrails same
freeness guardrails use reviewer
freeness run --connection work --guard-connection reviewer --prompt-file task.txt

--guard-model can override the reviewer model. A custom --guard-base-url requires an explicit --guard-api-key-env; main credentials are never implicitly forwarded to another endpoint. There is no unguarded execution flag.

Limits and costs

--max-turns, --max-seconds and --max-cost constrain runs. Spending caps are soft checks between API calls, not provider billing limits. They include main-agent and reviewer costs. Unknown costs block further capped work.

Prices are explicit USD per million tokens: --input-price, --cached-input-price, --output-price. A different reviewer model needs its own --guard-input-price, --guard-cached-input-price, --guard-output-price when using a cost cap. Catalog estimates never silently become billing rates.

Model changes clear stale model-specific pricing, reasoning effort and context-window settings. Provider-reported IDs and models remain provider assertions.

Runtime interface

freeness serve provides the local JSONL interface used by the TUI. It is not an authenticated remote service. See Protocol for commands and events.