---
title: "Get started with a custom AI Agent"
description: "Learn how to use the AI Agent extension with a custom AI Agent."
---

> [Tiptap Editor 3.0 is out. Start here](https://tiptap.dev/docs/resources/whats-new.md)

# Get started with a custom AI Agent

Learn how to use the AI Agent extension with a custom AI Agent.

This guide explains how to set up the AI Agent extension with a custom AI Agent running in your backend.

The guide has different versions depending on the AI library you use:

- [Vercel AI SDK](https://tiptap.dev/docs/v2/content-ai/capabilities/agent/custom-llms/get-started/vercel-ai-sdk.md)
- [OpenAI Chat Completions API](https://tiptap.dev/docs/v2/content-ai/capabilities/agent/custom-llms/get-started/openai-chat-completions.md)
- [OpenAI Responses API](https://tiptap.dev/docs/v2/content-ai/capabilities/agent/custom-llms/get-started/openai-responses.md)
- [Anthropic Claude Messages API](https://tiptap.dev/docs/v2/content-ai/capabilities/agent/custom-llms/get-started/anthropic-messages.md)

Don't know what library to use? Start with the [Vercel AI SDK](https://tiptap.dev/docs/v2/content-ai/capabilities/agent/custom-llms/get-started/vercel-ai-sdk.md). It lets you switch [AI providers](https://ai-sdk.dev/providers/ai-sdk-providers), so you can try and see which works best for you.

> **Custom AI Agent demos**
>
> Prefer to learn by example? Get started fast with our [Custom AI Agent
> demos](https://github.com/ueberdosis/ai-agent-custom-llm-demos). Every demo includes the complete
> client and server code, along with detailed setup instructions.
