Every user-editable setting, from the single schema that the setup CLI, openprogram config, the TUI settings screen, and the web Settings pages all render from. apply says when a change takes effect: live = immediately, next_start = on the next worker/web start.
Prevent idle system sleep during active agent execution. Disabled by default. Read at the next execution; the display may still sleep. Linux needs systemd-inhibit, and a suspend you ask for waits for the execution there.
execution.instant_steer
True
live
On by default. A message sent while the agent is replying stops the response being generated (text, reasoning or a tool call still being written) and continues with your message. Tools that already started still finish first. Off: the message waits until the current response ends.
execution.code_change_policy
keep_original
live
Durable functions keep their original code by default. use_latest resumes with current code and saved step results. Incompatible progress requires explicit recovery. An individual Continue command can override this choice.
execution.auto_resume_window_seconds
-1
live
Automatically continue restart-owned checkpoints after interruption. Default: -1 (no time limit). Zero disables automatic restart; positive values set a deadline in seconds. Existing deadlines never extend; user pauses, cancellation and unconfirmed external operations require explicit recovery.
shell.windows_bash_path
``
live
The bash.exe commands, hooks and the environment block use on Windows, for a Git or MSYS2 installed where it is not found on its own. The environment variable OPENPROGRAM_GIT_BASH_PATH wins over this setting. A path that is not a file is passed over: the shell is looked for as usual and openprogram doctor says the path is not used. Ignored on macOS and Linux.
The port the web UI itself is served on — the address you open in the browser. Must differ from the backend port.
ui.open_browser
True
next_start
When you run openprogram web, also pop open a browser window pointed at the UI. Turn off to start the server only and open the address yourself (e.g. on a headless server).
web.host
127.0.0.1
next_start
Network interface the server listens on. The default only accepts connections from this machine. Setting 0.0.0.0 exposes the authenticated UI to other interfaces and requires at least one exact web.allowed_origins entry. Prefer HTTPS through a same-host reverse proxy for any untrusted network.
web.allowed_origins
[]
next_start
Exact browser Origins allowed to address this OpenProgram instance. Each value is scheme://host[:port], such as https://agent.example.com. This is a request-Origin and Host allowlist, not a CORS list for cross-origin frontends.
web.anywhere
False
next_start
Publish this OpenProgram at a public https://<name>.ts.net address through the Tailscale built into OpenProgram, so other devices reach it from any network with no app. Every device still pairs with a one-time code. Settings → Devices switches it at once; set here, it applies on the next start.
Owner-only exact Origin or CIDR exceptions for declared configured-service consumers, plus an optional policy proxy that explicitly asserts target-policy enforcement.
security.outbound_url.model_tools
open
live
What web_fetch and image downloads may reach in the owner's own turns. open (default) reaches any address, including this machine and the private network. strict blocks private addresses and unusual ports. Everyone else's turns are always strict.
Turns the composer microphone's recording into text. auto uses local whisper.cpp when its model is downloaded, then OpenAI, then Groq. local keeps audio on this computer (needs brew install whisper-cpp).
voice.language
auto
live
auto lets the engine detect the language of each phrase.
voice.model
``
live
Empty uses the engine's default: gpt-4o-mini-transcribe (OpenAI), whisper-large-v3-turbo (Groq), large-v3-turbo-q5_0 (local). Applies only when an engine is chosen.
Applications computer_use refuses to read or operate, as a JSON list of names or bundle ids. Empty by default. For example com.apple.keychainaccess.
computer_use.refuse_password_fields
False
live
When on, computer_use will not type into password fields. Off by default.
computer_use.whole_screen
False
live
When on, computer_use also offers type="screen": a whole display of this computer, operated with your real pointer and keyboard (macOS). Off by default: the agent operates one application at a time.
computer_use.paired_devices
False
live
When on, a computer paired with this one can send computer_use calls here: they run on this computer, under its own settings, permissions and rules (its whole screen stays off unless turned on here). Off by default.
computer_use.chrome_extension_token
(secret)
live
The token shown by the Playwright Extension in your Chromium browser (Chrome, Edge, Brave, Vivaldi, Opera, Arc or Chromium). With it, computer_use with that browser as app (app="chrome", app="brave", ...) connects to it without asking which tab to share; empty asks each time. Each browser's extension shows its own token. Safari and Firefox need no token.
Empty uses the default Agent's model, or the last used model when that Agent has none. Set provider/model to choose the model for background memory writing and organizing.
memory.writer.enabled
True
live
Turn completed conversations into Topic records in the background.
memory.writer.verify
False
live
After a background write, ask a question about one fact it recorded, search Memory for the answer, and repair the Topics when the answer cannot be found. Costs several extra model calls per write.
memory.writer.trigger_tokens
16000
live
Conversation tokens accumulated before a background write.
memory.retrieval.method
bm25
live
Retrieval used for automatic recall and Memory search.
memory.retrieval.hybrid.weighting
auto
live
How hybrid recall weighs keywords against meaning. auto favours keywords for queries with a date, a quoted phrase or a name, and balances them otherwise.
memory.retrieval.hybrid.file_boost
True
live
In hybrid recall, raise the best paragraph of a Topic that several matches come from.
memory.retrieval.top_k
5
live
Maximum matching records added automatically to a turn.
memory.layers.project
True
live
A conversation in a project also reads that project's own Memory, kept in ~/.openprogram/projects/<project>/memory.
memory.layers.project_writes
True
live
With Project memory on, write what a project's conversations record into that project's Memory instead of the personal one.
memory.core.inject
True
live
Inject the compact Core view into each system prompt.
memory.recent.limit
50
live
Latest records retained in the Recent derived view.
When a reply fails before any text arrives because the model is rate limited, overloaded, down or unreachable, try another model. same-provider tries up to two other enabled models of the same provider; list tries the Fallback model list in order. off shows the error instead.
model_fallback.models
[]
live
Used when Fallback models is list: "provider/model" ids tried in order, for example ["anthropic/claude-sonnet-5-5"].
context.auto_compact_percent
80
live
When a conversation fills this much of what the model can hold, its older messages are replaced by a short summary so it can keep going. Lower: each message uses fewer tokens, but the model loses details sooner. Higher: the model remembers more, but each message uses more tokens. Most people can leave this at 80.
models.prompt_cache_ttl
5m
live
Only matters when you use Anthropic models. Between messages, Anthropic can keep your conversation ready so the next message costs less. 5 minutes suits back-and-forth chats. 1 hour costs more up front and is worth it if you often return to a conversation after a break of more than five minutes.
privacy.redact_requests
False
live
Before a request goes to the model provider, replace API keys, tokens, passwords, private keys and email addresses with placeholders such as [[SECRET_1]], and put the real values back into the reply and the tool calls it makes. The provider never sees them.
Appends a block of guidance to the system prompt describing how replies should be written. default appends nothing. Drop a <name>.md file in ~/.openprogram/output-styles/ or ./output-styles/ to add your own.
agent.max_spawn_depth
1
live
How many generations of NEW agents one chain may create. 1 (default): the main agent spawns helpers and a helper does the work itself, so a helper has no agent tool. 2 lets a helper spawn its own helper; 0 = no limit. Only creating an agent counts, so an agent that reads a helper's result can still create the next wave.
agent.max_messages
0
live
Older limit on how many messages one collaboration chain may pass. Still honoured when set; agent.max_hops and agent.max_sends_per_hour now bound agent-to-agent messages. 0 (default) = no limit.
agent.max_hops
4
live
How many times one chain of work may pass a message on to another agent with send_message (A to B to C counts 2). A reply coming back does not count. 4 (default); 0 = no limit.
agent.max_sends_per_hour
20
live
How many messages one conversation may send to other agents with send_message in an hour. 20 (default); 0 = no limit.
agent.max_running_agents
6
live
How many helper agents one conversation runs at the same time; more wait in a queue and start as others finish. The worker pool (OPENPROGRAM_JOB_WORKERS, 8 by default) still bounds all conversations together. 6 (default); 0 = only the pool bounds it.
agent.max_tree_usd
2.0
live
How much the helpers started from one turn may spend together, in US dollars. Once reached, no new helper starts from that turn, the running ones are stopped and the conversation is told. Usage whose price is unknown does not count. 2 (default); 0 = no limit.
agent.stall_minutes
10
live
A helper agent with no model or tool activity for this long is marked stalled and the conversation that started it is told; it keeps running. 10 (default); 0 = never.
agent.max_agent_hours
2
live
A helper agent still running after this many hours is stopped and reported as timed out. 2 (default); 0 = no limit.
agent.max_spawn_fanout
0
live
How many agents ONE turn may create, counted per (session, turn). The chain budgets bound how deep and how far a chain goes, not how wide one turn opens it. 0 (default) = no limit; the task pool still bounds how many run at once. A spawn past the limit is refused and points the agent at the ones it already has.
Shell commands subscribed to bus events, as {"<event>": [{"command": "...", "timeout": 60}]}. An entry may add "shell": "bash" (the default) or "powershell", or "args": [...] to run the command directly without a shell. The event arrives as JSON on the command's stdin. Gate events (tool.before, turn.stop) follow the Claude Code hooks exit-code protocol: exit 0 allows, exit 2 denies with stderr as the reason, any other exit code is ignored (fail-open). Notify events (turn.start, turn.end, session.start, goal.update) run the command in the background and ignore the exit code. Timeout defaults to 60 seconds per command. Read once at worker start — restart to apply.
off (the default) runs local commands without a sandbox unless a conversation turns Sandbox on in its composer menu, which then uses the backend when it is available. auto uses the sandbox in every conversation when its backend is available and otherwise keeps local commands usable without one. danger-full-access runs local model-driven commands with your full user authority. workspace-write applies the host-native sandbox (macOS sandbox-exec, Linux bubblewrap, or bubblewrap delegated to the default WSL2 distribution on Windows), restricts writes to the working directory and configured roots, blocks the paths listed under Blocked read paths, and disables network. Read per command, so a change applies to the next command everywhere — including background threads and spawned subprocesses.
sandbox.writable_roots
[]
live
Directories a sandboxed command may write besides the working directory, as a JSON list. ~ is expanded.
Globs a sandboxed command cannot read, as a JSON list. Ships loaded with the credential paths, because a command that reads a key can still deliver it without any network: the memory writer's output returns to a later session's context. ** matches any depth; on Linux a pattern containing a wildcard in the middle has no equivalent and is skipped, since bubblewrap masks paths rather than matching them. Protect sensitive Linux content with an exact path or a directory-level deny whose prefix is concrete, such as /absolute/path/to/secrets/**; do not rely on **/.env there.
sandbox.allow_read
[]
live
Concrete paths re-opened inside a wider sandbox.deny_read entry. Narrower path wins; an equally-specific deny still blocks. Cannot open ~/.openprogram/auth or the agentics directory.
sandbox.deny_write
[]
live
Globs a sandboxed command cannot write even inside the working directory, as a JSON list — the paths that arrange for code to run later outside the sandbox. Shell startup files, the repository's git hooks and config, editor task folders and OpenProgram's state folder are always blocked too. Empty otherwise.
sandbox.network
False
live
Off means a sandboxed command has no network at all, which is what stops anything it read from leaving the machine. Turn it on and sandboxed package downloads work again, along with every other outbound connection.
sandbox.network_domains
—
live
Optional macOS-only domain map, for example {"example.com": "allow", "*.example.org": "deny"}. Requires network enabled. Null preserves ordinary network mode; an empty map denies all. Deny wins. Only public HTTP port 80 and HTTPS CONNECT port 443 are supported. Commands cannot bypass the managed proxy; unsupported platforms fail closed.
sandbox.pass_env
[]
live
A sandboxed command inherits only PATH, HOME, SHELL, USER, LOGNAME, TERM, TMPDIR, TZ, PWD, LANG and LC_*, so API keys in your environment do not reach it. Name any additional variables here.
sandbox.unavailable_policy
refuse
live
What happens when the mode is on but the platform backend is missing or cannot create its required isolation. refuse fails the command and says why. warn runs it unsandboxed and logs a warning — convenient, and the reason a security setting can end up doing nothing without anyone noticing. The default is refuse, except on Windows, where the sandbox needs WSL2 that most machines do not have: there it is warn, and the Sandbox switch and openprogram doctor say the sandbox needs WSL2.
Add the trailer Co-Authored-By: <model> <noreply@openprogram.dev> to commits OpenProgram writes, so the AI contribution is visible in git log. The model's display name is used when known, otherwise OpenProgram. Turning this off stops OpenProgram adding any attribution trailer.
git.allow_remote_write
False
live
Let the commit-push-pr flow run git push and gh pr create. Off by default: branching, staging, and committing are local and reversible, but a push and a pull request are visible to other people and cannot be undone by resetting the local tree. Leave it off to keep the flow stopping at the commit, and use git push --dry-run to see what a push would send.