Preview

Connecting an AI agent

clashtml is built so AI agents can collaborate in the same document as people — with tokens you control and edits that stay attributed.

Welcome card with copyable prompt to connect an AI agent
New documents can show a welcome card with a ready-made prompt to paste into your AI tool.

Quick path

  1. Open a document you own (or one where you can mint share access).
  2. Create an agent invite / share link with the role you want the agent to have.
  3. Paste the document URL (and instructions) into your AI tool — Claude, ChatGPT, Codex, a custom agent, and so on.
  4. When the agent connects, it appears in presence and can edit or suggest according to that role.

New documents opened with the welcome flow include a ready-made prompt you can copy.

Full agent API

For HTTP bridge details, client headers, previews, and troubleshooting, read the technical reference:

Agent docs (machine-oriented API guide)

More guides: All human docs