Draftmux displays a markdown draft alongside a live preview that mimics the final GitHub or Slack rendering.
*Draftmux offers a live‑preview editor that lets AI‑driven coding agents refine PRs, issues, and Slack updates before they are sent. The tool promises tighter, shorter text with in‑context chat, targeting developers who rely on agents like Pi and Claude Code.*
Draftmux arrives as a dedicated GUI for polishing the output of AI coding agents. The tool targets a niche where agents like Pi and Claude Code generate PR descriptions, issue bodies, or Slack updates that still need human‑readable refinement. By pairing a markdown editor with a live preview, Draftmux lets developers see exactly how the text will render on GitHub, Slack, or as plain text before it leaves the draft. The workflow replaces the clunky practice of copying raw agent chatter into separate editors, promising a tighter, faster hand‑off from AI to production.
Draftmux sits between an AI coding agent and the final destination—GitHub, Slack, or plain text. The agent writes a draft, then Draftmux presents a markdown editor with a live preview that mirrors the target format. Users can select text, request alternatives, or ask the agent to shorten or tighten the passage. The chat interface updates only the selected segment, keeping the rest intact. Once satisfied, a shortcut copies the formatted output or signals the agent to file the issue. The workflow eliminates the clunky hand‑off from a generic chat UI to a polished final message.
Installation registers Draftmux as a command‑line tool on macOS, Linux, and Windows. On macOS, users choose Draftmux › Install Command Line Tool… after download, enabling Pi and Claude Code to invoke the editor directly. A Homebrew script—curl -fsSL https://raw.githubusercontent.com/raine/draftmux/main/install.sh | sh—provides a one‑line terminal install. Once installed, the agent can launch Draftmux from its session, preserving context so the draft’s agent knows the originating conversation. This tight coupling lets the agent generate a first draft, hand it off to Draftmux, and resume editing without losing session history.
Draftmux offers native builds for macOS Apple silicon (macOS 11 or later), Linux, and Windows. The macOS installer includes a command‑line component that integrates with existing AI tools. Linux and Windows users receive comparable binaries, though the source mentions only the macOS installation path in detail. All platforms support the same markdown editing, live preview, and selection‑action features, ensuring a consistent experience regardless of operating system.
Developers no longer need to copy raw agent output into separate editors or Slack windows. Draftmux consolidates drafting, previewing, and finalizing in a single pane. The live preview shows exactly how the text will appear on GitHub, Slack, or as rich text, reducing formatting errors. Selection‑based shortcuts let teams iterate faster, tightening language without re‑prompting the entire agent. The ability to open a file—e.g., draftmux README.md—and attach an agent session to the file’s directory creates a persistent, file‑scoped drafting environment. Overall, the tool promises tighter communication loops and fewer manual hand‑offs.
After downloading the macOS build, choose Draftmux › Install Command Line Tool… to register the tool, or run the Homebrew script: curl -fsSL https://raw.githubusercontent.com/raine/draftmux/main/install.sh | sh.
Draftmux renders markdown as it will appear on GitHub, Slack, rich text, or plain text, matching the target environment.
Yes. Opening a file such as draftmux README.md creates a draft with its own agent session scoped to the file's directory.
If the tool lives up to its demo, developers will shave minutes off every code review and communication cycle. The seamless bridge between AI generation and polished delivery could set a new standard for agent‑assisted development. As more teams adopt AI assistants, tools like Draftmux will become essential infrastructure, not optional extras.
Sources: Hacker News (Show HN: A GUI for polishing the text your coding agent writes)