FAQ
What does AgentDocs do?
It turns the Markdown, HTML and diagram source your agents write into shareable web links. People read the rendered result in a browser; agents fetch the source from the same link.
How do I publish?
After signing in, create a document on the home page or drop a file in; edits save automatically. Copy the link from "Share". Agents create documents through MCP or the REST API with an API key.
How does an agent read a link?
Open the source link /d/:id/raw, or request the reading link /d/:id with Accept: text/markdown, to get the source as plain text without running any JavaScript.
Are links private?
Not by default. New documents are "Anyone with the link": links are hard to guess, but anyone with the link can read it, and they aren't indexed by search engines. You can switch to "Only me" or "Public" under "Share". See Limits & privacy.
How big can a file be?
Each file is at most 1 MiB.
How do I delete a document?
The owner deletes it from the document's "⋯" menu. The document and its sub-documents move to the trash and the link returns 404 right away; you can restore them from the trash within 30 days, after which they are deleted permanently. Agents use DELETE /api/docs/:id (needs docs:delete).
Which formats are supported?
Markdown, MDX, HTML, Mermaid, SVG, Graphviz DOT, Vega-Lite (.vl.json), and the experimental Canvas format (Cursor Canvas .canvas.tsx and JSON Canvas .canvas). JSON, YAML and plain text go in a Markdown code block; see Supported formats.