详细内容
Search…
⌘ K
Feedback
Sign in with Vercel
Sign in with Vercel
The AI Toolkit for TypeScript
From the creators of Next.js, the AI SDK is a free open-source library that gives you the tools you need to build AI-powered products.
npm i ai
npm i ai
Trusted by builders at
OpenAI\
\
Claude\
\
Hugging Face\
\
The next big thing\
\
Unified Provider API\
\
Switch between AI providers by changing a single line of code. Make a music player\
\
Blowin’ in the Wind\
\
Bob Dylan\
\
Generative UI\
\
Create dynamic, AI-powered user interfaces that amaze your users. Framework-agnostic\
\
Build with React, Next, Vue, Nuxt, SvelteKit, and more. Streaming AI Responses\
\
Don't let your users wait for AI responses. Send them instantly.
What builders say about the AI SDK
\
\
Sully\
\
@SullyOmarr\
\
the @aisdk is probably the best way to build an ai app right now\
\
you can go from idea -> working ai app in 15 mins.\
\
its made working with llms 10x more enjoyable ( and we ship faster)
\
\
Max Baines\
\
@maxbaines\
\
Hands down the @aisdk is by far the best SDK I have worked with, thats pretty much all things since jQuery.
\
\
Micky\
\
@rasmickyy\
\
vercel ai sdk is just sooo good it hurts man...\
\
can literally build ai features within any of my apps in mins
\
\
morgan\
\
@morganlinton\
\
The AI SDK is 🔥🔥🔥
\
\
Tom Watkins\
\
@TomWatkins1994\
\
the AI SDK is S tier software
\
\
EGOIST\
\
@localhost_5173\
\
Vercel AI SDK is so good, there's no reason to directly use npm/openai or npm/claude anymore
\
\
sunil "yeah no" pai\
\
@threepointone\
\
vercel ai sdk is very good actually
\
\
Matt Pocock\
\
@mattpocockuk\
\
Vercel's AI SDK is one of the first tools I reach for when I'm building an AI-powered feature in TypeScript.
\
\
Kyle Mistele 🏴☠️\
\
@0xblacklight\
\
Vercel's @aisdk is insanely good. Docs are fantastic. Great abstractions where you want them, doesn't force unnecessary ones, and lets you get under the hood where appropriate. Solves the hard stuff (stream parsing, tool streaming, multi-turn tool execution, error handling and healing/recovery) without forcing you into dumb patterns\
\
It just works, it's fantastic software and delightful to use. The team ships insanely fast, and has turned PRs from me around in like 2 days, and frequently ships requested features in < 1w
\
\
Ryan Carson\
\
@ryancarson\
\
I love @vercel and their @aisdk - so freaking easy to deploy.
\
\
Olivier\
\
@StonkyOli\
\
Big fan of the AI SDK\
\
It has blown away my expectations since i started using it, way better than raw dogging oai
\
\
Pontus Abrahamsson\
\
@pontusab\
\
With the ai sdk available i'm always thinking: "How can I make this process as automatic as possible for the user?" because the barrier to implementing it is just a matter of minutes.
\
\
ben\
\
@benhylak\
\
@aisdk has made it possible to just call "generateObject" across any model provider, and it returns a properly typed json object.\
\
it's pure magic.
\
\
EGOIST\
\
@localhost_5173\
\
Vercel AI SDK is so good, there's no reason to directly use npm/openai or npm/claude anymore
\
\
sunil "yeah no" pai\
\
@threepointone\
\
vercel ai sdk is very good actually
\
\
Pontus Abrahamsson\
\
@pontusab\
\
With the ai sdk available i'm always thinking: "How can I make this process as automatic as possible for the user?" because the barrier to implementing it is just a matter of minutes.
\
\
ben\
\
@benhylak\
\
@aisdk has made it possible to just call "generateObject" across any model provider, and it returns a properly typed json object.\
\
it's pure magic.
\
\
sami\
\
@svmisvhn\
\
huge shoutout to @vercel for the ai sdk, one API for all LLMs is 🤯
FAQs
Is the AI SDK free to use?
Yes, the AI SDK is free and open source.
How do I get started?
Visit our getting started page to learn how to install the AI SDK with your preferred framework.
How can I contribute to the project?
We welcome contributions from the community! You can contribute by submitting bug reports, feature requests, or pull requests on our GitHub repository.
