Red

What Red does

Everything here is built and has been run. Where something has only been tried against a stand-in, the text says so. Numbers come from Red's performance gate.

Agent threads

A thread is a conversation with Claude Code, run through your own claude login. It is always in auto mode, so nothing stops to ask whether a step is allowed.

  • Several threads, saved as the list of their events. Close Red, open it, and carry on in the same Claude session.
  • The conversation shows steps on a rail, tool calls that open, long output, images, subagents and the questions Claude asks you, which you answer by choosing or typing.
  • While a turn runs you can choose the model, stop it with Esc, or send the next prompt, which waits its turn.
  • When something breaks, Red says so: claude logged out, the sidecar dying mid-turn, or versions of Claude Code and the SDK that disagree.
  • A reply streaming into 150 turns stays under the frame budget, a 12 KB paragraph included.
A finished thread in Red: the prompt, Claude's steps, its summary, and a card saying two files changed with a Review changes button.

Live changes and the turn diff

When you send a prompt, Red writes the project's state into git as a hidden snapshot, under refs/red/. A folder that isn't a git repository keeps a copy in memory instead. What a turn changed is the difference from that snapshot.

  • Changes are marked as they land: a band behind added lines, removed lines shown above, the changed words, and ticks beside the scroll bar.
  • The editor follows the agent while a turn runs, and gives way the moment you use it.
  • A change is shown a median 16 ms after the file watcher hears of it, and 22 ms in a real window. The watcher honours .gitignore.
  • The whole turn is one diff, every changed file in one scroll. A line you press opens its file with the same marks. Beside it, "Since the last commit" shows everything uncommitted.
  • Problems are counted per file, and when the turn ends the whole project is checked, so a file the agent never opened can't break unseen.
  • Taking back a turn puts back its own files, warns about files another thread also changed, and waits while another thread works in the same folder.

The turn's diff isn't editable in place yet. A turn read back after a restart is everything that differs from its snapshot now, and the view says so.

The Changes tab, showing two files from one turn as a split diff with the changed words highlighted.

Split diffs

The diff reads split, removed lines on the left and added on the right, or unified, one above the other. It splits by itself when the pane is 1,100 points wide or more. Ctrl \ or the control in the header chooses from then on, until Red closes.

A turn that rewrote 10,000 lines is in the gate, in both layouts, scrolled 300 points a frame, with no late frame.

Language features

TypeScript and JavaScript are served by tsrs, which Red runs as a program of its own and restarts if it exits. Rust is served by rust-analyzer. Both do all of this:

  • Completions that add their import, and signature help.
  • Hover, go to definition and back, the type's definition, and references.
  • Rename across the project, in open and closed files at once or not at all.
  • Quick fixes from a gutter marker or Ctrl ., formatting, and inlay hints.
  • A list of every problem the servers know, by file.

In T3 Code's server.ts a completion list is ready a median 8 to 17 ms after its key. The worst list takes 50 to 67 ms, a known miss: tsrs itself takes 28 to 43 ms over a list of nearly 5,000 items, most of them auto-imports.

About a dozen other languages get colours from tree-sitter: JSON, TOML, Markdown, CSS, HTML, shell, Python, YAML and Go. Files over 2 MB are shown without colours.

orders.ts open with the problems panel below it: three errors and one warning, each with its line and message.

Many agents, with worktrees

Several turns can run at once. Each thread shows only its own changes: a file counts as a turn's when its agent named it in a tool call, and a change nobody named, such as a formatter or your own save, goes to every turn running in that folder.

  • A thread in its own worktree: Ctrl Shift N starts one on a red/ branch, with its own session, snapshots and watcher.
  • Bring back changes applies the thread's work to your project as uncommitted changes that can be taken back. Deleting the thread can remove its worktree and branch.
  • The toolbar shows the branch, and Ctrl Shift G offers "Since the last commit".
  • Three agents at once kept every frame on time, in one folder and in a worktree each (526 and 527 frames, none late).
  • An idle thread costs Red 0.2 MB. Its sidecar ends after ten idle minutes, and that sidecar, with Claude Code and your MCP servers, is where a live session's roughly 570 MB goes.

Language servers don't read worktree files yet, so problem counts are missing for a thread that works in a worktree.

Three threads working at once, each on its own red/ branch. The second is selected, with its two edits to orders.ts shown as a diff.

Terminal

Terminal tabs sit in the code pane beside the file tabs. Ctrl ` shows the one for the project, or for the shown thread's worktree, and Ctrl Shift ` opens another. The engine is libghostty-vt, with a PTY and your shell on it.

  • A file:line:col in the output opens in the editor on Ctrl click. A link opens in your browser.
  • Keys go through Ghostty's encoder. Find searches the scrollback. A paste of several lines asks first when the program hasn't asked for bracketed paste.
  • An idle terminal with 10,000 lines costs Red about 7 MB, and a key's echo is drawn in the next frame.
  • bash, zsh and fish get prompt marks. Only bash has been run so far.
A terminal tab in the code pane showing git status and a grep, with file paths and line numbers in the output.

Drafts that survive a crash

Each thread's draft of its next prompt is kept to the last key. The gate kills Red at a random moment while it types into four threads, and in 20 runs of 20 every draft came back. With the journal off, about half the runs lost keys.

The window opens as you left it. Threads, drafts and each project's window live in one SQLite database, and a journal beside it takes every key. Esc in a prompt gives back the words of any prompts still waiting.

Dictation with Hex

Ctrl Shift D, or the mic beside Send while Hex is running, speaks into the prompt. The words so far land at the caret and fade in, and Hex's final transcript settles them. Esc takes them out and Enter sends.

Red never starts Hex and asks for no microphone of its own. Hex records from the one you chose in Hex.

This was tested against a stand-in that follows Hex's own API: 43 of 43 sets of words landed and no frame was late. Hex itself hasn't been tried with Red yet.

Office previews

A .docx, .xlsx or .pptx opens in the code pane as a read-only preview, from the file tree, Ctrl P or a turn's changes card, which offers "Open preview" in place of line counts. That includes files the agent wrote.

  • Documents and decks zoom with Ctrl = and Ctrl -. Sheets take arrows and Ctrl C to copy cells.
  • A preview reloads when its file changes, and keeps what is on screen until the new copy is laid out.
  • In the gate, scrolling a 50-page document and a 10,000-row sheet left no frame late. Three previews at rest are 380 MB of Red's memory.
  • A 50-page document adds about 180 MB while it is open. The first file that needs Chinese, Japanese or Korean fonts fetches 27 MB of them.
A six-slide deck open as a preview, its first two slides showing order numbers for July and August.

Pictures in replies

Claude's replies draw mermaid blocks as diagrams and ui outlines as sketches of a screen, in the colours of the look you wear. Red tells Claude the format in about 2 KB added to its system prompt. Set RED_NO_PICTURES=1 to leave it out.

A reply with a flow diagram of a prompt reaching Claude, and a sketch of a Changes screen drawn from an outline.

The editor

  • Several carets, selection by keys and pointer, undo that groups a run of typing, find and replace in a file.
  • Tabs, the file tree, open by name with Ctrl P (:120 goes to line 120), and a command palette on Ctrl Shift P.
  • Soft wrap, on by default. A million-line file scrolls without a late frame, and so does typing with 30 carets.
  • Files that change on disk, a failed save shown in the window, very long lines, and large pastes.
  • Three looks: ember, a warm near-black; paper, warm white; and ink, a cooler dark. Without a choice Red wears ember when your system is dark and paper when it is light.

Not yet

  • Installers, updates and a signed macOS build. They are stage 12 of the plan. The download page has placeholders.
  • A browser pane for links and Claude's artifacts, planned as stage 13.
  • A settings screen. The first version has a settings file and a keys file.
  • Any measurement of the window on macOS, or on a 120 Hz display.

Not planned: Vim mode, approval screens, Windows, plugins, a debugger, remote projects, notebooks, and editing together with other people.