AI SDK

Build TypeScript apps and agents across model providers

Website

Meet AI SDK

AI SDK is an open-source TypeScript toolkit from Vercel for adding language models to applications. Developers can use the same interface to send prompts to different providers, stream text as it arrives, or ask for a response that matches a schema. The toolkit also lets a model call functions supplied by the application.

For example, a team building a support assistant could give it a function that looks up an order, then stream the answer into a chat window. AI SDK UI includes hooks for managing messages and displaying those updates in frameworks such as React, Vue, and Svelte.

Discussion

Tried it? Share a useful thought or ask a question.

Product details

Website
ai-sdk.dev
Status
Launched
Listed

Explore related topics