---
title: "AI Agents"
description: "Learn how to build AI agents with the Server AI Toolkit."
canonical_url: "https://tiptap.dev/docs/ai/ai-toolkit/agents"
---

# AI Agents

Learn how to build AI agents with the Server AI Toolkit.

AI agents can interact with Tiptap documents on the server to accomplish complex tasks. The Server AI Toolkit contains [built-in tools](https://tiptap.dev/docs/ai/ai-toolkit/api-reference/rest-api.md#available-tools) that allow your AI to read and edit documents server-side.

With the Server AI Toolkit, you can build agents with server-side document editing capabilities:

[AI agent chatbot
More →Build a conversational AI agent that can read and edit documents through chat using the Server
AI Toolkit API.](https://tiptap.dev/docs/ai/ai-toolkit/agents/ai-agent-chatbot.md)

[With Tracked Changes
More →Integrate the Server AI Toolkit with the Tracked Changes extension, so users can review and
accept/reject AI-generated content](https://tiptap.dev/docs/ai/ai-toolkit/agents/tracked-changes.md)

[Comments
More →Give your AI agents the ability to read, write and edit comments in your document, fully
server-side.](https://tiptap.dev/docs/ai/ai-toolkit/agents/comments.md)

[Custom nodes
More →Configure your custom nodes and marks so your AI can generate them reliably.](https://tiptap.dev/docs/ai/ai-toolkit/advanced-guides/custom-nodes.md)

## Available tools

The Server AI Toolkit provides [tool definitions](https://tiptap.dev/docs/ai/ai-toolkit/api-reference/rest-api.md) that your AI agent can call to interact with documents on the server. These tools enable reading content and making edits efficiently.

When you call the Server AI Toolkit API endpoints, the AI model can generate tool calls that are then executed using the `/v4/ai/toolkit/execute-tool` endpoint. This allows the AI to read, edit, and manipulate documents based on user requests.
