AI Toolkit

Paid add-onBeta

The AI Toolkit is a set of tools that enables your AI to work with Tiptap documents.

Use it to build AI agents with document-editing superpowers. Or add custom AI functionality to the Tiptap editor with its flexible primitives.

Try the AI Toolkit in action with this interactive demo featuring an AI agent that can read, edit, and manipulate documents.

Core Capabilities

The AI Toolkit provides two complementary approaches to building AI features: AI Agent Tools for automated workflows where your LLM makes decisions, and Primitives for custom implementations where you control the logic.

AI Agent Tools

Pre-built tool definitions that your AI agent can call to interact with documents. These work with popular frameworks like Vercel AI SDK, LangChain, OpenAI, and Anthropic. When your LLM decides to edit a document, these tools handle the execution.

Primitives

Low-level methods for building custom AI features. Use these when you need fine-grained control over how AI interacts with documents, or when building features beyond standard agent workflows.

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 engineer

Trusted by Axios, PostHog, Beehiiv, GitLab and more.

Guides and Examples

The AI Toolkit provides flexible building blocks rather than prescribing a single approach to implementation. Start by envisioning the feature you want to create, then use the toolkit's methods to bring it to life. These guides showcase practical examples to inspire and inform your own implementation.

Quickstart Guides

Advanced Guides