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

KeyTypeWhat it does (and its default)
gatewaytextThe gateway's base URL (without /v1).
targettextThe current target (matter use), as written: pool, pool:EU-RO-1, instance:<id>.
modeltextThe model for matter chat / matter run when --model isn't given.
review_all_editstrue / falseAsk about every agent write and edit, with its diff, whatever the permission rules say.
auto_titlestrue / falseA short model-written title for a session after its first exchange (on unless false; MATTER_AUTO_TITLES=0 turns it off too).
image_modelslistModels 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_daysnumberCheckpoints older than this many days are pruned (default 7).
audit_daysnumberThe audit log keeps this many days of records (default: all; matter privacy shows it).
checkpoint_mbnumberThe checkpoint store is pruned to this many megabytes (default 1024).
workspacetextRemembered by matter use --at: where matter chat / matter run work, <host>:<folder> (none: the current folder).
sshtextThe ssh program (default ssh; MATTER_SSH overrides it).

[output]

How matter chat / matter run show the agent's work.

KeyTypeWhat it does (and its default)
verbositytextquiet (default), normal or verbose.
themeMarkers by state (text, running, done, error, denied, waiting, user).

[statusline]

Built-in segments in order, or a command that prints the line.

KeyTypeWhat it does (and its default)
segmentslistAny of target, model, context, tokens, git, location, sessions, pod (default: target, model, context, tokens, git). An empty list turns the line off.
commandtextA 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.

KeyTypeWhat it does (and its default)
verbstextplayful (default: Pondering…, Mulling…) or plain (Working…), while the model works.

[watchers]

KeyTypeWhat it does (and its default)
autotrue / falsePause them at a turn's first edit (default true).
quiet_snumberResume after this many seconds without an edit (default 0: only when the turn ends).
max_pause_snumberNever paused longer than this (default 600).
resume_for_commandstrue / falseResume before a command or an MCP tool runs (default true).
patternslistMore commands that are watchers (words of their command line: "devserver --hot").

[agent]

KeyTypeWhat it does (and its default)
modetextThe permission mode a session starts in: ask (default), auto-edit or plan.
suggest_afternumberOffer to always allow a command after you've approved it this many times in a project (default 10; 0: never).
self_testtrue / falseBefore 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_checktrue / falseBefore 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).
recalltrue / falseSession 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_thresholdnumberWhat counts as a big output for retrieval, in tokens (default 4,000).
recall_retrieve_tokensnumberThe most tokens of retrieved parts a call carries (default 2,000; 0: none, the tool and handles only).
max_reply_tokensnumberThe most tokens one reply may run to before it's cut (sent as max_tokens; default 16,384; 0: none sent).
thinkingtextThinking: 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.
workflowstextWorkflows: suggest (default: started by itself with nobody to ask, suggested in a chat), auto (started whenever a task fits) or off.
wf_registrytextA 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_learningtextWorkflows 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_contextnumberThe 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]

KeyTypeWhat it does (and its default)
channeltextstable (default) or beta.
autotrue / falseInstall a new release by itself (checked at most daily when a chat starts). Default false: it says one is out.
urltextWhere the release manifests are (<url>/<channel>/manifest.json); default matter-engine.com's.

[checks]

KeyTypeWhat it does (and its default)
offtrue / falseNo checks after edits.
timeout_snumberA check's time limit in seconds (default 90; a project's own can set theirs).
untrustedtrue / falseRun them in projects you haven't trusted too (they can run the project's code, confined like commands).

[skills]

KeyTypeWhat it does (and its default)
builtintrue / falsematter's own skills (matter:commit, matter:help ...): on unless false.

[clef]

KeyTypeWhat it does (and its default)
enabledtrue / falseAsk Clef when the gateway serves it (default true; MATTER_CLEF=0 turns it off for a run).
modeltextThe decider's model (default "clef").
urltextThe decider's own URL (a tunnel to the pod's Clef; DECIDER_URL too); unset: through the gateway.
answeredtrue / false"Do the results so far answer the task?" with a note when sure (default true).
stucktext"Is the agent stuck?": "off", "log" (default: asked and recorded, no note) or "on".
calibrationpathA calibration file (the harness's format) in place of the built-in one.

[transcripts]

Where sessions' transcripts are kept and for how long.

KeyTypeWhat it does (and its default)
storetextsqlite (default) or jsonl (one file per session plus an offsets index).
retention_daysnumbermatter 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).

KeyTypeWhat it does (and its default)
max_per_targetnumberJobs running at once on one target (default 2).
idle_secsnumberThe 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.

KeyTypeWhat it does (and its default)
enabledtrue / falseSet by matter itself.
allow_shelltrue / falseShell tabs, ! commands and terminal input from a remote device (off: a shell on this machine).
allow_instancestrue / falseStarting and changing GPU instances from a remote device (off: it costs money).
relaytextThe relay (default https://api.matter-engine.com).
machine_idtextThis machine's id at the relay (from matter remote enable).
nametextThis machine's name on your devices.

[inbox]

What each device shows (terminal, desktop, phone).

KeyTypeWhat it does (and its default)
terminalSet by matter itself.
desktopSet by matter itself.
phoneSet by matter itself.

[notify]

Where job notifications go.

KeyTypeWhat it does (and its default)
desktoptrue / falseDesktop notifications (default on).
ntfytextThe ntfy server (matter notify setup ntfy <url>; its token is in the keyring). Without ntfy_topic, a topic URL that gets plain messages.
ntfy_topictextThe topic items are published to (subscribe to it on the phone).
ntfy_reply_topictextThe topic Allow / Deny answers come back on (matter subscribes; nothing listens on this machine).
filepathAppend each notification to this file as a line (for scripts; MATTER_NOTIFY_FILE too).
toaststextOS 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).

KeyTypeWhat it does (and its default)
offtrue / falseDon't confine them at all.
ontrue / falseConfine 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.
networktrue / falseAllow the network (TCP connect and bind).
writelistFolders they may write besides the workspace and temp (e.g. ~/.cargo for builds that fetch crates).
envlistEnvironment variables they keep besides the basic ones (PATH, HOME, LANG, TERM, ...): names only.
readlistFolders in the home folder they may read besides the workspace and the toolchains (the home folder isn't readable otherwise).
shmtrue / false/dev/shm (off by default).
project_writelistThe project's own write folders (inside it; resolved again when a command starts). Not in config.toml.

[rag]

KeyTypeWhat it does (and its default)
urltextThe daemon (default http://127.0.0.1:47615; RAG_URL overrides it).
offtrue / falseNo RAG at all (neither auto-context nor the tool).
programtextThe rag program, for matter rag to show what's indexed (default: rag on PATH, else ~/repos/rag-system/target/release/rag).
refreshtextThe 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_snumberAsk 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_firsttrue / falseTell the agent to locate code with rag_search before list_dir / read_file (default on).
auto_indextrue / falseA 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_indextrue / falsefalse: 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]

KeyTypeWhat it does (and its default)
searchtext"brave" (its key: matter web key) or "searxng:<url>"; none: web_fetch only.
max_kbnumberThe most a fetch reads, in KB (default 2048).
offtrue / falseNo web tools at all.

[research]

KeyTypeWhat it does (and its default)
offtrue / falseNo research tool or offers.
offerstrue / falseMatter offers a run (a command failing twice, installing something new, a term nothing knows) (default on).
auto_yestrue / falseTake the offers without asking (default off).
max_fetchesnumberPages a run reads at most (default 5).
fresh_daysnumberA note older than this many days is re-checked (default 90).
max_runsnumberResearch 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]

KeyTypeWhat it does (and its default)
enabledtrue / falseOff unless you say so.
urltextWhere 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>].

KeyTypeWhat it does (and its default)
urltextIts OpenAI-compatible base URL (http://127.0.0.1:11434/v1); https, or plain http to this machine only.
modeltextThe model it serves to use (its id there).
toolstrue / falseIt does tool calls (what the agent needs); false: plain chat only.
imagestrue / falseIt takes images.
contextnumberIts context window in tokens.
keytrue / falseIts key is in the keyring (model-<name>-key).
dedicatedtextOn 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>).

KeyTypeWhat it does (and its default)
urltextIts OpenAI-compatible base URL (http://127.0.0.1:11434/v1); https, or plain http to this machine only.
modeltextThe model it serves to use (its id there).
toolstrue / falseIt does tool calls (what the agent needs); false: plain chat only.
imagestrue / falseIt takes images.
contextnumberIts context window in tokens.
keytrue / falseIts key is in the keyring (model-<name>-key).
dedicatedtextOn 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.

KeyTypeWhat it does (and its default)
desttextuser@host (or an alias from ~/.ssh/config).
portnumberSet by matter itself.
keypathAn identity file.
mcpstdio 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.

KeyTypeWhat it does (and its default)
desttextuser@host (or an alias from ~/.ssh/config).
portnumberSet by matter itself.
keypathYour SSH key (default: what ssh picks).
viatext"sshc": through sshc, for a key with a passphrase; unset: ssh.
modeltextThe model (its Hugging Face id, or what the server you run calls it).
remote_portnumberThe model server's port on the machine (it listens on 127.0.0.1 only).
local_portnumberThis machine's end of the tunnel (127.0.0.1).
endpointtextYour own https endpoint for it instead of a tunnel.
installedtrue / falsematter installed the model server there (false: you run it; rm then changes nothing there).
price_monthnumberWhat it costs you a month (shown with spend; matter never bills or cancels it).
currencytextSet by matter itself.
addednumberWhen it was added (unix seconds), for this month's share.