Building AI applications and agents
The documentation provides a comprehensive TypeScript toolkit and standardized integration methods, enabling developers to construct AI-powered applications and agents efficiently across various frameworks.
AI SDK
https://ai-sdk.devThe AI SDK documentation guides developers in building and integrating AI applications, agents, and custom providers. Learn to implement LLM text generation, streaming, and agent skills, and troubleshoot common issues to build AI-powered applications and agents.
Works with
Use AI SDK Documentation to complete source-specific tasks, make informed decisions, and follow evidence-backed workflows.
The documentation provides a comprehensive TypeScript toolkit and standardized integration methods, enabling developers to construct AI-powered applications and agents efficiently across various frameworks.
The AI SDK documentation details how to use the AI Gateway and other providers, offering a unified interface to connect with various AI models without separate integrations.
The `generateText` API reference and cookbook examples provide instructions and parameters for generating text and tool calls from LLMs for non-interactive tasks like drafting or summarizing.
The documentation on Agent Skills and tool calling provides guides and reference material for extending agents with specialized capabilities and enabling them to interact with external functions.
The caching middleware cookbook example demonstrates how to use `LanguageModelMiddleware` to cache assistant responses in KV storage, improving application performance for `generateText` and `streamText` functions.
The troubleshooting guide offers solutions, such as updating content filtering settings in Azure AI Studio or using the `smoothStream` transformation, to address slow streaming issues with Azure OpenAI.
A quick look at the main areas Bulkgrid has indexed and keeps ready for AI search, MCP, extraction, and change detection.
/content/docs
291 pages
Introduces the AI SDK as a TypeScript toolkit for building AI applications and agents, covering foundational concepts, core functionalities, UI components, and integration with various providers and harnesses.
/content/providers
151 pages
Details how to integrate and manage various AI model providers and agent harnesses, including the AI Gateway, community-contributed providers, and observability tools.
/content/docs/07-reference
135 pages
Provides API reference documentation for core AI SDK functionalities, UI components, server components, workflow tools, and error handling, aiding developers in implementing advanced AI features.
/content/cookbook
93 pages
Offers practical guides and examples for building AI applications, including adding agent skills, implementing caching middleware, calling tools, and setting up API servers across different frameworks.
/content/docs/07-reference/01-ai-sdk-core
62 pages
Documents core AI SDK functions like generateText, streamText, embed, rerank, and generateSpeech, enabling developers to build interactive and automated AI applications.
/content/providers/05-community-providers
60 pages
Guides developers on writing and publishing custom AI SDK providers using the Language Model Specification, fostering community contributions and extending model compatibility.
/content/providers/01-ai-sdk-providers
45 pages
Details the integration of various AI model providers, including AI Gateway, OpenAI, Azure OpenAI, Anthropic, and Amazon Bedrock, simplifying access to diverse LLMs.
/content/docs/07-reference/05-ai-sdk-errors
38 pages
Documents various AI SDK error types, such as AI_APICallError and AI_InvalidArgumentError, providing properties and guidance for checking and resolving common API and data-related issues.
/content/docs/03-ai-sdk-core
32 pages
Provides an overview of AI SDK Core, detailing functions for generating text and structured data, implementing tool calling, and managing runtime and tool context for LLM integration.
/content/docs/09-troubleshooting
32 pages
Offers solutions for common AI SDK issues, including slow streaming from Azure OpenAI, problems with server actions in client components, and errors related to stream output and deployment.
/content/cookbook/05-node
30 pages
Provides examples and guides for implementing AI SDK functionalities in Node.js environments, covering text generation, streaming, retrieval augmented generation, and building knowledge base agents.
/content/cookbook/01-next
23 pages
Offers practical examples for integrating the AI SDK with Next.js, demonstrating text and image generation, streaming, caching middleware, and building interactive chatbots.
Bulkgrid turns important websites into fresh, queryable, AI-ready sources without making teams maintain the infrastructure.
Retrieve the right source context instead of sending large pages, pasted docs, or noisy search results into every prompt.
Ground responses in current, source-backed evidence to reduce hallucinations and avoid relying on stale model memory.
Keep important websites automatically recrawled and updated so AI is not working from old content.
Search already-indexed source content immediately instead of crawling pages at question time.
Bulkgrid handles crawling, rendering, retries, storage, indexing, recrawls, and change detection.
See when pages are added, removed, updated, or fail so teams can react without checking manually.
Search and use knowledge from AI SDK in ChatGPT, Claude, Cursor, and any MCP-compatible client.