Show HN: Tiptap AI Agent – Add AI workflows to your text editor in minutes
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 :-)
We're currently working on new open source features for the editor core, such as Markdown support, a decorations API, and editor content migrations: https://tiptap.dev/tiptap-editor-v3
We also recently released Hocuspocus V3 (https://github.com/ueberdosis/hocuspocus/releases/tag/v3.1.0).
From the page:
What does not increase your limit:
Some of Tiptap’s features and common usage patterns do not create new documents. Here are a few scenarios that do not increment your overall count:
Integrating the Editor without Collaboration: You can embed Tiptap’s Editor in your application for local or front-end use without creating any Tiptap Cloud documents. As long as you don’t store documents in the Tiptap Cloud, your count remains unchanged.
Using Content AI without Collaboration: Content AI features, such as autocomplete or content generation, do not require collaboration. If you don’t create new documents or store your AI-generated content in the Tiptap Cloud, you avoid increasing your document total.
Importing other file formats: You can import any number of files in formats like DOCX or MD. This action alone doesn’t raise your count. You only add to the count once you save them as Tiptap documents in the Tiptap Cloud.
Comments and Revisions: Comments and revisions live in the document’s metadata. They never raise your document count, but you must sync the document to the Tiptap Cloud to use them.
Ideally it's the latter, but it's non-obvious to me.
would be nice to customize the diff view colors and button styles
will play with the integration. Very cool stuff!
Is it possible to allow the agent to work on multiple documents for the same user/group?
If not, how do you phrase that in your ToS and what is your Errors and Omissions policy language like?
In our AI extensions, we provide callbacks like onSuccess that you can hook into, to send analytics events and track the AI's responses.
They're providing tools for integrating Tiptap with AI, including ones for reviewing suggested changes that come from LLMs. I don't really see something that Tiptap should be accepting liability for. As the developer working with Tiptap, I'd argue it's your responsibility to make sure (a) the prompts are giving generally good and useful output, and (b) that you incorporate any necessary UI to put a human in the loop of accepting the AI output. On the latter point, their AI Changes extension is one such example, but there are any number of ways of achieving this.