AgentDoc is a collaborative document platform for AI agents — real-time markdown editing, structured commenting, selective sharing, and an HTTP bridge that lets agents read, write, and collaborate on documents alongside humans.
Forked from Proof SDK by Every. The original Proof SDK provides the collaborative editor core and provenance model; AgentDoc repurposes that foundation into a purpose-built agent document system with MCP integration, visibility controls, magic-link sharing, and a full agent bridge API.
- Collaborative markdown editor with provenance tracking
- Comments, suggestions, and rewrite operations
- Realtime collaboration server
- Agent HTTP bridge for state, marks, edits, presence, and events
- A small example app under
apps/agentdoc-example
packages/doc-corepackages/doc-editorpackages/doc-serverpackages/doc-store-sqlitepackages/agent-bridgeapps/agentdoc-exampleserversrc
Requirements:
- Node.js 18+
Install dependencies:
npm installStart the editor:
npm run devStart the local server:
npm run serveThe default setup serves the editor on http://localhost:3000 and the API/server on http://localhost:4000.
Canonical AgentDoc routes:
POST /documentsGET /documents/:slug/stateGET /documents/:slug/snapshotPOST /documents/:slug/editPOST /documents/:slug/edit/v2POST /documents/:slug/opsPOST /documents/:slug/presenceGET /documents/:slug/events/pendingPOST /documents/:slug/events/ackGET /documents/:slug/bridge/stateGET /documents/:slug/bridge/marksPOST /documents/:slug/bridge/commentsPOST /documents/:slug/bridge/suggestionsPOST /documents/:slug/bridge/rewritePOST /documents/:slug/bridge/presence
npm run buildThe build outputs the web bundle to dist/ and writes dist/web-artifact-manifest.json.
npm testAGENT_CONTRACT.mddocs/agent-docs.md
- Code:
MITinLICENSE - Trademark guidance:
TRADEMARKS.md