ai

The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents

TypeScript ✓ Official SDK [email protected] 🔒 1 vuln · LOW 📦 35.9M/mo
22.4k stars  ·  3.9k forks  ·  Updated  ·  NOASSERTION
Install
npm install ai
View on GitHub
📄 Documentation
anthropicartificial-intelligencegeminigenerative-aigenerative-uijavascriptlanguage-modelllmnextjsopenaireactsvelte
Supported APIs (1)

Vercel combines the best developer experience with an obsessive focus on end-user performance. Our platform enables fron

Version history All releases ↗

### Patch Changes - Updated dependencies [efdaefc] - @ai-sdk/[email protected]

### Patch Changes - efdaefc: chore(provider/gateway): update gateway model settings files

🔒 Security advisories (1)
LOW
Vercel’s AI SDK's filetype whitelists can be bypassed when uploading files
CVE: CVE-2025-48985Fixed in 5.0.52Details ↗
Data from OSV.dev
Quality signals
Score
Stars22.4k
Forks3.9k
Last updated
LicenseNOASSERTION
✓ Official SDK
Supported APIs (1)
vercel.com
Language
TypeScript
Browse all TypeScript SDKs →
📦 Package statsnpm ↗
Monthly downloads35.9M
Bundle size (gzip)66.0 kB
Bundle (minified)264.7 kB
Used by packages1.7K