Any model, routed by task
Cloud and local models look the same. Send code generation to one, quick questions to a cheaper one, and repo exploration to a fast one. Routing is config, not code.
merlin models use sonnet --for codegenCoding agents run commands you never read and change files you never saw. Merlin asks before it runs anything, shows every change as a diff, and can put system changes back. It works with any model, local or cloud, in your own repo.
Any OpenAI-compatible endpoint
Cloud and local models look the same. Send code generation to one, quick questions to a cheaper one, and repo exploration to a fast one. Routing is config, not code.
merlin models use sonnet --for codegenReads inside your project are automatic. Writes come as a diff. Shell commands ask every time, unless you say otherwise for one session. Plan and Ask modes can't change a thing.
Installs, packages, and services the agent touches are journaled. List them, and put any one back the way it was. On btrfs, Merlin takes a snapshot first.
merlin changesmerlin undo <id>Describe a tool and Merlin writes an MCP server, tests it in a sandbox with no network and no home directory, repairs it if it fails, and asks before installing.
merlin ext new "summarize my open PRs"One-shot jobs that only use what you allow, the same task on several models in separate worktrees, read-only code review, and scheduled jobs.
merlin compare --models sonnet,qwen "fix the test"Time to first token, thinking share, cache hits, slow tools, and suggestions when the numbers point at a fix.
merlin stats --days 30Each conversation runs in its own worker. Start a long turn, open another, and come back when the board says one needs you.
⌘E opens every file the agent changed, diffed against your last commit. Comment on any line and send the comments as one message. It reads your unsaved text, not the file on disk.
Plan and Ask can only read. When a plan looks right, Build it turns the plan into changes, still under your approvals.
Type /theme make and what you want. A model mixes the theme and the app wears it at once, in dark or light.
Start a session at your desk and leave. When the agent stops to ask, your phone gets a notification, and you approve from there. The agent keeps running on your machine; the phone only watches and answers.
/live/live ana/phoneThe team server stores and relays. It never holds a key that could read your secrets or forge your policy. Every device checks everything it receives against your organization's root key.
Ask for the threat modelAn admin decides what each role gets. New people paste one invite, and they're working.
One message with one command. It installs Merlin and joins the team. No code to read out when it came from your link.
merlin admin invite ana@acme.devModels, routes, shell setup, and secrets for their roles arrive signed. Change it once; every device follows.
merlin team join <link>Move a session to your other machine, or to a teammate, redacted first. You review it before it goes.
merlin handoff --to anaA single binary with a full-screen terminal UI, a native Mac app, and the Agent Client Protocol for Zed and Neovim. Plain TOML config that keeps your comments. Open-weight models on your own hardware, sized to fit your memory.
Instructions
MERLIN.md and AGENTS.md from your repo and its parents steer every session.
Memory
The agent can keep notes across sessions, and it asks before it saves one.
Long sessions
History stays under the model's window: bulky output trimmed first, older turns summarized by a cheaper model.
Many repos
Add sibling repos to a session and the file map and reads cover all of them.
Attach files
@src/main.rs in a message sends the file along, completed from git.
Type ahead
Messages typed while the agent works wait in line. Esc stops the turn.
Long turns pause
After 50 steps the agent stops to say what's done and what's left, instead of failing.
Shell escape
!cmd runs in your own shell, with your aliases, outside the agent.
We're opening Merlin to a small number of teams and independent developers. Tell us about yours.
We'll write to you soon.
Asking again with the same email updates your request.