Skip to main content

Agent context

Agents work best when they read accurate, current information. Uploading a PDF snapshot freezes the world at upload time. A 00doc link — or get_document over MCP — tracks the live document.

The stale-snapshot problem

When you attach a file to a chat:
  • The model sees that bytes, not next week’s edit.
  • You must re-upload after every change.
  • Large PDFs burn tokens and lose structure.
When you give an agent a document_id or share URL in a workflow wired to 00doc:
  • get_document returns today’s HTML when you need content.
  • publish_document writes the next version without leaving the tool loop.

Where to use it

  • Claude Projects — paste the canonical doc link in project instructions; combine with MCP for read/write.
  • Cursor — reference the doc in prompts when refactoring specs or ADRs stored on 00doc.
  • Automation — a job can poll or trigger publishes so agents and humans never diverge on “source of truth.”

Tie-in to MCP

Closing the loop:
  1. Agent reads with get_document (include_html: true when it must reason over body content).
  2. Agent edits in conversation.
  3. Agent writes with publish_document using the same document_id.

Agent-ready documents

get_document