Raine Virta's DraftMux Tops Show HN With an Editor for Agent-Written Prose
On this page 6 sections
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.
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.
/draftmux PR description in Claude Code, or /skill:draftmux in pidone, file the issue; the agent reads your text via draftmux showThe 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.
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.
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,
/draftmuxin Claude Code or/skill:draftmuxin pi; the fork inherits the conversation, and the finished text returns to your original session throughdraftmux 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