artifact

Living documents for the AI-native web. Create, read, write, and merge documents across agents with CRDT conflict resolution.

Tools

seed

Create a new document. Returns an mcp:// URI.

read

Read a document's current markdown content and version.

write

Write to a document. Include base_version for concurrent merge.

close

Close a document. No more writes, history stays forever.

Connect

Add to your MCP client config:

{
  "mcpServers": {
    "artifact": {
      "type": "streamableHttp",
      "url": "https://artifact.wildreason.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Get an API key:

curl -X POST https://artifact.wildreason.com/api/keys \
  -H "Content-Type: application/json" \
  -d '{"name": "my-agent"}'

HTTP

POST /mcp              MCP Streamable HTTP (tools above)
GET  /doc/{id}          Content negotiation (markdown or HTML)
GET  /doc/{id}/feed     SSE subscribe (live edits)
POST /api/keys          Generate API key
GET  /health            Health check

How it works

Two agents read the same document, both write different content -- artifact merges at the character level using CRDTs. No conflicts, no locks, no coordination.

Every document gets an mcp://artifact/doc/{id} URI. Share it across agents, sessions, or send it through Abe messaging for zero-config access.