Reference
Settings
Every key in settings.json, and where the files live.
Where the files live
| Layer | Path | Shared |
|---|---|---|
| Defaults | built in | n/a |
| User | ~/.frontier/settings.json | Just you, every project |
| Project | .frontier/settings.json in the project | Committed with the repository |
| Local | .frontier/settings.local.json in the project | Git ignored, just you |
| Flags | --model, --mode and so on | One run |
Later layers win. Objects merge key by key. Lists replace, except permissions.allow and permissions.deny, which accumulate so a project can add rules without erasing yours. FRONTIER_HOME moves the ~/.frontier folder. Run /settings in the cockpit to see what is in effect and which file each value came from.
Who may set what
A project file comes from a repository, and a repository can be someone else's. So settings marked User only below are read from your own ~/.frontier/settings.json and ignored anywhere else. They decide where your keys and code go, or which programs start. The keys baseUrl, apiKeyEnv and headers are user only at any depth. Everything else applies from a project file only after you trust the folder. See Trusted folders.
Every key
17 top level keys, 48 rows. A value of [] or null means nothing is set by default.
| Key | Default | User only | Meaning |
|---|---|---|---|
model | "frontier" | No | The model to use. frontier means: route to the best available model at or above the quality floor. Or a model id. |
mode | "architect" | No | The persona: architect, code, ask, debug, review or orchestrator. |
budget | "paid" | Yes | free lowers the floor to free and local models and turns the free lane on. paid keeps the quality floor. |
review | "off" | Yes | A model from another vendor reviews the agent's edits. off, ask (verdict above each approval) or auto (review when a turn ends). Sends the diff to that vendor. |
baton | {"onLimit":"ask","where":null,"maxUsd":1} | Yes | What happens when Claude Code runs out. onLimit is ask, auto or off; where is here or worktree; maxUsd is the spending limit of one takeover. |
userName | "" | No | The name shown in the cockpit prompt. Empty means your operating system account name. |
update | {"auto":true} | Yes | Signed self updates. auto installs a verified newer release in the background and tells you it is active on the next start. |
routing.tiers | {"premium":["gpt-6.1-sol","claude-fable-5-1","gpt-6-astra... | No | Model ids per tier, best first. They only label a model with a tier when its provider did not. |
routing.qualityFloor | "premium" | No | Relief never answers below this tier without asking you first. |
routing.patienceSeconds | 180 | No | How long to keep retrying the floor tier before asking what to do. |
routing.onExhausted | "ask" | No | What happens when patience runs out: ask (the cockpit asks; scripts fail) or fail. |
routing.maxConcurrentRequests | 1 | No | Requests in flight at once. 1 protects a provider account from burst throttling. |
routing.overloadCooldownSeconds | 90 | No | A model that answered 503 or 429 is skipped for this long. |
routing.maxSessionUsd | null | No | The spend cap for one session in dollars. null means no cap. /cost cap sets it. |
routing.freeLane | null | Yes | When the configured models cannot answer, try free models from each provider's live list, labelled free lane. null means on only when budget is free. |
routing.allowPaidLane | null | Yes | Whether a paid lane may be used under a free budget when no person can be asked (scripts, MCP tools). true allows it, anything else means never. User only, so a repository cannot turn it on. |
routing.freeLaneOrder | [] | Yes | Ranking for the free lane, best first: exact model ids or parts of ids. |
routing.freeLaneMaxModels | 8 | Yes | Most free lane models tried for one request. |
routing.dailyLimits | {} | Yes | Daily request limits you know, by provider or provider/model. They turn a count into requests left and drive the 80 percent warning. A limit the provider reports itself wins. |
permissions.defaultMode | "ask" | No | ask, acceptEdits, auto or readOnly. A repository can only make this stricter. |
permissions.allow | ["run_command(git status*)","run_command(git diff*)","run... | No | Rules such as run_command(npm test*) that are approved without asking. They accumulate across settings layers. |
permissions.passEnv | [] | Yes | Exact environment variable names that commands the agent runs may inherit. Other secrets are never passed. |
permissions.additionalDirectories | [] | Yes | Extra folders the read tools may inspect, read only. |
permissions.allowLifecycleScripts | false | Yes | Let package install and lifecycle scripts run for agent commands. Off by default. |
permissions.deny | ["run_command(git push*)","run_command(rm -rf*)","run_com... | No | Rules that are always refused, including inside chained commands. They accumulate across settings layers. |
agent.toolsEnabled | true | No | Whether the model may read, search, edit and run. /tools on and off change it. |
agent.maxSteps | 40 | No | The most tool steps in one turn. |
shell | "auto" | Yes | Which shell the agent's commands run in: auto, cmd, powershell or pwsh. The agent is told, so it writes that syntax. |
ui.mode | "auto" | No | auto uses colour and symbols as far as the terminal supports. plain is for screen readers. |
ui.thinking | "collapse" | No | How a reasoning model's thoughts appear: collapse, show or hide. |
ui.theme | "auto" | No | auto, frontier-dark, frontier-light, high-contrast, colorblind or ansi-16. |
ui.recap | "auto" | No | A short summary after a slow turn: auto, always or off. |
ui.recapSeconds | 20 | No | How long a turn must take before an auto recap appears. |
ui.clearOnStart | true | No | Start on a cleared screen. Scrollback is kept. Never for pipes, headless runs or plain mode. |
ui.tips | true | No | A rotating one line tip about a real command, after a turn. |
ui.contextNudges | true | No | Say in plain words when it is time to /compact or /clear. |
ui.notify.bell | true | No | Ring the terminal bell when a slow turn finishes or a question waits. |
ui.notify.title | true | No | Show the state in the terminal window title. |
ui.notify.toast | false | No | Show a desktop notification. |
ui.notify.minimumSeconds | 20 | No | Only notify for a turn that took at least this long. |
context.autoCompactTokens | 80000 | No | Past this many estimated tokens, older turns are summarized. The last two user turns stay verbatim. |
memory.importClaudeMd | true | No | Also read CLAUDE.md so Claude Code and Relief share project rules. |
memory.importAgentsMd | true | No | Also read AGENTS.md. |
settingsVersion | 2 | No | The settings format version. Leave it alone. |
privacy.blockedProviders | [] | No | Provider names that are never sent anything. |
privacy.noTraining | false | No | Keep only providers whose data policy is local or no-training. |
privacy.localOnlyPaths | [] | No | Work in these paths only ever uses local providers such as Ollama. |
providers | [] | Yes | Extra OpenAI compatible providers, tried in the order listed. See Any OpenAI compatible API. |