AI Toolkit (client package)
Requirements
Access the AI Toolkit client-only extension by purchasing the paid AI Toolkit add-on. Contact our team.
The AI Toolkit client extension is published in Tiptap's private npm registry. Authenticate to Tiptap's private npm registry by following the setup guide.
Install the extension from the private registry using npm or your preferred package manager.
Add AI Toolkit to your subscription
Integrate the AI Toolkit by purchasing the paid subscription add-on. We can guide your integration with dedicated engineering support via Slack.
Talk to an engineerTrusted by Axios, PostHog, Beehiiv, GitLab and more.
For most use cases, the server-based AI Toolkit is your best choice. This client-only approach works in-browser and talks to the Editor directly: it's useful if you want a fully in-browser solution, or need AI-based changes that don't sync with the document.
Paid add-on
Both the default and client AI Toolkits are paid add-ons to your subscription. Contact our team to get access.
Try the client AI Toolkit with this interactive demo featuring an AI agent that can read, edit, and manipulate documents.
Capabilities
The client-side AI Toolkit includes the building blocks for any custom AI functionality:
- Tools for building AI agents capable of complex tasks.
- Workflows where the AI has a single, well-defined task: insert content, proofread the document, and more.
Compatible with any AI model
Use the AI Toolkit with any AI model capable of producing text, including open source and self-hosted models.
AI agent tools
Build AI agents that can perform complex tasks by working with Tiptap documents.
AI Agent Chatbot
Build a conversational AI capable of editing documents and interacting through chat.
AI agent tools
Add these tools to your AI agent to give it document-editing superpowers.
Review Changes
Display AI-generated edits as suggestions users can accept or reject. Implements a Google Docs-style review workflow.
Tool Streaming
Stream AI tool calls in real-time to show users what the AI is doing. Improves perceived performance and transparency.
Selection Awareness
Make AI operations context-aware by passing only selected content. Reduces token usage and improves relevance.
Multi-Document AI Agent
Build an agent that works across multiple documents simultaneously. Includes document switching and cross-document context.
Comments
Have AI insert comments and annotations into documents. Useful for feedback, suggestions, or collaborative editing.
Workflows
Built-in utilities for simple document editing tasks.
Insert content
Insert content in a single place of the document.
Proofreader
Correct mistakes like spelling and grammar.
Tiptap Edit
A general-purpose workflow for making small and large edits to Tiptap documents.
Comments
Manage comments and threads in your Tiptap documents.
Add AI Toolkit to your subscription
Integrate the AI Toolkit by purchasing the paid subscription add-on. We can guide your integration with dedicated engineering support via Slack.
Talk to an engineerTrusted by Axios, PostHog, Beehiiv, GitLab and more.
Advanced guides
The AI Toolkit provides flexible building blocks for building any custom AI integration. Browse the available utilities in the API reference, or dive into the guides and examples below.
Live Demo
See the AI Toolkit in action with this interactive demo featuring an AI agent that can read, edit, and manipulate documents.
AI Engineering Guide
Best practices for prompting, error handling, and performance optimization when building AI document features.
Non-TypeScript Backends
Use the AI Toolkit with backends written in Python, Go, or other languages.
Compare Documents
Compare two Tiptap documents and highlight the differences.