The open-source writing surface for AI agents. Markdown-native editor with pending change review — your agent writes, you accept or reject.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Your agent writes. You decide.
The open-source writing surface for the agentic era.
OpenWriter is a markdown-native rich text editor built for humans and agents working side by side. Your agent writes, and you review and approve every change before it lands. Documents are plain .md files on disk, so there's no database and no lock-in, and it works with any MCP-compatible agent.查看完整 README ↗npx openwriter setup
Installs the editor and connects it to Claude Code. Restart Claude Code and ask it to write something in OpenWriter. The editor opens at localhost:5050, and your documents are plain Markdown files in ~/.openwriter/.
npm install -g openwriter
codex mcp add openwriter -- openwriter --no-open
For any other MCP agent, add OpenWriter as a server in its config:
{
"mcpServers": {
"openwriter": { "command": "openwriter", "args": ["--no-open"] }
}
}
Per-agent details are in the reference.
Rather not install anything? Write in your browser: sign in with your email, on a laptop or a phone.
Give the agent your notes, sources and past writing. Ask for a draft, a tighter argument or a different opening, in your voice.
Every edit the agent makes arrives as a proposal: green for insertions, blue for rewrites, red for deletions. Accept the parts you want, reject the rest, and give another instruction when the piece needs more work. Move through changes with j and k, accept with a, reject with r.
Publish a post, send it as a newsletter, or do both. Preview the page and the email, choose the audience, and release the version you're ready to share.
Choose what everyone can read and what belongs to members. Set your paid plans and manage access from the same publication. Payments go through your own Stripe account.
Adapt an idea for X or LinkedIn with your agent. Check each post in its own format, then publish now or schedule it for later.
Keep your brief, sources and chapters together. Build a manuscript in your chosen order, revise it as its own draft, and export it as EPUB or Word.
Find a subscriber, send to a chosen group, or follow a discussion. See how posts and paid readership are doing before you plan the next piece.
OpenWriter doesn't ship its own agent. It works with Claude Code, Claude Desktop, Codex, Cursor, OpenCode and any other agent that speaks MCP, and it tells your agent how to use it as it goes.
The right-click writing actions (Enhance, Shrink, Expand and more) run on your own Claude API key, or on your OpenWriter balance with a free daily allowance.
Details on openwriter.io.
Plugins add MCP tools, HTTP routes and right-click actions. The reference covers the full tool list, the plugin API, the architecture and local development.
Contributions are welcome. Please open an issue first to discuss what you'd like to change.