VOOZH about

URL: https://tiptap.dev/product/ai-toolkit

⇱ Enabling true document AI with Tiptap AI Toolkit


AI Toolkit

Build document-aware AI editing

Let AI work where knowledge work happens: inside the document.

Schema-aware
AI patch
Reviewable

Give your AIdocument-editing powers

AI Toolkit gives your AI access to document context and structure, so it understands where changes belong and keeps edits under your users’ control.

Preserve document structure

AI applies precise, scoped edits only where needed, preserving document structure and making changes easier to review.

Humans stay in control

AI edits can become suggestions that users review, accept, reject, or discuss before they become final.

Trace every decision

Keep AI edits connected to their source, review status, and final decision when your workflow needs attribution or audit trails.

It’s not just generation. It’s in-place editing that turns AI output into controlled, reviewable changes.

From model output
to document edits

Tiptap becomes the interface between your AI and your documents, while your models, prompts, and agents stay in your stack.

πŸ‘ Image

AI Toolkit turns model output into structured, reviewable document edits.

What AI can do
in your documents

Once your AI can work with Tiptap document structure, it can support real workflows instead of isolated prompts.

Document tools

for actions and agents

Start with focused AI actions, then give agents the same document tools for more complex workflows.

Document actions

Single-purpose AI actions you can ship quickly, such as insert content, rewrite a selection, proofread, summarize, or apply edits.

Agent workflows

Tool-based systems that combine multiple document actions, ask for clarification, inspect document context, and complete more complex requests.

Use the AI architecture you already have. The AI Toolkit gives it document editing tools.

Run AI in the editor 
or on your backend

Choose the runtime that matches your product experience, infrastructure, and control requirements.

Frontend AI Toolkit

In the browser, 
inside your editor UI.

Build real-time AI experiences where users can work with selections, cursor position, streaming output, and in-context review.

  • Selection and caret aware
  • Streams suggestions into the editor
  • Supports in-editor review and approvals
  • Works well for interactive editing experiences

Server AI Toolkit

On your backend, no browser required.

Run asynchronous workflows at scale and return reviewable changes to the editor when they are ready.

  • Async workflows at scale
  • Scheduled jobs and webhooks
  • Bulk and multi-document processing
  • Returns suggestions to the editor
  • Available for hosted or enterprise deployment patterns

Bring your own AI stack

The AI Toolkit is model-agnostic and infrastructure-agnostic. It connects your AI stack to the Tiptap document layer without locking you into a provider.

Your models

OpenAI, Claude, Mistral, Llama, or your own self-hosted models.

Your AI architecture

Tool definitions for popular AI SDKs on the client. REST APIs for backend workflows.

Your infrastructure

Route model calls through your backend and run processing where your workflow requires.

Ship document AIwithout rebuildingthe document layer

AI Toolkit handles structure, scoped edits, and reviewable changes, so your team can focus on the AI experience your users need.

Frequently
 askedquestions

Tiptap AI Toolkit pricing is separate from AI provider costs. However, you can use the AI Toolkit features to reduce your token cost by retrieving content in chunks and leveraging our optimized patch format for small, precise edits.

Yes, the AI Toolkit is built on Tiptap's extension architecture. It works alongside your custom marks, nodes and extensions. The AI can be configured to understand and generate content using your custom schema.

The add on plan includes unlimited AI Toolkit usage. You only pay for API calls to your AI provider. There are no additional Tiptap charges.

Yes, the AI Toolkit is compatible with Tiptap's collaborative backend. Multiple users can see AI streaming and edits in real-time within collaborative documents. Suggestions are only visible to the user executing the AI prompt until they accept the changes.

Server-side tool execution is currently the highest priority item on our roadmap!

The AI Toolkit is a client-side library that is GDPR-neutral. It integrates with your choice of an AI provider.

Yes. You have full control over prompts, tools and UI. The AI Toolkit provides default tool definitions, but also Editor API primitives that you can use to create custom tools and build your own AI user experience.

A 30 minute session with our core engineers covering your use case deep-dive, AI Toolkit architecture, integration planning and immediate setup with NPM packages and Slack channel access.

Yes, you can provide your custom schema definition with the Schema awareness feature to make your AI automatically understand your custom elements structure and output valid properties. For example, if you have custom "citation" nodes or "legal clause" components, the AI will generate and edit them correctly after you've specified them as part of the Schema awareness feature.

The AI Toolkit is available as an add-on for any to active Tiptap subscription. Enterprise customers must purchase the AI Toolkit as part of their custom contract.

The AI Toolkit can be used with any AI model of your choice (that can output text). Find a list of the best AI models to use with the AI Toolkit in the docs.

The AI Toolkit is also compatible with any AI agent library or framework. The tool definitions of the AI Toolkit are available in the format of popular AI provider libraries like Vercel AI SDK, LangChain.js, OpenAI, Anthropic and Mastra. Other providers can also be integrated by creating a custom adapter library as described in the docs.

Absolutely! The AI Toolkit is framework-agnostic and works with LangChain, the AI SDK by Vercel, Anthropic SDK, OpenAI or any other custom AI model or agent. Instead of rebuilding your backend you're adding document editing capabilities to your existing stack.

Yes, the AI Toolkit reads content in chunks and can process only relevant sections instead of entire documents. Once your agent writes into your document it can write and return suggestions in under a second.

Once your agent has started outputting content the first token appears immediately. Users can see the progress in real-time instead of waiting for your agent to finish. With the Toolkit your agent can stream both simple content and custom React components.

The AI Toolkit augments your integrated AI agents with precise, fast document-editing capabilities, enabling them to read and write directly within your editor.

By contrast, when a frontier model is integrated without the Toolkit, it can neither read documents efficiently nor write into them with precision, creating friction for both simple and large edits.

With the AI Toolkit in place, your agent can stream responses in real time, understand your document schema, and apply edits at scale across multi-page documents so users no longer need to copy and paste into ChatGPT or Claude to adjust their content.