We built the Tiptap AI Agent to make it easy to integrate AI into a rich text editor, without rebuilding your entire frontend.
If you’ve ever tried wiring up AI inside a document editor, you’ve probably dealt with:
- Extracting context from complex document structures
- Handling prompt input + streamed output
- Supporting undo/redo for AI changes
- Designing UI for accepting/rejecting changes
- Multiplayer session state and conflicts
It’s a lot of work, and almost none of it is model-specific.This new Tiptap toolkit gives you a clean way to define AI Agents that can read and edit rich text based on user-defined tasks. You can trigger agents manually, automatically, or in response to structured input.
Works with OpenAI or your own backend + LLM stack. Built on top of the same multiplayer engine behind Tiptap’s collaboration features.
We also include an AI Changes extension so users can review and accept/reject generated edits, like a built-in code review for content.
There’s a live demo here: https://ai-agent.tiptap.dev/
Developer Docs: https://tiptap.dev/docs/content-ai/capabilities/agent/overvi...
Happy to answer questions or just hear what you’re building :-)
Huh I really like the inline accept / reject button upon clicking
would be nice to customize the diff view colors and button styles
will play with the integration. Very cool stuff!
I gotta say, the focus on all that non-model-specific heavy lifting for AI in editors? That's the real MVP move here. So much of the AI hype is just about the model, but integrating it smoothly is where most projects probably hit a wall.
If using tiptap as a collaborative editor, are the pending AI Changes (the red/green diff applied to the editor contents) visible to all users, or just the current one?
Ideally it's the latter, but it's non-obvious to me.
Awesome job Tiptap, looks really powerful.
Is it possible to allow the agent to work on multiple documents for the same user/group?
If used in a legally binding setting to does your firm accept liability for erroneous output resulting in litigation proceedings or financial loss? Serious question because I’m a human working in a similar niche.
If not, how do you phrase that in your ToS and what is your Errors and Omissions policy language like?
Looks very good! Are these new components exclusively available through the Pro package, requiring at least the paid Starter plan? Are any of the new features open source, or is all of the new functionality restricted to the paid tiers?