Initializing Operalta...

CLI Config

Environment variables, config files, and execution modes

Environment variables, config files, and execution modes.

01

Environment variables

  • -OPERALTA_API_KEY — API key.
  • -OPERALTA_API_URL — override base URL (default https://www.operalta.ai/api).
  • -OPERALTA_COMPANY_ID — pin a company.
  • -OPERALTA_MODE — default execution mode.
  • -OPERALTA_LLM_PROVIDER=openai-compatible — use a local or remote OpenAI-compatible model endpoint.
  • -OPERALTA_LLM_BASE_URL, OPERALTA_LLM_MODEL, OPERALTA_LLM_API_KEY — configure OpenAI-compatible providers such as Ollama, LM Studio, or vLLM.
  • -ANTHROPIC_API_KEY, MISTRAL_API_KEY, AWS_REGION — direct provider keys.
02

Config files

  • -Global: ~/.operalta/config.toml.
  • -Project: .operalta/config.toml in repo root (overrides global).
  • -Order: global → project → env vars → CLI flags.
mode = "plan"
model = "claude-sonnet-4-6"

[operalta]
apiUrl = "https://www.operalta.ai/api"

[project]
ignorePatterns = ["node_modules", ".git", "dist"]
03

Modes

  • -default — manual approvals.
  • -plan — easier reads, writes still confirmed.
  • -accept_edits — easier reads and writes.
  • -auto_approve — broad auto-approval. Use carefully.