Unified model API
AI SDK standardizes common language-model integration patterns across supported providers, reducing the need to implement provider-specific request and response handling.
AI SDK is a TypeScript toolkit for building AI-powered applications and agents across supported model providers and web frameworks. It provides shared APIs for model generation, tool use, streaming, structured output, and AI user interfaces.
AI SDK is a TypeScript toolkit from Vercel for building AI-powered applications and agents. It standardizes integration with supported language model providers and offers APIs for text generation, tool calls, streaming, structured output, and AI-driven interfaces.
Its main surfaces are AI SDK Core, AI SDK UI, and AI SDK Harnesses. Core handles model generation and agent-oriented workflows; UI provides framework-agnostic hooks for chat, completions, and streamed JSON; and HarnessAgent offers a uniform API for running established agent harnesses such as Claude Code, Codex, and Pi. The documentation includes framework examples for frontend and backend applications.
AI SDK standardizes common language-model integration patterns across supported providers, reducing the need to implement provider-specific request and response handling.
AI SDK Core provides `generateText` for non-interactive generation and tool-using agents, plus `streamText` for interactive responses and streamed content.
Core generation functions support structured output through options such as `Output.object()` and `Output.array()`, useful for information extraction, classification, synthetic data, and generated UI data.
AI SDK UI includes `useChat`, `useCompletion`, and `useObject` for streaming chat messages, text completions, and JSON objects while managing relevant frontend updates and state.
The UI layer is documented for React, Vue.js, Svelte, Angular, and SolidJS, with framework-specific packages and examples such as Next.js, Nuxt, SvelteKit, and Angular.
AI SDK Harnesses provide a uniform API through `HarnessAgent` for established harnesses including Claude Code, Codex, and Pi, using compatible stream and response primitives for AI SDK surfaces.
Use `streamText` with AI SDK UI’s `useChat` hook to deliver streamed responses and manage message, loading, error, and input state in a chat interface.
Use `generateText` for non-interactive workflows such as drafting email or summarizing web pages, where a response can be generated without a live conversational UI.
Generate typed, schema-validated objects or arrays for information extraction, classification, and other workflows that need data rather than free-form text.
Build agent workflows that call tools with AI SDK Core, or connect established agent harnesses through `HarnessAgent` and consume their compatible streams and responses.
Use streamed JSON with `useObject` and AI SDK Core structured output to render data-driven or generative UI experiences; the site also provides templates for multi-step tools and streamed structured objects.
It is used to build AI-powered applications and agents with TypeScript, including chat interfaces, text generation workflows, tool-using agents, structured data generation, and streamed or generative UI.
The documentation lists React, Vue.js, Svelte, Angular, and SolidJS. It also provides framework examples for Next.js, Nuxt, SvelteKit, and Angular.
`generateText` is intended for non-interactive generation, automation, and tool-using agents. `streamText` streams text and tool calls for interactive use cases such as chatbots and content streaming.
Yes. AI SDK Core supports structured output through the `output` property, including `Output.object()` and `Output.array()`, for typed and schema-validated data workflows.
AI SDK standardizes integration across supported providers rather than being a single model. The site lists providers including OpenAI, Anthropic, Google Generative AI, xAI, Azure, Amazon Bedrock, and others; available capabilities differ by provider.
learn.microsoft.com
Semantic Kernel is Microsoft’s public GitHub software project for integrating large language model technology into applications. The repository includes implementation and documentation directories for .NET, Python, and Java development.
harproject.dev
HAR HQ is a team governance and observability layer for organizations running coding agents with HAR. It standardizes verification, tracks AI-related work and spend, and helps engineering teams review and improve agent workflows.
platform.openai.com
OpenAI Platform is a developer platform for building applications with the OpenAI API. It provides API access, model and pricing information, technical documentation, starter apps, and cookbooks for implementation guidance.
platform.claude.com
Claude Platform gives developers programmatic access to Claude models and managed agent infrastructure for building agents and applications. It includes a REST API, official client SDKs, a web Console, and documentation for direct integrations.
cortexdocs.dev
Cortex Docs is an open-source API tooling workflow that turns API specifications and Markdown into interactive documentation, typed SDKs, and MCP servers. It helps developers publish API interfaces for human users, applications, and AI agents from a shared project.
python.useinstructor.com
Instructor is a developer library for extracting structured, validated data from large language models. It uses Pydantic schemas, automatic retries, streaming, and a consistent interface across cloud, local, and routed LLM providers.