Skip to main content
The Actual CLI reads these variables from the environment of the process that runs it. When the plugin runs the CLI inside Claude Code or Codex, the CLI inherits the agent’s environment, so set them in the shell or service that starts the agent. The plugin’s own switches, such as ACTUAL_UNATTENDED and ACTUAL_RULES_DIR, are read by its hooks rather than the CLI, and Settings lists them.

Configuration

Sign-in and tokens

Unattended agents and CI shows how to mint a token with the service-account variables.

Checks

Runners

The checks and actual adr-bot call a model through one of five runners. See actual runners and the runner and model configuration keys.

Actual AI API

actual adr-bot and telemetry’s default endpoint use the api_url configuration key instead.

Telemetry and updates

The CLI never reads OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_LOGS_ENDPOINT, which a shell or CI job may set for other tools. Privacy and telemetry covers what each event holds.

Markers the agents set

Claude Code and Codex set CLAUDECODE, CLAUDE_CODE_ENTRYPOINT, CODEX_THREAD_ID and CODEX_SESSION_ID in the shells they start, and you never set them yourself. actual check-override refuses to run where any of them is set, so an agent can’t override a rule its own check denied. Run it from an ordinary terminal, as Overrides describes.