cd /news/ai-agents/show-hn-draftmux-polish-the-text-you… · home › topics › ai-agents › article
[ARTICLE · art-176767] src=draftmux.raine.dev ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Draftmux – Polish the text your coding agent writes before it goes out

Developer raine released Draftmux, an open-source editor that lets a coding agent draft messages such as PR descriptions, issues and Slack updates and refine them beside a live preview of the target format. Draftmux forks the agent's existing session via a `/draftmux` command so the draft inherits prior context, supports Markdown previews for GitHub, Slack, rich text and plain text, and offers selection actions like Shorten and Tighten that change only the highlighted text. The tool installs via a curl script from its GitHub repository and can also open files such as README.md as drafts with their own agent session in the file's directory.

key takeaway

Draftmux forks a coding agent's session with a `/draftmux` command so the draft inherits prior context, then previews Markdown as GitHub, Slack, rich text or plain text and applies selection actions like Shorten or Tighten to only the highlighted text.

read1 min views5 publishedNov 26, 2026
Show HN: Draftmux – Polish the text your coding agent writes before it goes out
Image: source

$curl -fsSL https://raw.githubusercontent.com/raine/draftmux/main/install.sh | sh Your agent has the context, so it should write the PR description, the issue or the Slack update. However, refining that message with standard agent harness chat UI sucks.

Draftmux is an editor for iterating on a message with an agent, next to a live preview of how it will look where it's going.

Hand-off from your session #

/draftmux Slack update for the team forks the conversation, and the fork writes the first draft from what you've already discussed.

Edit beside a preview #

Write Markdown and see it as GitHub, Slack, rich text or plain text, the way it will look where it's going.

Selection actions #

Select text to get alternatives, Shorten or Tighten. With text selected, a chat message changes only that part.

Chat with the draft's agent #

Ask for changes in plain words. The agent knows the session the draft came from.

Copy or hand back #

Copy formatted for the target with ⌘⇧C, or tell your agent "done, file the issue".

Edit files #

draftmux README.md opens a file as a draft, with its own agent session in the file's directory.

── more in #ai-agents 4 stories · sorted by recency
── more on @draftmux 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-draftmux-pol…] indexed:0 read:1min 2026-11-26 · —