You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAGE checks for a newer release when it opens and, if there is one, shows an Update available button with a download arrow beside the window buttons. Nothing is downloaded until you click it. A Linux binary or AppImage then updates itself (signature and checksum checked, as with mage update) and offers Restart to update. Nix, macOS, Windows and development builds open the release page instead.
The check is on by default. Turn it off in Settings → Appearance or with update_check = false. Air-gapped builds never check.
mage update no longer overwrites a development build in target/.
The terminal pane
Resize it: drag the divider at its top, or press ctrl-up/ctrl-down (one line) and ctrl-shift-up/ctrl-shift-down (eight lines).
Select, copy and paste: drag to select, then copy, and paste into it.
Permissions and background commands
YOLO mode runs commands outside the sandbox (unless the build or your organisation requires the sandbox), so writes outside the project no longer stop to ask.
Switching permission mode applies at once, to the running turn and its subagents. An approval that's waiting is let through when you switch to YOLO.
Long commands in an approval show their first four lines; a click shows the rest in a scrolling box.
Background commands in the sidebar show only their id and a coloured state (running, done, failed); a click opens the whole command and its output.
After the sandbox stops a write outside the project, the turn ends and the model tells you the command to run yourself. !command from the prompt is your own command and runs outside the sandbox.
A command still running at its timeout moves to the background instead of being killed, and a command ending in & starts as a background command.
Working in the window
Change the project folder with "change…" beside the location.
A queued message has a larger, red button to remove it.
Ctrl-enter while the model writes interrupts the reply and asks again with your note. On an empty prompt it sends queued messages to the running turn.
Compacting shows "Compacting the conversation…" with its time, whether started by /compact or by a full context, and esc twice cancels /compact. Compaction also starts when a reply would have too little room left.
Goal turn limit is a setting (Settings → Agent, goal_max_turns, default 10).
The model you picked last is used for new tabs and the next start.
Kanban boards from a shared server: Settings → Appearance → Kanban boards switches between this computer's boards and a mage kanban serve server, so several MAGE instances share one board.
Notes for small local models
[notes] in the config points MAGE at a folder of markdown notes. The search_notes tool searches them by keywords and, with embed_url, embeddings, and falls back to keywords when the embeddings server doesn't answer. run_python does arithmetic with a plan written first. assistant = true swaps the coding prompt for a short one for answering from notes.
Local servers get a 64k reply cap by default.
Fixes
The window no longer closes when a command's output pipe closes (it exited with SIGPIPE while working on some projects).
Opening is fast again after an interrupted turn: repairing it happens in the background, and undo snapshots leave out build output such as target/ and node_modules/.
Recovery doesn't touch a turn another MAGE window is still running.
The desktop entry is no longer pointed at a development build, which can't start outside the dev shell, and the Nix package builds again.
Project
The README is a short overview, with the details on pages under docs/.
A Code of Conduct (based on the Contributor Covenant 3.0, and welcoming AI-written contributions), a security policy and a contributing guide.
A quieter window
The prompt's blinking caret no longer redraws the whole window on every frame of the screen: it blinks on a timer, a few redraws a second. An idle window with the prompt focused used a quarter of a processor core on one machine before this.
The visualizer
Scenery that moves with the computer (ctrl-x g, /visualizer, or Settings → Visualizer): a strip under the title bar with a mage's tower at night. The orb follows the CPU, the cauldron memory, the aurora the GPU, the stream NVMe drives, the wisps other drives and the comets the network, with each reading shown above.
You choose what moves what: Settings → Visualizer has a row per part of the scene (any reading, or off), and /visualizer orb=gpu comets=off sets them from the prompt.
More scenes: Generate in Settings → Visualizer (or /visualizer new) makes a new scene by chance (a tower, spire, standing stones or great tree; a moon or none; different hills, stars and colours) and lists it under Scene to switch to. Each is a small file in ~/.config/mage/scenes/ to edit, share or delete.
It wears your theme: every colour comes from the theme in use, your own themes included.
It stays cheap: one reading a second, and the scene moves four to eight times a second (Motion in its settings: still, calm or smooth; at most twice while the window isn't in front, never while hidden). Linux only for now.
Safer file snapshots
The home folder, folders above it and private folders are no longer snapshotted, and files that look like secrets are never copied into a snapshot.
Interrupting a turn now stops a snapshot in progress, including the one taken after the reply. Snapshots give up after two minutes or at more than 2 GB of new files.
crack is now MAGE (Matrix AGEnt)
New name, new logo. The binary is mage, the app is MAGE, and the icons are the new M. Full-size originals of the logo are kept in assets/brand/.
Folders:~/.config/mage, ~/.local/share/mage (the database is mage.db), ~/.local/state/mage for logs, and .mage/ in projects. MAGE doesn't read the old crack folders: copy them over to keep your settings, keys, sessions and memories (cp -a ~/.config/crack ~/.config/mage, and the same for the data folder, renaming crack.db* to mage.db*).
Environment variables are MAGE_* (MAGE_BASE_URL, MAGE_CONFIG_DIR, MAGE_API_KEY, …); the CRACK_* names are no longer read.
Voice: the wake word is "hey mage".
Earlier entries below say MAGE where they were written for crack.
Selecting and copying text, and smaller windows
Select and copy from the conversation. Drag over messages, code blocks and tool output, including across several of them; double-click takes a word, triple-click a paragraph, and shift-click extends the selection. ctrl-c copies the selection (with nothing selected it still clears the prompt) and ctrl-shift-c always copies. On Linux, selecting also fills the middle-click selection.
Paste:ctrl-v, ctrl-shift-v and shift-insert paste into the prompt, and a middle click in the prompt pastes the selection on Linux.
The window can be much smaller. The minimum is 560x400 instead of 900x750, so it can share a small screen. New windows still open at 900x750 or larger. The start screen drops the logo in a short window and scrolls what is above the prompt, so the prompt always stays on screen.
Opening the database from several processes at once
mage batch and other processes started together no longer lose their session. Processes that opened a new or older database at the same moment could fail with "table message_text already exists", "duplicate column name" or "database is locked", and the one that failed fell back to an in-memory database. Opening it now takes the write lock before reading the schema version, so the others wait their turn.