Introducing OpenMarkdown: the Markdown editor your AI agent can work in

If you write docs with an AI coding agent, you probably know this loop. You open a Markdown file. You copy a paragraph into your terminal. You ask Claude Code, Codex or Cursor to tighten it. You copy the answer back, check it, fix the formatting and save. Then you do it all again for the next section.

It works, but it's clumsy. The agent can't see what you're looking at, and you can't easily see what it changed.

We built OpenMarkdown to shorten that loop. It's a Markdown editor that runs in your browser, and your coding agent can work in it with you.

Why we built it

At Apps That Matter, a lot of our own writing lives in Markdown: READMEs, plans, release notes and docs kept next to the code. More and more of that writing happens with an AI agent involved.

We wanted three things:

  • The agent should see what I see. Which file is open, which words are highlighted, which line I'm on.
  • I should stay in charge. Agent edits should be easy to spot, review and undo.
  • My documents should stay on my device. No account and no upload.

OpenMarkdown is our answer. It's free, and it's open source under the Apache License 2.0. No account is needed. It runs in the browser, and your documents stay on your device.

What working with an agent looks like

Say you're editing a launch plan. You highlight the intro in OpenMarkdown, switch to your terminal and ask your agent to tighten the part you've highlighted.

Behind the scenes, the agent asks OpenMarkdown which document is open and what's selected. It then rewrites just that selection. The new text appears in the editor, and the tab is left unsaved, so you can read the change before you decide to keep it.

This works through the coding-agent bridge, which uses MCP. Claude Code, Codex CLI, Cursor and other MCP clients can:

  • read the open document and your selection (which file, which words, which line)
  • rewrite the selection
  • scroll to a heading
  • open new tabs

It all goes through a small local server, @appsthatmatter/openmarkdown-mcp, which you turn on under Agent bridge. The bridge only accepts connections from your own computer.

A note on privacy: OpenMarkdown keeps your documents on your device, and the bridge only talks to your own machine. But when you connect an agent, it reads the text you share with it. What happens to that text next depends on the agent you use, so check its own settings and policies.

You stay in control of agent edits

While the editor is visible, in the split or editor-only layout, you can undo any agent edit with Cmd+Z on macOS or Ctrl+Z elsewhere. In the preview-only layout, agent edits still apply but can't be undone, so keep the editor on screen while your agent works.

Agent edits also stay unsaved. OpenMarkdown doesn't force a review step. It simply leaves the change unsaved, so the choice to keep it is yours, and you can look it over first.

Live file sync for agents that edit on disk

Some agents prefer to change files directly rather than through the bridge. OpenMarkdown handles that too.

In Chrome and Edge, files you open from your computer stay linked. When something changes a file on disk, such as your AI coding agent, the change appears in OpenMarkdown within half a second. You keep your place in the text, your scroll position and your undo history.

A good editor on its own

You don't need an agent to get value from OpenMarkdown. It's also a calm, capable place to write.

  • Tabbed workspace. Edit and preview several Markdown files at once. Drop .md or .txt files into the window to open them as tabs.
  • Live GFM preview. See GitHub Flavored Markdown rendered as you type. Switch between split, editor-only and preview-only layouts.
  • Themes and text size. Choose Sleek Dark, Light or Warm Sepia, and set text size anywhere from 11px to 24px.
  • Session persistence. Your tabs, layout, theme and contents are saved in the browser, so a refresh doesn't lose work.
  • Export. Export your work to Markdown, plain text, PDF, Word or HTML.

How to get started

1. Open the editor

Go to the OpenMarkdown site and open the editor. There's nothing to sign up for. Start typing, or drop a Markdown file into the window.

2. Open Markdown files from your file manager (optional)

In Chrome or Edge, install OpenMarkdown from the address bar or browser menu. Then right-click a Markdown file in File Explorer, Finder or your Linux file manager, choose Open with, then OpenMarkdown. If the browser asks for permission to access the file, approve it.

3. Connect your agent

Turn on Agent bridge in OpenMarkdown. Connecting your agent takes one command. Once it's connected, highlight some text and ask your agent to help with it.

4. Explore the code

OpenMarkdown is open source. If you'd like to read the code or contribute, you'll find it in the OpenMarkdown repository on GitHub.

Who it's for

We had a few people in mind:

  • Developers using Claude Code, Codex or Cursor who want their agent to help with docs without copy and paste.
  • Technical writers who want a focused Markdown editor with a live preview and plenty of export options.
  • Anyone who keeps docs as code and wants to work on local files without creating an account.

Tell us what you think

We'd love to hear how you use OpenMarkdown. What works? What gets in your way? What would make writing with your agent easier?

If you spot a bug or have an idea, please open an issue on GitHub.

Ready to try it? Open OpenMarkdown and start writing.