Server configuration
All environment variables are optional for local development. The defaults provide a working setup out of the box.Single-user vs multi-user mode
By default, OneCLI runs in single-user mode with no login screen. This is ideal for local development and personal use. To enable multi-user mode with Google OAuth, set the three auth variables:Bring your own database
By default, the Docker Compose setup bundles a PostgreSQL instance. To use an external PostgreSQL instance instead:Telemetry
See Telemetry for details on what is collected and how to opt out.
CLI configuration variables
These variables configure theonecli CLI tool. Each one overrides the matching stored value, so they suit CI jobs and scripts where writing config files is awkward.
Development vs production
SettingONECLI_ENV=dev switches the CLI to development mode, which uses separate files and keychain entries so it never interferes with your production setup:
Variables set by onecli run
onecli run injects these into the wrapped agent process. They are not user-configurable:
See the Coding Agents guide for what
onecli run does end to end.