Configuration
Matter's settings live in config.toml: ~/.config/matter/ on Linux,
~/Library/Application Support/matter/ on macOS, %APPDATA%\matter\config\ on Windows
(MATTER_CONFIG_DIR overrides it). Every key is optional. This page is made from the comments on the settings
in Matter's own source, so the defaults are the ones the program uses.
Your own RunPod pods have their own file, runpod.toml, in the same folder (presets, the card list, spend
limits under [budget]): see Models and GPUs. An organisation can set and lock some
keys for every user in a managed config (/etc/matter/managed.toml on Linux).
Top level
| Key | Type | What it does (and its default) |
|---|---|---|
gateway | text | The gateway's base URL (without /v1). |
target | text | The current target (matter use), as written: pool, pool:EU-RO-1, instance:<id>. |
model | text | The model for matter chat / matter run when --model isn't given. |
review_all_edits | true / false | Ask about every agent write and edit, with its diff, whatever the permission rules say. |
auto_titles | true / false | A short model-written title for a session after its first exchange (on unless false; MATTER_AUTO_TITLES=0 turns it off too). |
image_models | list | Models that take images (local/gemma-4-26b-a4b, or a prefix ending in *), besides the ones the gateway's model list says do: attached images go to them, and they get read_image. |
checkpoint_days | number | Checkpoints older than this many days are pruned (default 7). |
audit_days | number | The audit log keeps this many days of records (default: all; matter privacy shows it). |
checkpoint_mb | number | The checkpoint store is pruned to this many megabytes (default 1024). |
workspace | text | Remembered by matter use --at: where matter chat / matter run work, <host>:<folder> (none: the current folder). |
ssh | text | The ssh program (default ssh; MATTER_SSH overrides it). |
[output]
How matter chat / matter run show the agent's work.
| Key | Type | What it does (and its default) |
|---|---|---|
verbosity | text | quiet (default), normal or verbose. |
theme | Markers by state (text, running, done, error, denied, waiting, user). |
[statusline]
Built-in segments in order, or a command that prints the line.
| Key | Type | What it does (and its default) |
|---|---|---|
segments | list | Any of target, model, context, tokens, git, location, sessions, pod (default: target, model, context, tokens, git). An empty list turns the line off. |
command | text | A shell line or a script (.py, .js, .ts, .go, .rs, ...) that reads the session state as JSON on stdin and prints one line. |
[ui]
Verbosity and the line markers.
| Key | Type | What it does (and its default) |
|---|---|---|
verbs | text | playful (default: Pondering…, Mulling…) or plain (Working…), while the model works. |
[watchers]
| Key | Type | What it does (and its default) |
|---|---|---|
auto | true / false | Pause them at a turn's first edit (default true). |
quiet_s | number | Resume after this many seconds without an edit (default 0: only when the turn ends). |
max_pause_s | number | Never paused longer than this (default 600). |
resume_for_commands | true / false | Resume before a command or an MCP tool runs (default true). |
patterns | list | More commands that are watchers (words of their command line: "devserver --hot"). |
[agent]
| Key | Type | What it does (and its default) |
|---|---|---|
mode | text | The permission mode a session starts in: ask (default), auto-edit or plan. |
suggest_after | number | Offer to always allow a command after you've approved it this many times in a project (default 10; 0: never). |
self_test | true / false | Before a coding turn ends, ask the agent to test the rules it was given when it changed code without running a test of its own (default on; false: off). |
rules_check | true / false | Before a long task's turn ends (a spec with several stated rules), ask the agent to check each stated rule against its change once (default off; true: on). |
recall | true / false | Session retrieval: big tool outputs get a handle, their stubs say how to get them back (the recall tool), a big file read is an outline plus the matching parts, and each call can carry the stubbed parts that match the task at its end (default off). Stays on this machine, stored and sealed like the session. |
recall_threshold | number | What counts as a big output for retrieval, in tokens (default 4,000). |
recall_retrieve_tokens | number | The most tokens of retrieved parts a call carries (default 2,000; 0: none, the tool and handles only). |
max_reply_tokens | number | The most tokens one reply may run to before it's cut (sent as max_tokens; default 16,384; 0: none sent). |
thinking | text | Thinking: auto (default: every call for a model that only reasons when asked, Gemma 4; for others the calls that benefit), on or off. --thinking overrides it. |
workflows | text | Workflows: suggest (default: started by itself with nobody to ask, suggested in a chat), auto (started whenever a task fits) or off. |
wf_registry | text | A wf registry to read workflows from too (Claude Code's wf: e.g. ~/.claude/workflows), besides your workflows folder in matter's config dir and a trusted project's .matter/workflows. |
workflow_learning | text | Workflows learn the commands that worked in each step (per project, in matter's data dir) and show them in that step's brief in later runs: on (default) or off. |
max_context | number | The most tokens a call carries when the budget comes from the model's window (default 131,072); AGENT_CONTEXT_BUDGET isn't capped by it. |
[update]
| Key | Type | What it does (and its default) |
|---|---|---|
channel | text | stable (default) or beta. |
auto | true / false | Install a new release by itself (checked at most daily when a chat starts). Default false: it says one is out. |
url | text | Where the release manifests are (<url>/<channel>/manifest.json); default matter-engine.com's. |
[checks]
| Key | Type | What it does (and its default) |
|---|---|---|
off | true / false | No checks after edits. |
timeout_s | number | A check's time limit in seconds (default 90; a project's own can set theirs). |
untrusted | true / false | Run them in projects you haven't trusted too (they can run the project's code, confined like commands). |
[skills]
| Key | Type | What it does (and its default) |
|---|---|---|
builtin | true / false | matter's own skills (matter:commit, matter:help ...): on unless false. |
[clef]
| Key | Type | What it does (and its default) |
|---|---|---|
enabled | true / false | Ask Clef when the gateway serves it (default true; MATTER_CLEF=0 turns it off for a run). |
model | text | The decider's model (default "clef"). |
url | text | The decider's own URL (a tunnel to the pod's Clef; DECIDER_URL too); unset: through the gateway. |
answered | true / false | "Do the results so far answer the task?" with a note when sure (default true). |
stuck | text | "Is the agent stuck?": "off", "log" (default: asked and recorded, no note) or "on". |
calibration | path | A calibration file (the harness's format) in place of the built-in one. |
[transcripts]
Where sessions' transcripts are kept and for how long.
| Key | Type | What it does (and its default) |
|---|---|---|
store | text | sqlite (default) or jsonl (one file per session plus an offsets index). |
retention_days | number | matter sessions prune (and a prune now and then) drops sessions not updated for this many days (pinned ones stay). None: kept until pruned by hand. |
[jobs]
Background runs (matter run --bg).
| Key | Type | What it does (and its default) |
|---|---|---|
max_per_target | number | Jobs running at once on one target (default 2). |
idle_secs | number | The daemon exits after this many idle seconds (default 300; MATTER_DAEMON_IDLE_MS overrides it). |
[remote]
This machine reachable from your own devices through the relay. While it's on, matter's daemon stays up (started at login) instead of exiting when idle.
| Key | Type | What it does (and its default) |
|---|---|---|
enabled | true / false | Set by matter itself. |
allow_shell | true / false | Shell tabs, ! commands and terminal input from a remote device (off: a shell on this machine). |
allow_instances | true / false | Starting and changing GPU instances from a remote device (off: it costs money). |
relay | text | The relay (default https://api.matter-engine.com). |
machine_id | text | This machine's id at the relay (from matter remote enable). |
name | text | This machine's name on your devices. |
[inbox]
What each device shows (terminal, desktop, phone).
| Key | Type | What it does (and its default) |
|---|---|---|
terminal | Set by matter itself. | |
desktop | Set by matter itself. | |
phone | Set by matter itself. |
[notify]
Where job notifications go.
| Key | Type | What it does (and its default) |
|---|---|---|
desktop | true / false | Desktop notifications (default on). |
ntfy | text | The ntfy server (matter notify setup ntfy <url>; its token is in the keyring). Without ntfy_topic, a topic URL that gets plain messages. |
ntfy_topic | text | The topic items are published to (subscribe to it on the phone). |
ntfy_reply_topic | text | The topic Allow / Deny answers come back on (matter subscribes; nothing listens on this machine). |
file | path | Append each notification to this file as a line (for scripts; MATTER_NOTIFY_FILE too). |
toasts | text | OS toasts with answer buttons: "questions" (the default: questions and permissions, when their session isn't the one on screen), "all" (every notification), "off". MATTER_TOASTS overrides it. |
[sandbox]
How commands the agent runs are confined (a project's .matter/sandbox.toml adds to it).
| Key | Type | What it does (and its default) |
|---|---|---|
off | true / false | Don't confine them at all. |
on | true / false | Confine them even where the sandbox is off by default (a Windows whose NUL device is closed to sandboxed commands: there git, cargo builds and > nul fail confined). off wins over it. |
network | true / false | Allow the network (TCP connect and bind). |
write | list | Folders they may write besides the workspace and temp (e.g. ~/.cargo for builds that fetch crates). |
env | list | Environment variables they keep besides the basic ones (PATH, HOME, LANG, TERM, ...): names only. |
read | list | Folders in the home folder they may read besides the workspace and the toolchains (the home folder isn't readable otherwise). |
shm | true / false | /dev/shm (off by default). |
project_write | list | The project's own write folders (inside it; resolved again when a command starts). Not in config.toml. |
[rag]
| Key | Type | What it does (and its default) |
|---|---|---|
url | text | The daemon (default http://127.0.0.1:47615; RAG_URL overrides it). |
off | true / false | No RAG at all (neither auto-context nor the tool). |
program | text | The rag program, for matter rag to show what's indexed (default: rag on PATH, else ~/repos/rag-system/target/release/rag). |
refresh | text | The shell line matter rag refresh runs per repo, {repo} replaced (e.g. cd ~/repos/rag-import && rag index build --repo {repo}). None: refresh says how to set it. |
warn_above_s | number | Ask before an index build expected to take longer than this many seconds (default 60), or whose memory peak is over half of what's free (matter rag refresh, the desktop's re-index). |
search_first | true / false | Tell the agent to locate code with rag_search before list_dir / read_file (default on). |
auto_index | true / false | A project that lists no indexed folders uses its own git repository, and a chat starting in it indexes or refreshes that in the background when it can without asking (default on; needs refresh). |
confirm_index | true / false | false: never ask (still says the estimate). true: also when nobody can answer (a non-interactive run then skips the build with a note). Unset: ask when someone can. |
[web]
| Key | Type | What it does (and its default) |
|---|---|---|
search | text | "brave" (its key: matter web key) or "searxng:<url>"; none: web_fetch only. |
max_kb | number | The most a fetch reads, in KB (default 2048). |
off | true / false | No web tools at all. |
[research]
| Key | Type | What it does (and its default) |
|---|---|---|
off | true / false | No research tool or offers. |
offers | true / false | Matter offers a run (a command failing twice, installing something new, a term nothing knows) (default on). |
auto_yes | true / false | Take the offers without asking (default off). |
max_fetches | number | Pages a run reads at most (default 5). |
fresh_days | number | A note older than this many days is re-checked (default 90). |
max_runs | number | Research runs one task (one message) may make at most (default 2); past it Matter says so and the model works from the briefs it has. |
[telemetry]
| Key | Type | What it does (and its default) |
|---|---|---|
enabled | true / false | Off unless you say so. |
url | text | Where batches go (default https://telemetry.matter-engine.com/v1/batch): https, or http to this machine. |
[endpoint]
A model server of your own: [models.<name>].
| Key | Type | What it does (and its default) |
|---|---|---|
url | text | Its OpenAI-compatible base URL (http://127.0.0.1:11434/v1); https, or plain http to this machine only. |
model | text | The model it serves to use (its id there). |
tools | true / false | It does tool calls (what the agent needs); false: plain chat only. |
images | true / false | It takes images. |
context | number | Its context window in tokens. |
key | true / false | Its key is in the keyring (model-<name>-key). |
dedicated | text | On the dedicated machine of this name: its URL is the local end of an SSH tunnel matter opens when it's down. |
[models.<name>]
matter models add: OpenAI-compatible model servers of your own, by name (matter chat --model <name>).
| Key | Type | What it does (and its default) |
|---|---|---|
url | text | Its OpenAI-compatible base URL (http://127.0.0.1:11434/v1); https, or plain http to this machine only. |
model | text | The model it serves to use (its id there). |
tools | true / false | It does tool calls (what the agent needs); false: plain chat only. |
images | true / false | It takes images. |
context | number | Its context window in tokens. |
key | true / false | Its key is in the keyring (model-<name>-key). |
dedicated | text | On the dedicated machine of this name: its URL is the local end of an SSH tunnel matter opens when it's down. |
[hosts.<name>]
matter hosts: machines tools can run on, by name.
| Key | Type | What it does (and its default) |
|---|---|---|
dest | text | user@host (or an alias from ~/.ssh/config). |
port | number | Set by matter itself. |
key | path | An identity file. |
mcp | stdio MCP servers that run there ([hosts.<name>.mcp.<server>] command = ..., args = [...], env = {...}). |
[dedicated.<name>]
matter dedicated: GPU servers of your own (your provider account, your bill) that matter serves a model on, by name; each has a [models.<name>] entry reached through an SSH tunnel.
| Key | Type | What it does (and its default) |
|---|---|---|
dest | text | user@host (or an alias from ~/.ssh/config). |
port | number | Set by matter itself. |
key | path | Your SSH key (default: what ssh picks). |
via | text | "sshc": through sshc, for a key with a passphrase; unset: ssh. |
model | text | The model (its Hugging Face id, or what the server you run calls it). |
remote_port | number | The model server's port on the machine (it listens on 127.0.0.1 only). |
local_port | number | This machine's end of the tunnel (127.0.0.1). |
endpoint | text | Your own https endpoint for it instead of a tunnel. |
installed | true / false | matter installed the model server there (false: you run it; rm then changes nothing there). |
price_month | number | What it costs you a month (shown with spend; matter never bills or cancels it). |
currency | text | Set by matter itself. |
added | number | When it was added (unix seconds), for this month's share. |