← Back to all posts
Tools

Raine Virta's DraftMux Tops Show HN With an Editor for Agent-Written Prose

December 3, 2026 · 07:11 UTC · Tools
On this page 6 sections
Raine Virta's DraftMux Tops Show HN With an Editor for Agent-Written Prose

TL;DR

DraftMux is a free desktop editor for the prose your coding agent emits: pull request descriptions, issues, Slack updates. You hand the message off from a Claude Code or pi session with one command, a fork of that conversation writes the first draft, and you edit beside a live preview of the destination, whether that is GitHub, Slack, rich text or plain text. Raine Virta posted it on Hacker News on December 1, and LaunchIndex ranked it the week's top Show HN launch out of 434. The mechanism is the reusable bit: a scoped copy of your agent session that inherits all the context and almost none of the permissions.


At a glance
DraftMux by the numbers
227
points on the Hacker News thread when we read it
102
comments, several from people shipping adjacent tools
$0
MIT-licensed Rust app, no paid tier on the site
3 OS
macOS 11+, Linux, Windows 10 1803+
2
agent backends: pi, and Claude Code 2.1.293+
0
tools available to a selection-edit fork

What shipped

The agent spent an hour in the codebase, so it holds the context the pull request description needs, and it should write the thing. The harness chat where you would refine that description was built for steering code, and it fights you when you try to use it as a word processor. DraftMux separates the two jobs. The agent drafts; you get a real editor.

Technically it is a Rust app, MIT-licensed, self-updating, with builds for Apple silicon Macs on macOS 11 or later, Linux on x86_64 and arm64 with glibc 2.35 or newer, and Windows 10 version 1803 or later. Install is a shell script, a PowerShell script, or a Homebrew cask. Drafts are written by pi or Claude Code 2.1.293 and newer, and Claude Code needs its native installer; the npm package will not work.

Besides session handoffs, draftmux README.md opens any Markdown file as a draft with its own agent session in that directory, and a blank draft gets a fresh agent for a Slack update or an email that never had a coding session behind it.

How it works
From session to shipped text
Step 1
Hand off
/draftmux PR description in Claude Code, or /skill:draftmux in pi
Step 2
A fork drafts
the fork inherits the whole conversation; your session is untouched
Step 3
You edit
Markdown beside a live preview; selection actions rewrite one passage
Result
Back in one line
say done, file the issue; the agent reads your text via draftmux show
Selection edits run in a throwaway fork of the draft's session with tools blocked. Source: DraftMux README.

The design choices worth stealing

Every draft gets its own agent session, forked from yours. The fork watched the whole conversation, so its first draft already knows what changed and why, while your session keeps running as if nothing happened. Think of it as handing the update to the one person who sat through every meeting, then keeping the red pen for yourself.

The privilege model is the part other builders should copy. Selection actions, the one-click rewordings, run in a throwaway fork with tools blocked, so the agent asked to shorten a sentence cannot also decide to touch a file. A Claude Code draft runs in its own session without your hooks, MCP servers or other settings, though it keeps the CLAUDE.md files and .claude/rules your session loaded, plus the env and apiKeyHelper entries from your user settings.json. On pi, DraftMux drives the agent through its RPC mode, one process per draft, with a bundled extension that restricts edits to the draft file; nothing gets installed into your pi setup.

That pattern, a session copy with full context and nearly no permissions, is reproducible anywhere you can drive an agent programmatically. DraftMux is one consumer of the idea; the idea does not need DraftMux.

You also get inline sentence completion, per-passage alternatives that load while you keep typing, selection actions you can extend in plain JSON, and formatted copy for the target on one shortcut. A draft keeps the model of the session it came from, and the model chip changes it per draft.

Show HN, week of Nov 30
DraftMux outdrew the week's other launches
other show hndraftmux
draftmux
203
device daw
194
gomodel
60
symphony
44
Hacker News points at LaunchIndex's December 2 snapshot, which ranked DraftMux first among 434 Show HN launches that week. The live thread read 227 points and 102 comments the following day.

Who built it

Virta works solo and has been shipping agent-workflow tooling for a while. The workmux post from December 2025 parallelizes coding agents across git worktrees and tmux, a January post gives agents surgical control over commit hunks, and an October post describes planning implementations by voice while out on a walk. DraftMux reads as the next fix in the same series: another seam in the agent workflow that turned out to be rougher than expected. The GitHub repo stood at 173 stars and 11 forks when we read it, with CI, release workflows and a test suite spanning the fork machinery.

The thread pushed back, usefully

Show HN threads are the review section, and this one earned a real one. The sharpest skeptic, ShinyLeftPad, wrote: "If it's really faster for you to keep asking the agent to edit PR description rather than just edit it or even type it in, I suspect your PR is too big or you don't understand it enough to describe (both red flags)." Fair. The tool presumes you want the agent's words at all.

Another commenter asked why the repo's own documentation had not been through the tool, calling it "full of Claudish garbage," which stings precisely because agent-written prose is the problem the app exists to fix. One user sidesteps agents entirely for copy: they tell the agent to leave grep-able markers in the text and write every user-facing string by hand. And somewhere below all of it sits the traditional one-line reply recommending vim, which is the usual weather on a Show HN thread.

The lock-in question came up too. A commenter objected to tools built for specific harnesses, and Virta's answer names the actual constraint: "How would you solve this specific problem (letting the app fork an existing agent session, or that user wants to use their Claude subscription) in a harness agnostic way?" Someone else suggested a certain model-context protocol might help, to general merriment. Asked about opencode support, Virta said it "largely depends on if it has an RPC-style interface so the app can control it programmatically." Adjacent tools surfaced in the same thread, including the local PR review interface difit, which tells you a category is forming.

For builders
Does DraftMux earn an install?
Your agent already writes, or should write, the outbound text. What now?
you use pi or Claude Code
TRY ITFree, MIT, three platforms, two commands to hand off. The fork inherits context, so the first draft is usually close.
you run opencode, codex or another harness
WAITTwo backends today. New ones depend on an RPC-style interface the app can drive, per the author.
you write your own prose and like it
STEAL THE PATTERNA session fork with full context, no tools and one writable file is the reusable idea. Wire it into whatever harness you run.
Applying the December 1 launch and thread to a builder deciding where outbound text gets written. Sources: DraftMux README, Hacker News thread.

Key Takeaways

  • DraftMux is a free, MIT-licensed Rust desktop app from Raine Virta for editing what coding agents write: PR descriptions, issues and Slack updates, drafted by a fork of your session and edited beside a live preview of GitHub, Slack, rich text or plain text.
  • The handoff is one command, /draftmux in Claude Code or /skill:draftmux in pi; the fork inherits the conversation, and the finished text returns to your original session through draftmux show.
  • The reusable design: selection edits run in throwaway forks with tools blocked, Claude Code drafts skip your hooks and MCP servers while keeping CLAUDE.md rules, and pi is driven through RPC with edits restricted to the draft file.
  • It runs on macOS 11+, Linux and Windows 10 1803+, self-updates, and needs Claude Code 2.1.293+ via the native installer, or pi; no paid tier exists.
  • Traction is real but early: 227 points and 102 comments on Hacker News, first among 434 Show HN launches that week, and 173 stars on GitHub at our reading.
  • The thread's best objections stand: if you cannot describe the change yourself, the PR may be too big, and the repo's own agent-flavored docs show the disease the tool treats. The scoped-fork pattern survives both objections.

Sources: DraftMux site, DraftMux GitHub repo, Hacker News thread, LaunchIndex weekly ranking, Raine Virta's blog, pi

AIDraftMuxClaude CodeCoding AgentsOpen SourceRustHacker Newspi
CONSOLE
$