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.
New documents can show a welcome card with a ready-made prompt to paste into your AI tool.
Quick path
- Open a document you own (or one where you can mint share access).
- Create an agent invite / share link with the role you want the agent to have.
- Paste the document URL (and instructions) into your AI tool — Claude, ChatGPT, Codex, a custom agent, and so on.
- 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