AI SDK
The TypeScript toolkit for AI apps.
Unified TypeScript API for every major model provider with streaming UI hooks for React, Svelte and Vue.
- Vendor
- Vercel
- Category
- LLM & RAG frameworks
- Pricing
- Open source
- Open source
- Yes
- License
- Apache 2.0
- Platforms
- TypeScript
- Launched
- 2023
- Website
- ai-sdk.dev
Features
- Provider-agnostic
- Streaming UI
- Tool calling
- Structured outputs
Best for
- Chat & assistants
- Agents
More llm & rag frameworks
- LangChain — LangChain. The most widely used LLM application framework.
- LlamaIndex — LlamaIndex. Data framework for RAG and document agents.
- DSPy — Stanford NLP. Program — don’t prompt — language models.
- Haystack — deepset. Production-ready RAG pipelines.
- Instructor — Jason Liu & community. Pydantic-typed structured outputs from any LLM.
- Outlines — .txt (dottxt). Guaranteed structured generation with regex, JSON Schema and grammars.
- BAML — Boundary. A typed language for defining and testing LLM functions.