The terminal app

matter is the terminal app: a chat with the agent in the folder you're in, plus the commands around it (sessions, the inbox, background jobs, remote control). The desktop app bundles the same program. Every command and option is on Commands.

Install

During the invite-only alpha (Windows), the terminal app installs from PowerShell:

irm https://github.com/W-Industries-Luke/matter-alpha/releases/latest/download/install.ps1 | iex

It goes into %LOCALAPPDATA%\Programs\matter and onto your PATH (MATTER_INSTALL_NO_PATH=1 leaves PATH alone). The installer checks the download's sha256 checksum before it installs anything; the alpha's builds aren't signed yet, so Windows may warn the first time.

Updates

matter update              # install a newer release
matter update --check      # only say whether there is one
matter update --rollback   # go back to the release before

It never updates by itself unless you set [update] auto = true in config.toml.

Sign in

matter login     # your email, then a link by email: open it on any device, check the words, type the code it shows
matter whoami    # who requests go out as
matter logout

The first matter with no config runs a short setup: sign-in, where models run, a test turn and a tour (matter setup runs it again). Servers and CI can use a gateway key instead: matter login --key. Where models run is covered in Models and GPUs.

Sessions

matter                       # a chat in this folder
matter -c                    # continue the newest session in this folder
matter --session parser-fix  # a session by id, the start of one, or its name
matter --name parser-fix     # name a new session
matter -p "fix the failing test in src/parse.rs"   # one turn, then the answer printed

In a chat, Ctrl+K opens the palette with every slash command, Ctrl+C stops a reply and /exit quits. Some you'll use often: /sessions, /new, /resume, /rename, /model, /undo, /diff, /inbox, /jobs, /permissions, /mcp and /help. @ adds a file to your message and ! runs a command yourself.

Finding and renaming sessions

matter sessions                          # earlier sessions, newest first
matter sessions search "parse error"     # by what was said in them
matter sessions rename 3f2a parser-fix   # a one-word name to open it by
matter sessions rename 3f2a --title "Fix the parser test"   # the title shown in lists
matter sessions pin | tag | archive | export | import

A session you haven't named gets a short title from its first messages. The desktop and web apps rename it too (F2, a double click or a long press on its tab).

The inbox

Questions and approvals from every session and background job wait in one inbox, along with finished work and errors.

matter inbox                 # what sessions post and what waits for you (--group g, or --all)
matter inbox answer 2 y      # y, n or a (always); or the text a question asks for
matter inbox filter phone --kinds needs-me   # what reaches the terminal, desktop or phone
matter inbox mute <group|session>

Notifications: the desktop app and paired phones show the inbox themselves; matter notify setup ntfy <url> sends job notifications to ntfy as well, with Allow and Deny buttons for approvals.

Background jobs

matter run --bg "update the dependencies and run the tests"
matter jobs                  # running and recent jobs (--all: every one)
matter jobs attach <id>      # follow one
matter jobs answer <id> y    # answer what it asks (y, n or a)
matter jobs cancel <id>

A job's question goes to the inbox and waits there (10 minutes by default, --wait-approval) before it counts as no.

Approvals and Always rules

When the agent wants to do something your permissions don't already allow, it asks: Yes, Yes, always…, No, or No, and tell it why (keys y, a, n). For an edit in several parts, Some of it… lets you accept or reject each part.

Yes, always… asks what to allow from now on (this exact call, this command with any arguments, anything in this folder, this tool for anything, or this site) and for how long:

  • This session: until the session ends. Typing a at a plain prompt does this.
  • Every session: saved in your settings (settings.json in your matter config folder, under permissions.allow).
  • This project: saved in the project's .local-agent/settings.json. Project rules apply only once you trust the project (matter sandbox trust).

Rules for commands

Each Always choice shows the exact rule it saves, for example this command, any arguments: Bash(cargo test *), and the answered line says it again.

  • Any arguments is saved as the command and a space: for cargo test parse, Bash(cargo test *) allows cargo test with any arguments, and cargo test alone, but not cargo testX. An older rule written cargo test* is read the same way when it allows; a deny or ask rule keeps its full reach (rm* still catches every spelling of rm).
  • Chains (&&, ||, ;, |): Always saves one rule per part, and a chain then runs unasked only when every part is allowed and none is denied. A plain cd into a folder inside the project, or pwd, needs no rule of its own.
  • Always asked: a line with redirection, $(...), backticks or a subshell (and, in PowerShell, a command inside an argument), whatever the rules say. Allow that one exact call if you want it to run again.
  • No “any arguments” rule for a program that can run anything (a shell, python, sudo, find, sed, xargs and the like), a script runner (npm run, make, cargo run…), or a line where it would be the bare program with any arguments at all (cargo +nightly fmt): Always says why and offers the exact call instead, so make test can be kept but make * can't.

/permissions lists the rules and adds or removes one. --mode ask|auto-edit|plan sets how much it asks; whatever is allowed still runs in the sandbox. Every answer goes into the local audit log (/audit).

MCP servers

matter mcp add tracker -- npx -y @example/tracker-mcp     # a server it starts (stdio)
matter mcp add docs --url https://mcp.example.com/mcp    # a remote one (--transport http|sse)
matter mcp add tracker --scope project -- ...            # in this project's .mcp.json instead of yours
matter mcp ls | rm <name> | test <name>

In a chat, /mcp shows each server's state, its tools and its last error, and restarts one.

matter doctor

matter doctor checks the install, sign-in, the gateway, the clock, RunPod, rag, MCP servers, the sandbox, the keyring and disk space, and says how to fix what's wrong. --bundle report.zip writes a zip for support with secrets masked. More on Troubleshooting.

From your phone

matter remote enable lets your phone or another browser reach this machine's sessions, and matter remote approve answers a device that asks to pair: see Remote control and the web app.