AI SDKs and agent frameworks
Call language models and build AI agents from JavaScript or TypeScript. We rate 9; AI SDK leads with 9.0 out of 10.
The numbers
Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.
| Project | Downloads, 4 weeks | In a year | GitHub stars | Commits, 12 months | Last npm release | Advisories, 24 months |
|---|---|---|---|---|---|---|
| AI SDK | 180M | ×10 | 28k | 4.7k | Nov 2026 | 1 |
| OpenAI SDK | 232M | ×7.6 | 11k | 1.4k | Nov 2026 | 0 |
| Anthropic SDK | 273M | ×25 | 2.2k | 846 | Nov 2026 | 2 |
| Mastra | 13M | ×15 | 30k | 12k | Nov 2026 | 1 |
| LangGraph.js | 20M | ×7.2 | 3.4k | 892 | Nov 2026 | 0 |
| OpenAI Agents SDK | 9.7M | ×14 | 4k | 1.2k | Nov 2026 | 0 |
| LangChain.js | 16M | ×3.3 | 18k | 1.3k | Nov 2026 | 1 |
| Genkit | 1.1M | +49% | 6.6k | 1.4k | Nov 2026 | 0 |
| LlamaIndex.TS | 735k | ×4.1 | 3.1k | 13 | Dec 2025 | 0 |