Back to products
Tiptap AI Agent

Tiptap AI Agent

Add Cursor-like AI agent to your rich text editor in minutes

Overview

What it is

Add an AI Agent to your text editor without the boilerplate. Let AI read and edit documents based on user-defined tasks. Works with OpenAI or your own LLM stack. Multiplayer-ready, fully customizable, and easy to integrate.

Intent

I need it when

Integrate AI document editing into existing applications without rebuilding backend infrastructure

AI Toolkit is framework-agnostic and works with any AI model, LLM provider, or custom infrastructure. It integrates with Vercel AI SDK, LangChain.js, OpenAI, Anthropic, Mastra, and custom adapters, allowing developers to add document-editing capabilities to existing AI stacks.

Create transparent, reviewable AI editing workflows where users control and trust AI changes

AI Toolkit includes review and suggestion features that display all AI edits as trackable changes, require AI to justify edits with comments, support undo/rollback, and enforce read/write boundaries. Users can accept or reject changes individually, making AI operations visible and reversible.

Reduce AI token costs and latency when processing large documents

AI Toolkit reads content in chunks and processes only relevant sections instead of entire documents. It uses optimized patch formats for small, precise edits, reducing token consumption. Streaming support shows generated content immediately, improving perceived performance.

Build domain-specific AI editors that understand custom document schemas and components

AI Toolkit includes schema awareness features that allow AI to understand and generate custom nodes, marks, and attributes. Developers can configure agents to work with domain-specific elements like citations, legal clauses, or technical components, ensuring valid output.

Build AI agents that can read, understand, and edit documents with precision and speed

AI Toolkit provides tool definitions and APIs that enable AI agents to read document content in chunks, understand custom schema and structure, apply precise edits, and stream changes in real-time. This allows developers to ship document-editing AI features in minutes instead of months.

Drop

Not a fit when

  • You need server-side AI document editing without a browser environment (Server AI Toolkit is currently in alpha and not yet production-ready)
  • You require on-premises deployment without Enterprise plan (AI Toolkit requires active Tiptap subscription; Enterprise customers must purchase as part of custom contract)
  • You want to use AI models that do not support function calling or tool definitions (AI Toolkit requires models compatible with tool calling)
  • Your use case involves only simple text generation without document structure awareness (AI Toolkit is optimized for schema-aware, structured document editing)
  • You need real-time collaboration without Tiptap Platform's managed cloud documents (collaborative features require Tiptap Platform or Enterprise on-prem deployment)
Commercials

Pricing

AI Toolkit is a paid add-on available for any active Tiptap subscription plan (Start, Team, Business, or Enterprise). Pricing is separate from base plan costs. View pricing