---
title: Guides
description: Learn how to build AI applications with the AI SDK
url: "https://ai-sdk.dev/cookbook/guides"
docs_index: /llms.txt
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

These use-case specific guides are intended to help you build real applications with the AI SDK.

#### [RAG Agent](/cookbook/guides/rag-chatbot)

Learn how to build a RAG Agent with the AI SDK and Next.js.

#### [Multi-Modal Agent](/cookbook/guides/multi-modal-chatbot)

Learn how to build a multi-modal agent that can process images and PDFs with the AI SDK.

#### [Slackbot Agent](/cookbook/guides/slackbot)

Learn how to build an AI Agent in Slack with the AI SDK and Chat SDK.

#### [Natural Language Postgres (SQL Agent)](/cookbook/guides/natural-language-postgres)

Learn how to build a Next.js app that lets you talk to a PostgreSQL database in natural language.

#### [Get started with Computer Use](/cookbook/guides/computer-use)

Get started with Claude's Computer Use capabilities with the AI SDK.

#### [Add Skills to Your Agent](/cookbook/guides/agent-skills)

Extend your agent with specialized capabilities loaded at runtime from markdown files.

#### [Compact Agent Context](/cookbook/guides/agent-context-compaction)

Compact agent context by mutating message state between steps with prepareStep.

#### [Get started with Gemini 2.5](/cookbook/guides/gemini-2-5)

Get started with Gemini 2.5 using the AI SDK.

#### [Get started with Claude 4](/cookbook/guides/claude-4)

Get started with Claude 4 using the AI SDK.

#### [OpenAI Responses API](/cookbook/guides/openai-responses)

Get started with the OpenAI Responses API using the AI SDK.

#### [Get started with Claude 3.7 Sonnet](/cookbook/guides/sonnet-3-7)

Get started with Claude 3.7 Sonnet using the AI SDK.

#### [Get started with Llama 3.1](/cookbook/guides/llama-3_1)

Get started with Llama 3.1 using the AI SDK.

#### [Get started with GPT-5](/cookbook/guides/gpt-5)

Get started with GPT-5 using the AI SDK.

#### [Get started with OpenAI o1](/cookbook/guides/o1)

Get started with OpenAI o1 using the AI SDK.

#### [Get started with OpenAI o3-mini](/cookbook/guides/o3)

Get started with OpenAI o3-mini using the AI SDK.

#### [Get started with DeepSeek R1](/cookbook/guides/r1)

Get started with DeepSeek R1 using the AI SDK.

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)