openprogram config list # value, group, apply mode
openprogram config get ui.web_port
openprogram config set ui.web_port 8101
One registry, openprogram/state/settings.py, drives the setup wizard, TUI and Web settings. Every setting, generated from it: Settings keys. Everyday use: Configuration and data directory.
Common settings
Ports
Key
Meaning
Default
Applies
ui.web_port
Single worker port for API, WebSocket and Web UI
18100
next start
ui.open_browser
openprogram web opens the browser
true
next start
Search, memory, tools, agent
Key
Meaning
Default
Applies
search.default_provider
auto picks the highest-priority configured one
auto
live
search.google_pse_cx
Google Programmable Search engine id. GOOGLE_PSE_CX is read when it is empty.
empty
live
memory.backend
local, or none: no prompt memory, recall, automatic writes, organizer or memory threads
local
next start
memory.writer.model
Optional provider/model for background writing; empty uses the default chat agent's
empty
live
tools.disabled.<name>
Per-tool switch; members of the tools.disabled list
all enabled
live
agent.output_style
How replies are written; appends to the system prompt. Output styles
default
live
providers.<name>
Read-only status row. Configure with openprogram providers login or the Web UI.
—
—
Sandbox
sandbox.mode
Local model-driven commands
off
Default. No sandbox unless a conversation turns it on in its composer menu.
auto
Sandboxed in every conversation when the backend is available; otherwise runs without one
workspace-write
Writes limited to the working directory and configured roots, deny-read paths blocked, network disabled
danger-full-access
Full user authority
Key
Meaning
Default
Applies
sandbox.writable_roots
Extra writable directories, JSON list
[]
live
sandbox.deny_read
Unreadable globs; defaults include credential paths. Linux cannot enforce middle wildcards such as **/.env: use an exact path or a directory deny such as /absolute/path/to/secrets/**.
openprogram config get sandbox.deny_read
live
sandbox.deny_write
Unwritable globs, on top of the function-watcher directory and protected startup files
[]
live
sandbox.network
Network access
false
live
sandbox.pass_env
Env names passed beyond the built-in allowlist
[]
live
sandbox.unavailable_policy
refuse fails the command when the backend is missing or cannot isolate; warn runs it unsandboxed
refuse; warn on Windows
live
Backends: Seatbelt on macOS, bubblewrap on Linux, bubblewrap through the default WSL2 distribution on Windows. Docker is not an automatic fallback.
Top-level keys in config.json
Do not edit by hand: use openprogram config set, the setup wizard or the Web UI.
Default wall-clock budget for runtime.exec (unset or 0: unbounded)
openprogram/runtime/agent/runtime/shared.py
OPENPROGRAM_FALLBACK_MODELS
Overrides the model_fallback setting. Unset: that setting (default off). same-provider: up to two other enabled models of that provider. off or none: disabled. Comma-separated provider/model list: in order, may cross providers.
Longest Retry-After a retry sits through (default 300). Longer fails at once so a fallback model, another account or the user can take over. 0 lifts the cap.