Synopsis
Description
operator onboard is the first command you run after installing Operator OS. It creates a default configuration file at ~/.operator/config.json and populates your workspace directory (default: ~/.operator/workspace) with starter template files.
The workspace is initialized with the following structure:
onboard will prompt you to confirm before overwriting it.
After the command completes, the next step is to open ~/.operator/config.json and add an API key for your chosen provider. You can then verify everything is working with operator agent -m "Hello!".
The config file path can be overridden with the
OPERATOR_CONFIG environment variable. If set, onboard writes to that path instead of ~/.operator/config.json.Options
operator onboard accepts no flags. It is an interactive command that checks for an existing config and prompts for confirmation before overwriting.
Examples
First-time setup:What gets configured
After runningonboard, your ~/.operator/config.json contains the default configuration. You must edit it manually to:
- Set a provider API key inside
model_list[].api_key, or underproviders.<name>.api_key. - Select a default model by setting
agents.defaults.model_nameto a name frommodel_list.
google-antigravity and openai), you can run operator auth login instead of adding an API key manually.
See the configuration reference for the full schema.
Related commands
operator agent— chat with the agent after setupoperator auth login— authenticate with a provider using OAuthoperator status— verify configuration and provider keys are detected