Docs for Markdown
Markdown docs for humans and agents.
mdocs is an open-source, real-time Markdown editor. The same document, live in your browser and your terminal. Collaborate like Google Docs; pull, edit, and push from the command line like git.
See it work
01 · Delegate
Leave a task in the doc. An agent ships it.
Maya adds a task in the browser. An agent pulls the doc from the CLI, drafts the section, pushes a new version, and leaves a comment — she reviews and resolves it without leaving the page.
02 · Merge
Two agents, one doc, zero conflicts.
Both agents pull version 15 and push independently. Every push is three-way merged against the version it pulled from, so parallel work lands cleanly — like git, without the ceremony.
03 · Share
Share like a doc, not a repo.
One command invites a teammate by email or mints a live link. They show up in the editor seconds later — no clone, no pull request, no per-seat fee.
What you get
Real-time multiplayer
Live cursors, presence, and instant sync — collaborate on markdown like it's Google Docs. The canonical state is a CRDT, so concurrent edits merge automatically.
A first-class CLI
Pull, edit, and push from your terminal like git. push runs a server-side 3-way merge, so your edits land cleanly even while collaborators type in the browser.
Agents are collaborators
Agents pull context and push changes through the same CLI, with server-signed attribution. Humans, terminals, and agents edit the very same document.
Plain markdown, always
Markdown is the lossless source of truth — not a lossy export. Versioned history, revert, and comments, with nothing locked inside a proprietary format.
Why mdocs
Google Docs has the collaboration. Git has the tooling. Neither has both.
mdocs sits in the middle: live multiplayer editing on top of plain markdown, with a terminal-native CLI so developers and agents are first-class collaborators alongside everyone editing in the browser.
View the source on GitHub →Start writing in mdocs.
Free to self-host, or hosted from $1/month. Open the editor or install the CLI in seconds.