Documentation
AI and agents
How an AI assistant works on a Framulus document, and what Framulus supplies.
Framulus exposes the open document to an outside agent as typed tools over MCP. There is no chat box and no prompt field: the place you type a request is your own assistant, and Framulus is what it calls.
What Framulus supplies
- An MCP endpoint, the tools, and the resources an agent reads to find out what Framulus is.
- The authorization: an OAuth grant that lets one client act on your documents.
- A record of what was done, in the Console and the Agent panel, with an undo beside each change.
What it does not supply
The model. Framulus holds no provider API key, chooses no model and bills no model usage. Whatever your assistant costs, it costs the same when it is working on a Framulus document.
One mutation path
Every change an agent makes is dispatched as one batch through the same reducer a drag uses. It lands on the canvas, in the markup, in the stylesheet and in history at once, and one tool call is one press of undo.