Commands
Every command and option, as matter --help prints them. This page is made from the
help text of the release it describes, so it says what the program says.
matter
Matter Engine: chat with models on your gateway, or serve it locally.
Matter Engine: chat with models on your gateway, or serve it locally.
`matter` alone opens the chat; `matter -p "..."` runs one turn and prints the answer (--session ID|NAME or -c for one more turn of a stored session, --output-format json|stream-json).
Usage: matter [OPTIONS]
matter <COMMAND>
Commands:
login Sign in with your Matter Engine account: a link by email, the code from its page (--key: a gateway key instead)
signup Make a Matter Engine account: your email and a password (asked, hidden); then the verification email, then `matter login`
logout-runpod Forget your RunPod key
logout Sign out: your account on this machine (revoked) and any gateway key
whoami Who requests go out as: the account and tenant (or a key), its permissions, the gateway
use Pick the target for chat, run and serve: pool, pool:<data center>, or an instance id
sessions Your sessions, newest first (pinned on top): matter sessions show|rename|tag|pin|archive|search|export|import|prune
group Groups of sessions, with defaults their new sessions inherit
playbook Playbooks: what teaches Matter a job (your saved playbooks, skills, workflows, plugins): ls, show, save (what a session just did), run, check, history, rollback, rm
workflows Workflows (long tasks worked through steps, in the wf format): ls, show <id>, validate [path]
rag The local rag daemon for this project: matter rag [status | auto on|off | add DIR | rm DIR | refresh [REPO]]
remote Control this machine from your own browser or phone (off by default): enable, disable, ls, revoke, approve
jobs Background jobs (matter run --bg): matter jobs [--all] | attach ID | cancel ID | answer ID y|n|a
inbox What sessions post and what waits for you: matter inbox [--group g | --all] [--open] | answer N y|n|a | filter | mute
notify Job notifications: matter notify setup ntfy <url> [--token T] | desktop on|off | test
addon Optional add-ons, not in the default install: matter addon [list | enable NAME | disable NAME | uninstall NAME | check]
hub Matter Desk (the hub add-on): your messages and calendars organised by your own rules (matter hub --help)
open Open a session: its terminal brought forward, or a new terminal on it (a toast's click; matter://session/<id>)
plugin Plugins (skills, commands, MCP servers, hooks, rules): install, list, enable, disable, update, remove, trust, marketplace
privacy What leaves this machine and where, what's kept here and for how long; `matter privacy prune` applies the retention settings now
telemetry Anonymous usage counts: off unless you turn them on (on, off, status, show)
account Your Matter account's data at the account service: delete it (a grace period; signing in cancels) or export it
export All of matter's local data (sessions, checkpoints, the audit log, config; never secrets) in one zip
models Model servers of your own (Ollama, llama.cpp, vLLM, LM Studio, a provider): add, ls, rm; then --model <name>
dedicated GPU servers of your own (your provider account, your bill): add (shows what it would install and asks), ls, status, connect, disconnect, price, rm; then --model <name>
web The web tools' search key: `matter web key` stores it (asked for, unseen; Brave Search's), `matter web forget` removes it
mcp MCP servers: add (a command, or a remote --url), ls, rm, test
sandbox The command sandbox: matter sandbox test checks what it confines on this machine
hosts The machines tools can run on, reached with ssh
serve A local OpenAI-compatible endpoint (127.0.0.1) that forwards /v1/* to the gateway with your key and target
chat Chat on the current target with tools (Ctrl+C stops a reply, /exit quits)
run Run one task with tools and print the answer
upload Copy a local file to a host (matter hosts): matter upload <file> <host>:<folder> (asked first; never a secret file)
download Copy a host's file here: matter download <host>:<path> [folder] (default: this folder; asked first)
undo Put back the files the agent's last turn changed
rewind Put back the files changed in TURN and every later turn of a session (default: the newest session)
checkpoints The turns that changed files, and which files
audit What the agent did on this machine (the client audit log); `matter audit verify` checks its hash chain
status The target, whether the gateway is reachable, and whether you're logged in; with an instance id, that instance (GPU, model server queue, models, time before its limits stop it)
doctor What works and what doesn't (install, sign-in, gateway, clock, RunPod, rag, MCP servers, sandbox, keyring, disk), each with its fix; --bundle writes a zip for support (secrets masked, shown before it's written)
usage Your requests and tokens by day and model (the gateway needs per-user keys)
setup The guided setup again (sign in, where models run, your own pods' card, a test turn, the tour of the keys); the first `matter` with no config runs it by itself
update A new matter release: checks its signed manifest, downloads this platform's build (sha256 checked) and swaps it in, keeping the previous one ([update] channel = stable | beta; it never installs by itself unless [update] auto)
dcs RunPod data centers with GPU stock for a preset (and which have your matter volumes)
gpus The cards that fit a workload: VRAM, $/hr (Secure and Community), stock in your data center, tested
up Start a dedicated GPU instance on your RunPod account (checks your balance and the $/hr cap first)
ls Every pod on your RunPod account: matter's (with their limits) and the others, marked "not matter's"
stop Stop an instance's GPU (keeps the pod and its disk; `matter start` brings it back)
start Start a stopped instance again (reinstalls its watchdog; its limits count from now)
down Terminate an instance (gone for good)
extend More time for an instance: --hours adds to max-hours, --idle sets the idle limit (30m, 1h, 0)
rename Rename an instance (matter's keep the matter- prefix)
ssh A shell on an instance (or run a command there)
share Share a running pod through the gateway (guests get a key for it alone; nothing on the pod listens): start, invite <label>, guests, revoke <label>, stop, ls
logs The instance's watchdog log and server logs
adopt Put a pod made outside matter under matter's limits (and install the watchdog on it)
reap Stop matter's instances past their max-hours (once, or every M minutes with --watch: keep it in tmux or a user timer while you have pods up; the on-pod watchdog handles idle stops)
budget Spend against [budget] in runpod.toml (per session, daily, monthly); `matter budget extend daily 5` adds $5 to today's limit (monthly: this month's; session <pod id>: that pod's run)
volumes Network volumes with size, data center and monthly cost; `matter volumes rm <id>` deletes one
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY>
The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787)
[env: MATTER_GATEWAY=]
-p, --print <PROMPT>
One turn: the answer printed, then exit (a new session, or --session / -c's); `matter run` does the same
--model <MODEL>
The model (default: a continued session's, else config.toml's `model`, else the first local one)
--plain
No tools: a plain chat with the model
--yes
Allow calls a rule marks "ask" (and file writes) without asking; shell commands still ask (--yes-shell). Never covers reads in your home folder, writes outside the project or writes to your home's dotfiles (~/.gitconfig, ~/.config/...): those always ask, or are allowed by a rule of yours naming the path
--yes-shell
Also run shell commands (run_command) without asking
--mode <MODE>
The permission mode: ask (default), auto-edit (edits in the workspace don't ask), plan (read-only: a plan to approve first); [agent] mode in config.toml sets your default
[possible values: ask, auto-edit, plan]
--thinking <THINKING>
Thinking: auto (every call for Gemma 4, which only reasons when asked; for other models the calls that benefit), on, off. Default: [agent] thinking in config.toml, else auto
[possible values: auto, on, off]
--max-turns <MAX_TURNS>
Model calls per prompt before the agent must answer (a run stopped there says so)
[default: 200]
--cwd <CWD>
The working folder (default: the current one)
--verbose
Show every tool call's arguments and output
--quiet
Fold each turn's tool calls into one line (the default; config: output.verbosity)
--at <HOST:FOLDER>
Work on another machine: <host>:<folder> (matter hosts; default: matter use --at, else here)
--group <GROUP>
Start the session in a group (matter group): it gets the group's target, workspace, model and rules
--isolated
Work in a git worktree of its own (<repo>-matter-<session>; matter sessions finish merges, keeps or discards it)
--bg
matter run: queue it as a background job (matter jobs); the CLI returns at once
--resume [<ID>]
matter chat: continue a stored session (the newest when no id is given)
--session <ID|NAME>
Continue a stored session: its id, a unique start of its id, or its name (with -p: one more turn of it)
-c, --continue
Continue the newest session in this folder
--name <NAME>
A name for the new session (unique; --session takes it)
--output-format <OUTPUT_FORMAT>
-p / matter run: text, json (one object at the end) or stream-json (one JSON event per line as it runs)
[default: text]
[possible values: text, json, stream-json]
--wait-approval <DURATION>
-p / matter run, with nobody at the keyboard: how long a question waits for an answer in the inbox (matter inbox, a phone) before it's a no: 10m, 30s, 1h; 0 says no at once
[default: 10m]
--playbook <ID>
Work the task through this playbook (its workflow starts with the task; `matter playbook run` sets it)
-h, --help
Print help (see a summary with '-h')
-V, --version
Print version
matter login
Sign in with your Matter Engine account: a link by email, the code from its page (--key: a gateway key instead)
Sign in with your Matter Engine account: a link by email, the code from its page (--key: a gateway key instead)
Usage: matter login [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--key [<KEY>] A gateway key instead of an account (CI, servers); without a value it's asked for (hidden), or read from stdin
--email <EMAIL> Your account's email (asked for when not given)
--tenant <TENANT> The tenant to sign in to, when your account has several (pick it on the page)
--save-gateway <URL> Also save this gateway URL as the default
--runpod Store your own RunPod API key instead (for matter up / ls / down: instances on your account)
-h, --help Print help
matter signup
Make a Matter Engine account: your email and a password (asked, hidden); then the verification email, then matter login
Make a Matter Engine account: your email and a password (asked, hidden); then the verification email, then `matter login`
Usage: matter signup [OPTIONS]
Options:
--email <EMAIL> Your email (asked for when not given)
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter logout-runpod
Forget your RunPod key
Forget your RunPod key
Usage: matter logout-runpod [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter logout
Sign out: your account on this machine (revoked) and any gateway key
Sign out: your account on this machine (revoked) and any gateway key
Usage: matter logout [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter whoami
Who requests go out as: the account and tenant (or a key), its permissions, the gateway
Who requests go out as: the account and tenant (or a key), its permissions, the gateway
Usage: matter whoami [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter use
Pick the target for chat, run and serve: pool, pool:<data center>, or an instance id
Pick the target for chat, run and serve: pool, pool:<data center>, or an instance id
Usage: matter use [OPTIONS] [TARGET]
Arguments:
[TARGET]
Options:
--at <HOST:FOLDER> Also remember where matter chat / matter run work: <host>:<folder> (matter hosts), or local
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter sessions
Your sessions, newest first (pinned on top): matter sessions show|rename|tag|pin|archive|search|export|import|prune
Your sessions, newest first (pinned on top): matter sessions show|rename|tag|pin|archive|search|export|import|prune
Usage: matter sessions [OPTIONS] [COMMAND]
Commands:
show One session: its details and the last messages
rename Name it (unique, one word: --session and the other commands take it like an id); --title sets its title
tag Add a tag (--rm removes it)
pin Pin (--off unpins): pinned sessions list first and are never pruned
archive Archive (its transcript compressed whole; --off brings it back)
search Sessions whose title or transcript has every word
export A session as Markdown (default) or JSONL, secrets masked
import A Claude Code transcript (~/.claude/projects/.../<id>.jsonl) as a session
prune Remove sessions not updated for DAYS (default: transcripts.retention_days); pinned ones stay
stats How much the store holds, and how well it compresses
finish An isolated session's worktree: merge it into the repo, keep it, or discard it (asked when none is given)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--group <GROUP>
--project <PROJECT> Sessions whose workspace contains this
--status <STATUS> running, waiting, done or failed
--all Archived ones too
-h, --help Print help
matter sessions show
One session: its details and the last messages
One session: its details and the last messages
Usage: matter sessions show [OPTIONS] [ID]
Arguments:
[ID]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--last <LAST> How many of the last events to show [default: 20]
-h, --help Print help
matter sessions rename
Name it (unique, one word: --session and the other commands take it like an id); --title sets its title
Name it (unique, one word: --session and the other commands take it like an id); --title sets its title
Usage: matter sessions rename [OPTIONS] <ID> <NEW>
Arguments:
<ID> Its id, a unique start of it, or its name
<NEW>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--title Set the title instead (any words)
-h, --help Print help
matter sessions tag
Add a tag (--rm removes it)
Add a tag (--rm removes it)
Usage: matter sessions tag [OPTIONS] <ID> <TAG>
Arguments:
<ID>
<TAG>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--rm
-h, --help Print help
matter sessions pin
Pin (--off unpins): pinned sessions list first and are never pruned
Pin (--off unpins): pinned sessions list first and are never pruned
Usage: matter sessions pin [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--off
-h, --help Print help
matter sessions archive
Archive (its transcript compressed whole; --off brings it back)
Archive (its transcript compressed whole; --off brings it back)
Usage: matter sessions archive [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--off
-h, --help Print help
matter sessions search
Sessions whose title or transcript has every word
Sessions whose title or transcript has every word
Usage: matter sessions search [OPTIONS] <TEXT>
Arguments:
<TEXT>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--limit <LIMIT> [default: 20]
-h, --help Print help
matter sessions export
A session as Markdown (default) or JSONL, secrets masked
A session as Markdown (default) or JSONL, secrets masked
Usage: matter sessions export [OPTIONS] [ID]
Arguments:
[ID]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--jsonl
-o, --out <OUT> Write here instead of stdout
-h, --help Print help
matter sessions import
A Claude Code transcript (~/.claude/projects/.../<id>.jsonl) as a session
A Claude Code transcript (~/.claude/projects/.../<id>.jsonl) as a session
Usage: matter sessions import [OPTIONS] <PATH>
Arguments:
<PATH>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter sessions prune
Remove sessions not updated for DAYS (default: transcripts.retention_days); pinned ones stay
Remove sessions not updated for DAYS (default: transcripts.retention_days); pinned ones stay
Usage: matter sessions prune [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--older-than <OLDER_THAN>
-h, --help Print help
matter sessions stats
How much the store holds, and how well it compresses
How much the store holds, and how well it compresses
Usage: matter sessions stats [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter sessions finish
An isolated session's worktree: merge it into the repo, keep it, or discard it (asked when none is given)
An isolated session's worktree: merge it into the repo, keep it, or discard it (asked when none is given)
Usage: matter sessions finish [OPTIONS] [ID]
Arguments:
[ID]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--merge
--keep
--discard
--force Even though it looks like it's still running (asks first; --yes doesn't ask)
--yes
-h, --help Print help
matter group
Groups of sessions, with defaults their new sessions inherit
Groups of sessions, with defaults their new sessions inherit
Usage: matter group [OPTIONS] <COMMAND>
Commands:
add A group; sessions started in it (matter chat --group) inherit these
ls
rm
set Change a group's defaults
mv Put a session in a group
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter group add
A group; sessions started in it (matter chat --group) inherit these
A group; sessions started in it (matter chat --group) inherit these
Usage: matter group add [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--target <TARGET> pool, pool:<data center> or an instance id
--at <AT> <host>:<folder>
--model <MODEL>
--rules <RULES> A folder whose rules apply
--isolated Its sessions work in their own git worktree (matter sessions finish merges, keeps or discards it)
--not-isolated
-h, --help Print help
matter group ls
Usage: matter group ls [OPTIONS]
Usage: matter group ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter group rm
Usage: matter group rm [OPTIONS] <NAME>
Usage: matter group rm [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter group set
Change a group's defaults
Change a group's defaults
Usage: matter group set [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--target <TARGET> pool, pool:<data center> or an instance id
--at <AT> <host>:<folder>
--model <MODEL>
--rules <RULES> A folder whose rules apply
--isolated Its sessions work in their own git worktree (matter sessions finish merges, keeps or discards it)
--not-isolated
-h, --help Print help
matter group mv
Put a session in a group
Put a session in a group
Usage: matter group mv [OPTIONS] <SESSION> <GROUP>
Arguments:
<SESSION>
<GROUP>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter playbook
Playbooks: what teaches Matter a job (your saved playbooks, skills, workflows, plugins): ls, show, save (what a session just did), run, check, history, rollback, rm
Playbooks: what teaches Matter a job (your saved playbooks, skills, workflows, plugins): ls, show, save (what a session just did), run, check, history, rollback, rm
Usage: matter playbook [OPTIONS] [COMMAND]
Commands:
ls Everything that teaches Matter a job: your playbooks, this project's, Matter's skills and workflows, plugins
show One playbook: what it's for, its steps, inputs and check, and its record
save Save what a session did as a playbook (default: the newest session in this folder): shown first to confirm
run Work a task through a playbook (its inputs asked first), then run its check and record the result
check Run a playbook's check now (Matter runs it) and record it
new Draft one from a description: the model writes its steps and check, you see them and save (it's a draft until a run passes its check)
history A playbook's runs: when, passed or not, what the check said
export Pack playbooks as a plugin others can install (`matter plugin install <folder>` shows what it ships first)
update Take the fix its last failed run found (a step's command replaced): shown as a diff first
rollback Put back an earlier version (every save keeps the one before)
rm Delete one of yours (or this project's, --project)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook ls
Everything that teaches Matter a job: your playbooks, this project's, Matter's skills and workflows, plugins
Everything that teaches Matter a job: your playbooks, this project's, Matter's skills and workflows, plugins
Usage: matter playbook ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook show
One playbook: what it's for, its steps, inputs and check, and its record
One playbook: what it's for, its steps, inputs and check, and its record
Usage: matter playbook show [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook save
Save what a session did as a playbook (default: the newest session in this folder): shown first to confirm
Save what a session did as a playbook (default: the newest session in this folder): shown first to confirm
Usage: matter playbook save [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--session <SESSION> The session [default: the newest here]
--name <NAME> Its name [default: the session's title]
--goal <GOAL> What it's for, one line [default: the name]
--project Save it in this project (.matter/playbooks, shared via the repo) instead of yours
--yes Save without asking (every proposed input taken)
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook run
Work a task through a playbook (its inputs asked first), then run its check and record the result
Work a task through a playbook (its inputs asked first), then run its check and record the result
Usage: matter playbook run [OPTIONS] <ID> [TASK]...
Arguments:
<ID>
[TASK]... More for the task, if any
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--input <NAME=VALUE> An input's value: --input version=1.4.2 (asked for when missing, on a terminal)
--plain No tools: a plain chat with the model
--yes Allow calls a rule marks "ask" (and file writes) without asking; shell commands still ask (--yes-shell). Never covers reads in your home folder, writes outside the project or writes to your home's dotfiles (~/.gitconfig, ~/.config/...): those always ask, or are allowed by a rule of yours naming the path
--yes-shell Also run shell commands (run_command) without asking
--mode <MODE> The permission mode: ask (default), auto-edit (edits in the workspace don't ask), plan (read-only: a plan to approve first); [agent] mode in config.toml sets your default [possible values: ask, auto-edit, plan]
--thinking <THINKING> Thinking: auto (every call for Gemma 4, which only reasons when asked; for other models the calls that benefit), on, off. Default: [agent] thinking in config.toml, else auto [possible values: auto, on, off]
--max-turns <MAX_TURNS> Model calls per prompt before the agent must answer (a run stopped there says so) [default: 200]
--cwd <CWD> The working folder (default: the current one)
--verbose Show every tool call's arguments and output
--quiet Fold each turn's tool calls into one line (the default; config: output.verbosity)
--at <HOST:FOLDER> Work on another machine: <host>:<folder> (matter hosts; default: matter use --at, else here)
--group <GROUP> Start the session in a group (matter group): it gets the group's target, workspace, model and rules
--model <MODEL> For `playbook run`: the model [default: config.toml's]
--isolated Work in a git worktree of its own (<repo>-matter-<session>; matter sessions finish merges, keeps or discards it)
--bg matter run: queue it as a background job (matter jobs); the CLI returns at once
--resume [<ID>] matter chat: continue a stored session (the newest when no id is given)
--session <ID|NAME> Continue a stored session: its id, a unique start of its id, or its name (with -p: one more turn of it)
-c, --continue Continue the newest session in this folder
--name <NAME> A name for the new session (unique; --session takes it)
--output-format <OUTPUT_FORMAT> -p / matter run: text, json (one object at the end) or stream-json (one JSON event per line as it runs) [default: text] [possible values: text, json, stream-json]
--wait-approval <DURATION> -p / matter run, with nobody at the keyboard: how long a question waits for an answer in the inbox (matter inbox, a phone) before it's a no: 10m, 30s, 1h; 0 says no at once [default: 10m]
--playbook <ID> Work the task through this playbook (its workflow starts with the task; `matter playbook run` sets it)
-h, --help Print help
matter playbook check
Run a playbook's check now (Matter runs it) and record it
Run a playbook's check now (Matter runs it) and record it
Usage: matter playbook check [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes OK its check command without asking (it runs once you have, confined like the agent's commands)
--input <NAME=VALUE>
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook new
Draft one from a description: the model writes its steps and check, you see them and save (it's a draft until a run passes its check)
Draft one from a description: the model writes its steps and check, you see them and save (it's a draft until a run passes its check)
Usage: matter playbook new [OPTIONS] [DESCRIPTION]...
Arguments:
[DESCRIPTION]... What the job is, e.g. "release this app: bump the version, run the tests, build, tag"
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--project Save it in this project instead of yours
--yes
--kind <KIND> `sources`: a source pack for research (registries, feeds, docs indexes it asks), made from a template to fill in; the default is a playbook of steps [possible values: steps, sources]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook history
A playbook's runs: when, passed or not, what the check said
A playbook's runs: when, passed or not, what the check said
Usage: matter playbook history [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook export
Pack playbooks as a plugin others can install (matter plugin install <folder> shows what it ships first)
Pack playbooks as a plugin others can install (`matter plugin install <folder>` shows what it ships first)
Usage: matter playbook export [OPTIONS] <IDS>...
Arguments:
<IDS>... The playbooks to pack
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--name <NAME> The plugin's name [default: the first playbook's]
--out <OUT> Where to write it [default: ./<name>]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook update
Take the fix its last failed run found (a step's command replaced): shown as a diff first
Take the fix its last failed run found (a step's command replaced): shown as a diff first
Usage: matter playbook update [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook rollback
Put back an earlier version (every save keeps the one before)
Put back an earlier version (every save keeps the one before)
Usage: matter playbook rollback [OPTIONS] <ID> <VERSION>
Arguments:
<ID>
<VERSION>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter playbook rm
Delete one of yours (or this project's, --project)
Delete one of yours (or this project's, --project)
Usage: matter playbook rm [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--project
--yes
--model <MODEL> For `playbook run`: the model [default: config.toml's]
-h, --help Print help
matter workflows
Workflows (long tasks worked through steps, in the wf format): ls, show <id>, validate [path]
Workflows (long tasks worked through steps, in the wf format): ls, show <id>, validate [path]
Usage: matter workflows [OPTIONS] [COMMAND]
Commands:
ls Every workflow a session here can use, with where it's from (the default)
show One workflow: its goal, triggers and steps, each with its outcomes and tools
validate Check workflow files (a folder holding <id>.md and steps/, or one workflow file): steps that exist, outcomes that lead somewhere, files that parse. Exits 1 on a problem
learned The commands workflows learned in this project, per step (kept in matter's data dir, never in the repo): show (the default), edit (opens a step's file in $EDITOR, or prints its path), forget (all of them, a workflow's, or one step's). --project: the commands learned with no workflow running (shown at the start of every session here)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter workflows ls
Every workflow a session here can use, with where it's from (the default)
Every workflow a session here can use, with where it's from (the default)
Usage: matter workflows ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter workflows show
One workflow: its goal, triggers and steps, each with its outcomes and tools
One workflow: its goal, triggers and steps, each with its outcomes and tools
Usage: matter workflows show [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter workflows validate
Check workflow files (a folder holding <id>.md and steps/, or one workflow file): steps that exist, outcomes that lead somewhere, files that parse. Exits 1 on a problem
Check workflow files (a folder holding <id>.md and steps/, or one workflow file): steps that exist, outcomes that lead somewhere, files that parse. Exits 1 on a problem
Usage: matter workflows validate [OPTIONS] [PATH]
Arguments:
[PATH]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter workflows learned
The commands workflows learned in this project, per step (kept in matter's data dir, never in the repo): show (the default), edit (opens a step's file in $EDITOR, or prints its path), forget (all of them, a workflow's, or one step's). --project: the commands learned with no workflow running (shown at the start of every session here)
The commands workflows learned in this project, per step (kept in matter's data dir, never in the repo): show (the default), edit (opens a step's file in $EDITOR, or prints its path), forget (all of them, a workflow's, or one step's). --project: the commands learned with no workflow running (shown at the start of every session here)
Usage: matter workflows learned [OPTIONS] [ACTION] [WORKFLOW] [STEP]
Arguments:
[ACTION] [default: show] [possible values: show, edit, forget]
[WORKFLOW]
[STEP]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--project The project's own commands (learned outside workflows) instead of a workflow's
-h, --help Print help
matter rag
The local rag daemon for this project: matter rag [status | auto on|off | add DIR | rm DIR | refresh [REPO]]
The local rag daemon for this project: matter rag [status | auto on|off | add DIR | rm DIR | refresh [REPO]]
Usage: matter rag [OPTIONS] [COMMAND]
Commands:
status The daemon, auto-context, and the project's indexed folders (the default)
auto Auto-context for this project: on, or off (the rag_search tool stays)
add Add an indexed folder to this project (searches run from it)
rm
refresh Re-index the project's folders (or one repo) with rag.refresh from config.toml; long or heavy builds ask first
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter rag status
The daemon, auto-context, and the project's indexed folders (the default)
The daemon, auto-context, and the project's indexed folders (the default)
Usage: matter rag status [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter rag auto
Auto-context for this project: on, or off (the rag_search tool stays)
Auto-context for this project: on, or off (the rag_search tool stays)
Usage: matter rag auto [OPTIONS] <STATE>
Arguments:
<STATE> [possible values: on, off]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter rag add
Add an indexed folder to this project (searches run from it)
Add an indexed folder to this project (searches run from it)
Usage: matter rag add [OPTIONS] <DIR>
Arguments:
<DIR>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter rag rm
Usage: matter rag rm [OPTIONS] <DIR>
Usage: matter rag rm [OPTIONS] <DIR>
Arguments:
<DIR>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter rag refresh
Re-index the project's folders (or one repo) with rag.refresh from config.toml; long or heavy builds ask first
Re-index the project's folders (or one repo) with rag.refresh from config.toml; long or heavy builds ask first
Usage: matter rag refresh [OPTIONS] [REPO]
Arguments:
[REPO]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes Don't ask, even for a long build (the estimate is still said)
-h, --help Print help
matter remote
Control this machine from your own browser or phone (off by default): enable, disable, ls, revoke, approve
Control this machine from your own browser or phone (off by default): enable, disable, ls, revoke, approve
Usage: matter remote [OPTIONS] <COMMAND>
Commands:
enable Turn remote control on: this machine registered with the relay, the daemon started now and at login
disable Turn it off: the daemon no longer starts at login, the relay link ends (paired devices are kept)
ls Whether it's on, and the devices paired with this machine
revoke Take a paired device away: it can't connect again, and its live sessions end now
approve Answer a device waiting to pair: shows its name and words, then asks whether they match the device's
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter remote enable
Turn remote control on: this machine registered with the relay, the daemon started now and at login
Turn remote control on: this machine registered with the relay, the daemon started now and at login
Usage: matter remote enable [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--name <NAME> This machine's name on your devices (default: its host name)
--allow-shell Also allow shell tabs, ! commands and terminal input from your devices: a shell on this machine, so a device with it can do anything you can here, including approving other devices
--allow-instances Also allow starting and changing GPU instances from your devices (it costs money)
--relay <RELAY> Another relay (https)
-h, --help Print help
matter remote disable
Turn it off: the daemon no longer starts at login, the relay link ends (paired devices are kept)
Turn it off: the daemon no longer starts at login, the relay link ends (paired devices are kept)
Usage: matter remote disable [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter remote ls
Whether it's on, and the devices paired with this machine
Whether it's on, and the devices paired with this machine
Usage: matter remote ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter remote revoke
Take a paired device away: it can't connect again, and its live sessions end now
Take a paired device away: it can't connect again, and its live sessions end now
Usage: matter remote revoke [OPTIONS] <DEVICE>
Arguments:
<DEVICE> Its name (or the start of it), or its key
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter remote approve
Answer a device waiting to pair: shows its name and words, then asks whether they match the device's
Answer a device waiting to pair: shows its name and words, then asks whether they match the device's
Usage: matter remote approve [OPTIONS]
Options:
--deny Refuse it instead
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--words <WORDS> The words the device shows, for when there's no terminal to ask in: approved only if they match exactly
--id <ID> Which pairing (the number `matter remote approve` lists), when more than one is waiting
-h, --help Print help
matter jobs
Background jobs (matter run --bg): matter jobs [--all] | attach ID | cancel ID | answer ID y|n|a
Background jobs (matter run --bg): matter jobs [--all] | attach ID | cancel ID | answer ID y|n|a
Usage: matter jobs [OPTIONS] [COMMAND]
Commands:
attach Follow a job's output; answer its questions here
cancel
answer Answer the question a waiting job asks: y, n or a (always)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--all
-h, --help Print help
matter jobs attach
Follow a job's output; answer its questions here
Follow a job's output; answer its questions here
Usage: matter jobs attach [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter jobs cancel
Usage: matter jobs cancel [OPTIONS] <ID>
Usage: matter jobs cancel [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter jobs answer
Answer the question a waiting job asks: y, n or a (always)
Answer the question a waiting job asks: y, n or a (always)
Usage: matter jobs answer [OPTIONS] <ID> <ANSWER>
Arguments:
<ID>
<ANSWER> [possible values: y, n, a, yes, no, always]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter inbox
What sessions post and what waits for you: matter inbox [--group g | --all] [--open] | answer N y|n|a | filter | mute
What sessions post and what waits for you: matter inbox [--group g | --all] [--open] | answer N y|n|a | filter | mute
Usage: matter inbox [OPTIONS] [COMMAND]
Commands:
answer Answer item N (y, n, a; or text for a prompt)
filter A device's filter: terminal (matter inbox), desktop, or phone
mute Mute a group or a session (its items are left out everywhere)
unmute
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--group <GROUP>
--all
--open Only what still waits for an answer
-h, --help Print help
matter inbox answer
Answer item N (y, n, a; or text for a prompt)
Answer item N (y, n, a; or text for a prompt)
Usage: matter inbox answer [OPTIONS] <N> <ANSWER>
Arguments:
<N>
<ANSWER>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter inbox filter
A device's filter: terminal (matter inbox), desktop, or phone
A device's filter: terminal (matter inbox), desktop, or phone
Usage: matter inbox filter [OPTIONS] <DEVICE>
Arguments:
<DEVICE> [possible values: terminal, desktop, phone]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--group <GROUP> One group's thread
--all Every group
--kinds <KINDS> [possible values: everything, needs-me, errors]
--subagents <SUBAGENTS> Follow sub-agents [possible values: on, off]
-h, --help Print help
matter inbox mute
Mute a group or a session (its items are left out everywhere)
Mute a group or a session (its items are left out everywhere)
Usage: matter inbox mute [OPTIONS] <WHAT> <NAME>
Arguments:
<WHAT> [possible values: group, session]
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter inbox unmute
Usage: matter inbox unmute [OPTIONS] <WHAT> <NAME>
Usage: matter inbox unmute [OPTIONS] <WHAT> <NAME>
Arguments:
<WHAT> [possible values: group, session]
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter notify
Job notifications: matter notify setup ntfy <url> [--token T] | desktop on|off | test
Job notifications: matter notify setup ntfy <url> [--token T] | desktop on|off | test
Usage: matter notify [OPTIONS] <COMMAND>
Commands:
setup Send inbox items to your phone through ntfy (matter subscribes to a reply topic for Allow / Deny)
desktop Turn desktop notifications on or off
test Send a test notification everywhere it's set up
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter notify setup
Send inbox items to your phone through ntfy (matter subscribes to a reply topic for Allow / Deny)
Send inbox items to your phone through ntfy (matter subscribes to a reply topic for Allow / Deny)
Usage: matter notify setup [OPTIONS] <KIND> <URL>
Arguments:
<KIND> [possible values: ntfy]
<URL> The ntfy server, e.g. https://ntfy.sh
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--topic <TOPIC> The topic to subscribe to on the phone (default: a new random one)
--token <TOKEN> An access token (kept in the keyring)
-h, --help Print help
matter notify desktop
Turn desktop notifications on or off
Turn desktop notifications on or off
Usage: matter notify desktop [OPTIONS] <STATE>
Arguments:
<STATE> [possible values: on, off]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter notify test
Send a test notification everywhere it's set up
Send a test notification everywhere it's set up
Usage: matter notify test [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter addon
Optional add-ons, not in the default install: matter addon [list | enable NAME | disable NAME | uninstall NAME | check]
Optional add-ons, not in the default install: matter addon [list | enable NAME | disable NAME | uninstall NAME | check]
Usage: matter addon [OPTIONS] <COMMAND>
Commands:
list The add-ons, and which are on
enable Download, check and turn on an add-on (its signed build for this version of matter)
disable Turn an add-on off: its connected accounts disconnected (tokens revoked), its store and key wiped
uninstall Disable, and remove its build
check Check the account's entitlement now (signed in: `matter login`)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter addon list
The add-ons, and which are on
The add-ons, and which are on
Usage: matter addon list [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter addon enable
Download, check and turn on an add-on (its signed build for this version of matter)
Download, check and turn on an add-on (its signed build for this version of matter)
Usage: matter addon enable [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
-h, --help Print help
matter addon disable
Turn an add-on off: its connected accounts disconnected (tokens revoked), its store and key wiped
Turn an add-on off: its connected accounts disconnected (tokens revoked), its store and key wiped
Usage: matter addon disable [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
--force Wipe even when an account's access couldn't be revoked (its token is then gone)
-h, --help Print help
matter addon uninstall
Disable, and remove its build
Disable, and remove its build
Usage: matter addon uninstall [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
--force
-h, --help Print help
matter addon check
Check the account's entitlement now (signed in: matter login)
Check the account's entitlement now (signed in: `matter login`)
Usage: matter addon check [OPTIONS] [NAME]
Arguments:
[NAME]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter hub
Matter Desk (the hub add-on): your messages and calendars organised by your own rules (matter hub --help)
Matter Desk (the hub add-on): your messages and calendars organised by your own rules (matter hub --help)
Usage: matter hub [OPTIONS] [ARGS]...
Arguments:
[ARGS]...
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter open
Open a session: its terminal brought forward, or a new terminal on it (a toast's click; matter://session/<id>)
Open a session: its terminal brought forward, or a new terminal on it (a toast's click; matter://session/<id>)
Usage: matter open [OPTIONS] <LINK>
Arguments:
<LINK> matter://session/<id>, or the session's id
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin
Plugins (skills, commands, MCP servers, hooks, rules): install, list, enable, disable, update, remove, trust, marketplace
Plugins (skills, commands, MCP servers, hooks, rules): install, list, enable, disable, update, remove, trust, marketplace
Usage: matter plugin [OPTIONS] <COMMAND>
Commands:
install Install from a git URL, a folder, or name@marketplace (shows what it ships and asks first)
list Installed plugins: version, source, enabled, what each ships
enable
disable
update Pull a cloned plugin (shows the incoming commits and asks first)
remove Remove a plugin (a linked one: only the link)
trust Let a plugin's hooks run (they run its code)
untrust Turn its hooks off again
marketplace Claude Code marketplaces: add <git url | folder>, list
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin install
Install from a git URL, a folder, or name@marketplace (shows what it ships and asks first)
Install from a git URL, a folder, or name@marketplace (shows what it ships and asks first)
Usage: matter plugin install [OPTIONS] <SOURCE>
Arguments:
<SOURCE>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes Don't ask (scripts)
-h, --help Print help
matter plugin list
Installed plugins: version, source, enabled, what each ships
Installed plugins: version, source, enabled, what each ships
Usage: matter plugin list [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin enable
Usage: matter plugin enable [OPTIONS] <NAME>
Usage: matter plugin enable [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin disable
Usage: matter plugin disable [OPTIONS] <NAME>
Usage: matter plugin disable [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin update
Pull a cloned plugin (shows the incoming commits and asks first)
Pull a cloned plugin (shows the incoming commits and asks first)
Usage: matter plugin update [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
-h, --help Print help
matter plugin remove
Remove a plugin (a linked one: only the link)
Remove a plugin (a linked one: only the link)
Usage: matter plugin remove [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
-h, --help Print help
matter plugin trust
Let a plugin's hooks run (they run its code)
Let a plugin's hooks run (they run its code)
Usage: matter plugin trust [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin untrust
Turn its hooks off again
Turn its hooks off again
Usage: matter plugin untrust [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter plugin marketplace
Claude Code marketplaces: add <git url | folder>, list
Claude Code marketplaces: add <git url | folder>, list
Usage: matter plugin marketplace [OPTIONS] <OP> [SOURCE]
Arguments:
<OP> [possible values: add, list]
[SOURCE]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter privacy
What leaves this machine and where, what's kept here and for how long; matter privacy prune applies the retention settings now
What leaves this machine and where, what's kept here and for how long; `matter privacy prune` applies the retention settings now
Usage: matter privacy [OPTIONS] [ACTION] [STATE]
Arguments:
[ACTION] [possible values: prune, encrypt]
[STATE] With encrypt: on, off or status (matter's local data sealed with a key in the OS keyring) [possible values: on, off, status]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--json
-h, --help Print help
matter telemetry
Anonymous usage counts: off unless you turn them on (on, off, status, show)
Anonymous usage counts: off unless you turn them on (on, off, status, show)
Usage: matter telemetry [OPTIONS] [COMMAND]
Commands:
on Send anonymous usage counts (at most once a day; see exactly what with `show`)
off Stop: nothing more is counted or sent, and what was counted and not sent is dropped
status Whether it's on, and why (your setting, MATTER_TELEMETRY, this machine's managed config)
show The exact next batch, and what was sent in the last 30 days
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter telemetry on
Send anonymous usage counts (at most once a day; see exactly what with show)
Send anonymous usage counts (at most once a day; see exactly what with `show`)
Usage: matter telemetry on [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter telemetry off
Stop: nothing more is counted or sent, and what was counted and not sent is dropped
Stop: nothing more is counted or sent, and what was counted and not sent is dropped
Usage: matter telemetry off [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter telemetry status
Whether it's on, and why (your setting, MATTER_TELEMETRY, this machine's managed config)
Whether it's on, and why (your setting, MATTER_TELEMETRY, this machine's managed config)
Usage: matter telemetry status [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter telemetry show
The exact next batch, and what was sent in the last 30 days
The exact next batch, and what was sent in the last 30 days
Usage: matter telemetry show [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter account
Your Matter account's data at the account service: delete it (a grace period; signing in cancels) or export it
Your Matter account's data at the account service: delete it (a grace period; signing in cancels) or export it
Usage: matter account [OPTIONS] [COMMAND]
Commands:
delete Delete your Matter account: what goes is shown first, then your email (typed) and password; it's deleted after a grace period, and signing in again before then cancels it
export A copy of what the account service holds for your account, as JSON (to stdout, or this file)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter account delete
Delete your Matter account: what goes is shown first, then your email (typed) and password; it's deleted after a grace period, and signing in again before then cancels it
Delete your Matter account: what goes is shown first, then your email (typed) and password; it's deleted after a grace period, and signing in again before then cancels it
Usage: matter account delete [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes Don't ask for the email to be typed (scripts; the password is still asked)
--cancel Cancel a pending delete: sign in again (`matter login`)
-h, --help Print help
matter account export
A copy of what the account service holds for your account, as JSON (to stdout, or this file)
A copy of what the account service holds for your account, as JSON (to stdout, or this file)
Usage: matter account export [OPTIONS] [FILE]
Arguments:
[FILE]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter export
All of matter's local data (sessions, checkpoints, the audit log, config; never secrets) in one zip
All of matter's local data (sessions, checkpoints, the audit log, config; never secrets) in one zip
Usage: matter export [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--out <OUT> [default: matter-export.zip]
--yes Don't ask
-h, --help Print help
matter models
Model servers of your own (Ollama, llama.cpp, vLLM, LM Studio, a provider): add, ls, rm; then --model <name>
Model servers of your own (Ollama, llama.cpp, vLLM, LM Studio, a provider): add, ls, rm; then --model <name>
Usage: matter models [OPTIONS] <COMMAND>
Commands:
add Add one: matter models add <name> --url <base> [--model <id>] [--key]
ls Yours, with what each can do
rm Remove one (and its key)
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter models add
Add one: matter models add <name> --url <base> [--model <id>] [--key]
Add one: matter models add <name> --url <base> [--model <id>] [--key]
Usage: matter models add [OPTIONS] --url <URL> <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--url <URL> Its OpenAI-compatible base URL, e.g. http://127.0.0.1:11434/v1 (Ollama), http://127.0.0.1:8080/v1 (llama.cpp), http://127.0.0.1:1234/v1 (LM Studio), https://openrouter.ai/api/v1
--model <MODEL> The model's id there (default: the only one it serves)
--key It needs a key: asked for, unseen, and kept in the keyring
--tools <TOOLS> Tool calls (what the agent needs), when the server doesn't say [possible values: yes, no]
--images <IMAGES> Images, when the server doesn't say [possible values: yes, no]
--context <CONTEXT> Its context window in tokens, when the server doesn't say
-h, --help Print help
matter models ls
Yours, with what each can do
Yours, with what each can do
Usage: matter models ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter models rm
Remove one (and its key)
Remove one (and its key)
Usage: matter models rm [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter dedicated
GPU servers of your own (your provider account, your bill): add (shows what it would install and asks), ls, status, connect, disconnect, price, rm; then --model <name>
GPU servers of your own (your provider account, your bill): add (shows what it would install and asks), ls, status, connect, disconnect, price, rm; then --model <name>
Usage: matter dedicated [OPTIONS] <COMMAND>
Commands:
add Add a server of yours: matter dedicated add <name> --ssh user@host --model <id> (shows what it would install and asks), or --existing <port> for a model server you run there, or --endpoint <https url>
ls Your dedicated machines, their tunnels and what they cost this month
status Its install's progress, the model server's health, the tunnel (finishes an add that was left waiting)
connect Open the SSH tunnel to its model server (matter does this by itself when you use it)
disconnect Close the tunnel
price Set what it costs you a month
rm Remove it: shows what matter installed there and takes away only that (asks first); --forget only forgets it here
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter dedicated add
Add a server of yours: matter dedicated add <name> --ssh user@host --model <id> (shows what it would install and asks), or --existing <port> for a model server you run there, or --endpoint <https url>
Add a server of yours: matter dedicated add <name> --ssh user@host --model <id> (shows what it would install and asks), or --existing <port> for a model server you run there, or --endpoint <https url>
Usage: matter dedicated add [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--ssh <SSH> user@host, or an alias from ~/.ssh/config
--port <PORT> Its SSH port
--key <KEY> Your SSH key (default: what ssh picks)
--sshc Through sshc (for a key with a passphrase)
--model <MODEL> The model to serve (a Hugging Face id, e.g. google/gemma-4-26B-A4B-it); with --existing or --endpoint, its id there (default: the only one it serves)
--remote-port <REMOTE_PORT> The model server's port on the machine (127.0.0.1 only) [default: 8000]
--existing <EXISTING> A model server you already run there on 127.0.0.1:<port>: matter installs nothing, only tunnels to it
--endpoint <ENDPOINT> Your own https endpoint for it (OpenAI-compatible base URL): no SSH, nothing installed
--tool-parser <TOOL_PARSER> vLLM's tool-call parser (default: picked from the model's name; "none": plain chat only)
--context <CONTEXT> The context to serve (vLLM's --max-model-len)
--tools <TOOLS> Tool calls, when your own server doesn't say [possible values: yes, no]
--price <PRICE> What it costs you a month (for the spend view; matter never bills or cancels it)
--currency <CURRENCY> [default: USD]
--accept <ACCEPT> Agree to the plan this code names (shown with it): for scripts; anything else changed means a new code
--wait <WAIT> How long to wait for the install (minutes); it goes on there if you stop waiting [default: 60]
-h, --help Print help
matter dedicated ls
Your dedicated machines, their tunnels and what they cost this month
Your dedicated machines, their tunnels and what they cost this month
Usage: matter dedicated ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--json
-h, --help Print help
matter dedicated status
Its install's progress, the model server's health, the tunnel (finishes an add that was left waiting)
Its install's progress, the model server's health, the tunnel (finishes an add that was left waiting)
Usage: matter dedicated status [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter dedicated connect
Open the SSH tunnel to its model server (matter does this by itself when you use it)
Open the SSH tunnel to its model server (matter does this by itself when you use it)
Usage: matter dedicated connect [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter dedicated disconnect
Close the tunnel
Close the tunnel
Usage: matter dedicated disconnect [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter dedicated price
Set what it costs you a month
Set what it costs you a month
Usage: matter dedicated price [OPTIONS] <NAME> <AMOUNT>
Arguments:
<NAME>
<AMOUNT>
Options:
--currency <CURRENCY>
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter dedicated rm
Remove it: shows what matter installed there and takes away only that (asks first); --forget only forgets it here
Remove it: shows what matter installed there and takes away only that (asks first); --forget only forgets it here
Usage: matter dedicated rm [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--accept <ACCEPT>
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--forget Forget it here without touching the machine (when it's gone or unreachable)
--remove-packages Also undo the system changes matter made there (python3-venv, linger): kept by default, since other software may use them by now
-h, --help Print help
matter web
The web tools' search key: matter web key stores it (asked for, unseen; Brave Search's), matter web forget removes it
The web tools' search key: `matter web key` stores it (asked for, unseen; Brave Search's), `matter web forget` removes it
Usage: matter web [OPTIONS] <OP>
Arguments:
<OP> [possible values: key, forget]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter mcp
MCP servers: add (a command, or a remote --url), ls, rm, test
MCP servers: add (a command, or a remote --url), ls, rm, test
Usage: matter mcp [OPTIONS] <COMMAND>
Commands:
add Add a server: `matter mcp add NAME -- COMMAND [ARGS...]` (stdio) or `matter mcp add NAME --url URL` (remote)
ls Every server: scope, transport, tools and last error (from the last session or test)
rm Remove a server (and the secrets kept for it)
test Start or connect to a server, list its tools, stop it
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter mcp add
Add a server: matter mcp add NAME -- COMMAND [ARGS...] (stdio) or matter mcp add NAME --url URL (remote)
Add a server: `matter mcp add NAME -- COMMAND [ARGS...]` (stdio) or `matter mcp add NAME --url URL` (remote)
Usage: matter mcp add [OPTIONS] <NAME> [-- <COMMAND>...]
Arguments:
<NAME>
[COMMAND]... The command and its arguments (after --)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--scope <SCOPE> user (yours, every project) or project (this folder's .mcp.json) [default: user] [possible values: user, project]
--url <URL> A remote server's URL (https; plain http only to this machine)
--transport <TRANSPORT> A remote server's transport: http (streamable HTTP) or sse (the older one) [default: http] [possible values: http, sse]
--header <K=V> A header for a remote server, K=V (V as @VAR: written as ${VAR})
--env <K=V> An environment variable for a server it starts, K=V (V as @VAR: written as ${VAR})
--secret <K> Keep K's value in the keyring, not the file (asked for, unseen, when --env/--header doesn't give it)
--force Replace a server of that name
-h, --help Print help
matter mcp ls
Every server: scope, transport, tools and last error (from the last session or test)
Every server: scope, transport, tools and last error (from the last session or test)
Usage: matter mcp ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--json
-h, --help Print help
matter mcp rm
Remove a server (and the secrets kept for it)
Remove a server (and the secrets kept for it)
Usage: matter mcp rm [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--scope <SCOPE> [possible values: user, project]
-h, --help Print help
matter mcp test
Start or connect to a server, list its tools, stop it
Start or connect to a server, list its tools, stop it
Usage: matter mcp test [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter sandbox
The command sandbox: matter sandbox test checks what it confines on this machine
The command sandbox: matter sandbox test checks what it confines on this machine
Usage: matter sandbox [OPTIONS] <ACTION>
Arguments:
<ACTION> test: check what it confines here; trust: show what this project tells matter to do, and trust it as it is; reset (Windows): remove the sandbox's permissions from your folders and its AppContainer profiles [possible values: test, trust, reset]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes trust without asking
-h, --help Print help
matter hosts
The machines tools can run on, reached with ssh
The machines tools can run on, reached with ssh
Usage: matter hosts [OPTIONS] <COMMAND>
Commands:
add Add (or change) a host: matter hosts add dev-vm luke@10.0.0.5 [--port 22] [--key ~/.ssh/id_ed25519]
ls List the hosts
rm Remove a host
test Connect to a host: its home folder, round trip, and whether ripgrep and agent-ext are there
help Print this message or the help of the given subcommand(s)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter hosts add
Add (or change) a host: matter hosts add dev-vm luke@10.0.0.5 [--port 22] [--key ~/.ssh/id_ed25519]
Add (or change) a host: matter hosts add dev-vm luke@10.0.0.5 [--port 22] [--key ~/.ssh/id_ed25519]
Usage: matter hosts add [OPTIONS] <NAME> <DEST>
Arguments:
<NAME>
<DEST> user@host, or an alias from ~/.ssh/config
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--port <PORT>
--key <KEY> An identity file
-h, --help Print help
matter hosts ls
List the hosts
List the hosts
Usage: matter hosts ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter hosts rm
Remove a host
Remove a host
Usage: matter hosts rm [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter hosts test
Connect to a host: its home folder, round trip, and whether ripgrep and agent-ext are there
Connect to a host: its home folder, round trip, and whether ripgrep and agent-ext are there
Usage: matter hosts test [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter serve
A local OpenAI-compatible endpoint (127.0.0.1) that forwards /v1/* to the gateway with your key and target
A local OpenAI-compatible endpoint (127.0.0.1) that forwards /v1/* to the gateway with your key and target
Usage: matter serve [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--port <PORT> [default: 8789]
--no-redact Send request bodies as they are (secrets are masked by default)
-h, --help Print help
matter chat
Chat on the current target with tools (Ctrl+C stops a reply, /exit quits)
Chat on the current target with tools (Ctrl+C stops a reply, /exit quits)
Usage: matter chat [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> The model (default: config.toml's `model`, else the first local one the gateway offers) [env: MATTER_MODEL=]
--plain No tools: a plain chat with the model
--yes Allow calls a rule marks "ask" (and file writes) without asking; shell commands still ask (--yes-shell). Never covers reads in your home folder, writes outside the project or writes to your home's dotfiles (~/.gitconfig, ~/.config/...): those always ask, or are allowed by a rule of yours naming the path
--yes-shell Also run shell commands (run_command) without asking
--mode <MODE> The permission mode: ask (default), auto-edit (edits in the workspace don't ask), plan (read-only: a plan to approve first); [agent] mode in config.toml sets your default [possible values: ask, auto-edit, plan]
--thinking <THINKING> Thinking: auto (every call for Gemma 4, which only reasons when asked; for other models the calls that benefit), on, off. Default: [agent] thinking in config.toml, else auto [possible values: auto, on, off]
--max-turns <MAX_TURNS> Model calls per prompt before the agent must answer (a run stopped there says so) [default: 200]
--cwd <CWD> The working folder (default: the current one)
--verbose Show every tool call's arguments and output
--quiet Fold each turn's tool calls into one line (the default; config: output.verbosity)
--at <HOST:FOLDER> Work on another machine: <host>:<folder> (matter hosts; default: matter use --at, else here)
--group <GROUP> Start the session in a group (matter group): it gets the group's target, workspace, model and rules
--isolated Work in a git worktree of its own (<repo>-matter-<session>; matter sessions finish merges, keeps or discards it)
--bg matter run: queue it as a background job (matter jobs); the CLI returns at once
--resume [<ID>] matter chat: continue a stored session (the newest when no id is given)
--session <ID|NAME> Continue a stored session: its id, a unique start of its id, or its name (with -p: one more turn of it)
-c, --continue Continue the newest session in this folder
--name <NAME> A name for the new session (unique; --session takes it)
--output-format <OUTPUT_FORMAT> -p / matter run: text, json (one object at the end) or stream-json (one JSON event per line as it runs) [default: text] [possible values: text, json, stream-json]
--wait-approval <DURATION> -p / matter run, with nobody at the keyboard: how long a question waits for an answer in the inbox (matter inbox, a phone) before it's a no: 10m, 30s, 1h; 0 says no at once [default: 10m]
--playbook <ID> Work the task through this playbook (its workflow starts with the task; `matter playbook run` sets it)
-h, --help Print help
matter run
Run one task with tools and print the answer
Run one task with tools and print the answer
Usage: matter run [OPTIONS] <TASK>...
Arguments:
<TASK>...
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--model <MODEL> [env: MATTER_MODEL=]
--plain No tools: a plain chat with the model
--yes Allow calls a rule marks "ask" (and file writes) without asking; shell commands still ask (--yes-shell). Never covers reads in your home folder, writes outside the project or writes to your home's dotfiles (~/.gitconfig, ~/.config/...): those always ask, or are allowed by a rule of yours naming the path
--yes-shell Also run shell commands (run_command) without asking
--mode <MODE> The permission mode: ask (default), auto-edit (edits in the workspace don't ask), plan (read-only: a plan to approve first); [agent] mode in config.toml sets your default [possible values: ask, auto-edit, plan]
--thinking <THINKING> Thinking: auto (every call for Gemma 4, which only reasons when asked; for other models the calls that benefit), on, off. Default: [agent] thinking in config.toml, else auto [possible values: auto, on, off]
--max-turns <MAX_TURNS> Model calls per prompt before the agent must answer (a run stopped there says so) [default: 200]
--cwd <CWD> The working folder (default: the current one)
--verbose Show every tool call's arguments and output
--quiet Fold each turn's tool calls into one line (the default; config: output.verbosity)
--at <HOST:FOLDER> Work on another machine: <host>:<folder> (matter hosts; default: matter use --at, else here)
--group <GROUP> Start the session in a group (matter group): it gets the group's target, workspace, model and rules
--isolated Work in a git worktree of its own (<repo>-matter-<session>; matter sessions finish merges, keeps or discards it)
--bg matter run: queue it as a background job (matter jobs); the CLI returns at once
--resume [<ID>] matter chat: continue a stored session (the newest when no id is given)
--session <ID|NAME> Continue a stored session: its id, a unique start of its id, or its name (with -p: one more turn of it)
-c, --continue Continue the newest session in this folder
--name <NAME> A name for the new session (unique; --session takes it)
--output-format <OUTPUT_FORMAT> -p / matter run: text, json (one object at the end) or stream-json (one JSON event per line as it runs) [default: text] [possible values: text, json, stream-json]
--wait-approval <DURATION> -p / matter run, with nobody at the keyboard: how long a question waits for an answer in the inbox (matter inbox, a phone) before it's a no: 10m, 30s, 1h; 0 says no at once [default: 10m]
--playbook <ID> Work the task through this playbook (its workflow starts with the task; `matter playbook run` sets it)
-h, --help Print help
matter upload
Copy a local file to a host (matter hosts): matter upload <file> <host>:<folder> (asked first; never a secret file)
Copy a local file to a host (matter hosts): matter upload <file> <host>:<folder> (asked first; never a secret file)
Usage: matter upload [OPTIONS] <FILE> <HOST:FOLDER>
Arguments:
<FILE>
<HOST:FOLDER>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes Don't ask
-h, --help Print help
matter download
Copy a host's file here: matter download <host>:<path> [folder] (default: this folder; asked first)
Copy a host's file here: matter download <host>:<path> [folder] (default: this folder; asked first)
Usage: matter download [OPTIONS] <HOST:PATH> [TO]
Arguments:
<HOST:PATH>
[TO]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
-h, --help Print help
matter undo
Put back the files the agent's last turn changed
Put back the files the agent's last turn changed
Usage: matter undo [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--session <SESSION>
--force Even if a file changed outside the agent since
-h, --help Print help
matter rewind
Put back the files changed in TURN and every later turn of a session (default: the newest session)
Put back the files changed in TURN and every later turn of a session (default: the newest session)
Usage: matter rewind [OPTIONS] <TURN>
Arguments:
<TURN>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--session <SESSION>
--force
-h, --help Print help
matter checkpoints
The turns that changed files, and which files
The turns that changed files, and which files
Usage: matter checkpoints [OPTIONS] [SESSION]
Arguments:
[SESSION]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter audit
What the agent did on this machine (the client audit log); matter audit verify checks its hash chain
What the agent did on this machine (the client audit log); `matter audit verify` checks its hash chain
Usage: matter audit [OPTIONS] [ACTION]
Arguments:
[ACTION] verify: check every record's hash and link [possible values: verify]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--last <LAST> How many of the last records to show [default: 30]
-h, --help Print help
matter status
The target, whether the gateway is reachable, and whether you're logged in; with an instance id, that instance (GPU, model server queue, models, time before its limits stop it)
The target, whether the gateway is reachable, and whether you're logged in; with an instance id, that instance (GPU, model server queue, models, time before its limits stop it)
Usage: matter status [OPTIONS] [ID]
Arguments:
[ID]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter doctor
What works and what doesn't (install, sign-in, gateway, clock, RunPod, rag, MCP servers, sandbox, keyring, disk), each with its fix; --bundle writes a zip for support (secrets masked, shown before it's written)
What works and what doesn't (install, sign-in, gateway, clock, RunPod, rag, MCP servers, sandbox, keyring, disk), each with its fix; --bundle writes a zip for support (secrets masked, shown before it's written)
Usage: matter doctor [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--json
--bundle <ZIP> Write a support bundle here (e.g. matter-doctor.zip)
--with-session <ID> Add this session's transcript to the bundle (its secrets masked)
--yes Write the bundle without asking
-h, --help Print help
matter usage
Your requests and tokens by day and model (the gateway needs per-user keys)
Your requests and tokens by day and model (the gateway needs per-user keys)
Usage: matter usage [OPTIONS]
Options:
--days <DAYS> [default: 30]
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter setup
The guided setup again (sign in, where models run, your own pods' card, a test turn, the tour of the keys); the first matter with no config runs it by itself
The guided setup again (sign in, where models run, your own pods' card, a test turn, the tour of the keys); the first `matter` with no config runs it by itself
Usage: matter setup [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter update
A new matter release: checks its signed manifest, downloads this platform's build (sha256 checked) and swaps it in, keeping the previous one ([update] channel = stable | beta; it never installs by itself unless [update] auto)
A new matter release: checks its signed manifest, downloads this platform's build (sha256 checked) and swaps it in, keeping the previous one ([update] channel = stable | beta; it never installs by itself unless [update] auto)
Usage: matter update [OPTIONS]
Options:
--check Say whether one is out, install nothing
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--channel <CHANNEL> [possible values: stable, beta]
--yes Install without asking
--rollback Back to the version before the last update (again: forward)
-h, --help Print help
matter dcs
RunPod data centers with GPU stock for a preset (and which have your matter volumes)
RunPod data centers with GPU stock for a preset (and which have your matter volumes)
Usage: matter dcs [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--preset <PRESET> [default: small]
--json One JSON object per data center (id, location, stock, volume, latency_ms), then the preset's prices
-h, --help Print help
matter gpus
The cards that fit a workload: VRAM, $/hr (Secure and Community), stock in your data center, tested
The cards that fit a workload: VRAM, $/hr (Secure and Community), stock in your data center, tested
Usage: matter gpus [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--workload <WORKLOAD> agent+clef (Gemma 4 12B + Clef 27B) or agent (Gemma 4 26B-A4B alone) [default: agent+clef]
--dc <DC> The data center (default: the one with your matter volume, else picked by stock)
--cloud <CLOUD> [default: secure] [possible values: secure, community]
--all Every card, the ones that don't fit too
--watch Keep reading stock (every ~10 s) and prices, printing each change
--json JSON: one snapshot a line
-h, --help Print help
matter up
Start a dedicated GPU instance on your RunPod account (checks your balance and the $/hr cap first)
Start a dedicated GPU instance on your RunPod account (checks your balance and the $/hr cap first)
Usage: matter up [OPTIONS]
Options:
--dc <DC> Data center (default: picked by stock, a matter volume already there, then latency)
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--preset <PRESET> small, medium, large, xlarge (default: runpod.toml's preset, else small)
--gpu <GPU> A RunPod GPU type instead of a preset (repeatable, in order of preference)
--name <NAME> [default: dev]
--idle <IDLE> Stop after this long without requests or SSH sessions: 30m, 1h, 0 = never (default runpod.toml's idle, else 30m)
--max-hours <MAX_HOURS> Stop after this many hours whatever happens (default runpod.toml's max_hours, else 4)
--on-limit <ON_LIMIT> At a limit: stop (keep the pod and its disk) or terminate (default runpod.toml's on_limit, else stop) [possible values: stop, terminate]
--volume <VOLUME> A network volume id, or "new" to make one in the chosen data center (default: your matter volume there, if any)
--volume-gb <VOLUME_GB> Size of a new volume in GB [default: 100]
--image <IMAGE> The container image (default: RunPod's PyTorch image with SSH)
--port <PORT> Extra ports, e.g. 8000/http for a model server behind RunPod's proxy
--wait <WAIT> Keep trying this many minutes while RunPod has no GPU in stock [default: 0]
--force Start even over the $/hr cap or with a low balance (printed as warnings)
--dry-run Print the plan (GPU types, data center, preflight) and stop
--serve-log <SERVE_LOG> After SSH, follow this model server log on the pod (download, weights, KV cache, compile, CUDA graphs, ready) and GPU memory until it's ready
--model <MODEL> The model it serves: names the start in the timings the ETA comes from (default: the image)
--json Progress as JSON lines (one event per update) for scripts and the desktop app
--workload <WORKLOAD> Pick the card for a workload (agent+clef, agent): the cheapest that fits and is in stock, then the others that fit, cheapest first (instead of --preset / --gpu)
--cloud <CLOUD> secure (RunPod's data centres, network volumes) or community (third-party hosts, cheaper, no volume: models download at each start) [default: secure] [possible values: secure, community]
--yes Don't ask before starting a card over [budget] confirm_above
-h, --help Print help
matter ls
Every pod on your RunPod account: matter's (with their limits) and the others, marked "not matter's"
Every pod on your RunPod account: matter's (with their limits) and the others, marked "not matter's"
Usage: matter ls [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--json One JSON object per pod (id, name, status, gpu, dc, rate, matter, uptime, cost, idle_limit, left)
-h, --help Print help
matter stop
Stop an instance's GPU (keeps the pod and its disk; matter start brings it back)
Stop an instance's GPU (keeps the pod and its disk; `matter start` brings it back)
Usage: matter stop [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter start
Start a stopped instance again (reinstalls its watchdog; its limits count from now)
Start a stopped instance again (reinstalls its watchdog; its limits count from now)
Usage: matter start [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter down
Terminate an instance (gone for good)
Terminate an instance (gone for good)
Usage: matter down [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
-h, --help Print help
matter extend
More time for an instance: --hours adds to max-hours, --idle sets the idle limit (30m, 1h, 0)
More time for an instance: --hours adds to max-hours, --idle sets the idle limit (30m, 1h, 0)
Usage: matter extend [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--hours <HOURS>
--idle <IDLE>
-h, --help Print help
matter rename
Rename an instance (matter's keep the matter- prefix)
Rename an instance (matter's keep the matter- prefix)
Usage: matter rename [OPTIONS] <ID> <NAME>
Arguments:
<ID>
<NAME>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter ssh
A shell on an instance (or run a command there)
A shell on an instance (or run a command there)
Usage: matter ssh [OPTIONS] <ID> [CMD]...
Arguments:
<ID>
[CMD]...
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
-h, --help Print help
matter logs
The instance's watchdog log and server logs
The instance's watchdog log and server logs
Usage: matter logs [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--lines <LINES> [default: 100]
-h, --help Print help
matter adopt
Put a pod made outside matter under matter's limits (and install the watchdog on it)
Put a pod made outside matter under matter's limits (and install the watchdog on it)
Usage: matter adopt [OPTIONS] <ID>
Arguments:
<ID>
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--idle <IDLE>
--max-hours <MAX_HOURS>
--on-limit <ON_LIMIT> [possible values: stop, terminate]
--yes
-h, --help Print help
matter reap
Stop matter's instances past their max-hours (once, or every M minutes with --watch: keep it in tmux or a user timer while you have pods up; the on-pod watchdog handles idle stops)
Stop matter's instances past their max-hours (once, or every M minutes with --watch: keep it in tmux or a user timer while you have pods up; the on-pod watchdog handles idle stops)
Usage: matter reap [OPTIONS]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--watch <MINUTES>
-h, --help Print help
matter budget
Spend against [budget] in runpod.toml (per session, daily, monthly); matter budget extend daily 5 adds $5 to today's limit (monthly: this month's; session <pod id>: that pod's run)
Spend against [budget] in runpod.toml (per session, daily, monthly); `matter budget extend daily 5` adds $5 to today's limit (monthly: this month's; session <pod id>: that pod's run)
Usage: matter budget [OPTIONS] [ACTION] [KIND] [ARGS]...
Arguments:
[ACTION] [possible values: extend]
[KIND] daily, monthly or session
[ARGS]... $ to add (for session: the pod id, then the $)
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--json
-h, --help Print help
matter volumes
Network volumes with size, data center and monthly cost; matter volumes rm <id> deletes one
Network volumes with size, data center and monthly cost; `matter volumes rm <id>` deletes one
Usage: matter volumes [OPTIONS] [ACTION] [ID]
Arguments:
[ACTION] [possible values: rm]
[ID]
Options:
--gateway <GATEWAY> The gateway's URL (default: the one saved by `matter login --gateway`, else http://127.0.0.1:8787) [env: MATTER_GATEWAY=]
--yes
--json One JSON object per volume (id, name, size_gb, dc, monthly)
-h, --help Print help