A terminal for working with coding agents

Start agents in git worktrees, review their work by risk, and keep every command in view.

Download Margaret Terminal For macOS, Windows and Linux.
$ git worktree add -b fix/login-redirect ../harbor-worktrees/fix-login-redirect main && cd ../harbor-worktrees/fix-login-redirect && claude
git worktree add check out a second working copy of this repository
-b fix/login-redirect create this branch for it
…/fix-login-redirect folder for the working copy
main start from this branch
claude start the agent

What starting an agent types for you. Every form shows its command like this.

Agents in their own worktrees

Pick an agent and a branch. Each one works in its own git worktree, side by side.

Margaret Terminal with an agent working in a worktree, its tab marked as busy

One click for what you type all day

Your own buttons for the agent, plus the project’s start script and your most used commands.

Quick action buttons under the terminal, with the start script and a frequently used command

SSH and file copies, filled in once

Save a server, then connect or copy files with a click. The command is always shown.

The server form with the resulting ssh command and an explanation of each option

Read the parts that need you

Every section of a change gets a score from 0 to 100 and a reason. You set the line.

8 of 17 sections to read at threshold 30

Read everything Only the riskiest
  • 86 db/migrations/0007_sessions.sql Deletes a column
  • 84 src/auth/session.ts Removes two checks in sign-in code
  • 80 src/auth/redirect.ts Six new decision points
  • 68 src/auth/session.test.ts Skips a test, drops assertions
  • 61 package.json Adds a dependency
  • 61 src/components/LoginForm.svelte Handles credentials
  • 55 .github/workflows/ci.yml Lets failing tests pass
  • 44 src/cart/total.ts Logic without a test

Try it. Same slider as in the app.

Documented criteria
Removed checks, skipped tests, new dependencies, sensitive code. Each backed by research.
A small local model
Optional, 30 MB. Spots sign-in and money code that rules miss. Runs on your computer.
Comments go where the work happens
Send them to the agent, or post them to GitHub or GitLab.
The review view: sections ordered by score, with the reasons and the diff of the one in focus Sending review comments to a GitHub pull request

And the rest

Notifications
When an agent waits for you or a long command ends.
A real terminal
Your shell, tabs, search and the shortcuts you know.
Three systems
macOS, Windows and Linux, built natively with Rust.
Updates itself
One click, signed packages.
Private
No account, no telemetry. Everything runs locally.
Your colours
Accent, background and text, for light and dark.

Pick an accent:

Download Margaret Terminal

macOS

Not notarised yet: right-click and choose Open the first time.

Looking for the current version…

Windows

Windows 10 or newer. Not signed yet, so Windows asks once.

Looking for the current version…

Linux

The AppImage updates itself. Debian and Fedora packages too.

Looking for the current version…