Tiptap Editor 3.0 Beta is out. Start here

AI Agent for Tiptap

Tiptap Content AI enables you to build AI Agents that edit rich text documents - from simple chatbot assistants to complex document editing workflows.

The AI Agent extension lets you integrate an AI Assistant that can read and edit your document based on a user-defined task.

Integrate or test AI Agent

To test or integrate this feature you need an active trial or Tiptap Team subscription.

Key features

  • Works out of the box with Tiptap Cloud. Zero configuration required.
  • Use with your own custom LLM and AI Agent framework of choice.
  • Combine Tiptap's text editing capabilities with your custom tools and RAG pipelines.
  • Compatible with the AI Changes extension. Let your users review and accept/reject AI-generated changes.

What are AI Agents?

AI Agents are systems that can accomplish a complex task by making independent decisions. Unlike simple chatbot assistants, AI Agents can not only respond with text, but also call "tools" that let them interact with the environment.

The Tiptap AI Agent has the tools to perform these actions:

  • Read the document
  • Re-write the document's contents
  • Edit specific sections using Tiptap commands
  • Make a plan, interact with the user, and create a summary of the changes it made.

These built-in tools are optimized for rich text editing and follow LLM best practices, allowing you to focus on your application's core logic. You can combine them with custom tools for business logic and data retrieval.

When an LLM is called with these tools, it selects one to execute. Then, the Tiptap AI Agent Extension applies it to the editor, modifying the document or reading its content in an efficient way. In a typical implementation, the LLM is called on the server, while the document editing happens in the browser.

Think of the LLM as the "brain" of the AI Agent, making decisions about which tools to call. The Tiptap AI Agent Extension acts as the "hands" and "eyes," enabling the agent to read and interact with the document.

By using the AI Agent extension with Tiptap Cloud, you don't need to worry about the server — we have it built for you. However, if you want to customize the LLM and the tools that the AI Agent has available (so that it can perform other actions, like searching an external data source), you can integrate the AI Agent extension with your own backend.