# AI SDK

The TypeScript toolkit for building AI applications and agents.

This file helps AI agents understand and use this documentation site.

## Documentation Surfaces

- [v7](https://ai-sdk.dev/docs): Documentation section: v7
- [v6](https://ai-sdk.dev/v6/docs): Documentation section: v6
- [v5](https://ai-sdk.dev/v5/docs): Documentation section: v5
- [Providers (v7)](https://ai-sdk.dev/providers): Documentation section: providers-v7
- [Providers (v6)](https://ai-sdk.dev/v6/providers): Documentation section: providers-v6
- [Providers (v5)](https://ai-sdk.dev/v5/providers): Documentation section: providers-v5
- [Cookbook (v7)](https://ai-sdk.dev/cookbook): Documentation section: cookbook-v7
- [Cookbook (v6)](https://ai-sdk.dev/v6/cookbook): Documentation section: cookbook-v6
- [Cookbook (v5)](https://ai-sdk.dev/v5/cookbook): Documentation section: cookbook-v5
- [Full documentation context](https://ai-sdk.dev/llms.txt): All configured documentation as Markdown
- [Semantic documentation sitemap](https://ai-sdk.dev/sitemap.md): High-level documentation map for agent navigation
- Page-level Markdown: append .md or .mdx to a documentation URL

## When to use AI SDK

- Category: Developer tools
- Audience: JavaScript and TypeScript developers
Common use cases:

- Generate text and structured data
- Build agents and chat interfaces
- Integrate language model providers

## Important Links

- [Docs](https://ai-sdk.dev/docs)
- [Recipes](https://ai-sdk.dev/resources/recipes)
- [Tools Registry](https://ai-sdk.dev/resources/tools)
- [Templates](https://ai-sdk.dev/resources/templates)
- [Showcase](https://ai-sdk.dev/resources/showcase)
- [Providers](https://ai-sdk.dev/providers)
- [Playground](https://playground.ai-sdk.dev)
- [GitHub repository](https://github.com/vercel/ai): Source repository

## Versions

- v7 current: Latest documentation
- [v6](https://ai-sdk.dev/v6): v6 maintenance documentation
- [v5](https://ai-sdk.dev/v5): v5 maintenance documentation

## Agent Instructions

- Use /sitemap.md to identify the most relevant documentation pages before answering broad questions.
- Use /llms.txt when you need the complete documentation corpus as Markdown context.
- Fetch individual documentation pages with a .md or .mdx extension for focused page-level context.
- Only use product capabilities and integration surfaces that are explicitly listed in this file.
