Best AI / LLM SDKs 2026

Vendor SDKs and framework layers (for example ai, LangChain) solve different jobs — prefer like-with-like comparisons.

#PackageHealth scoreWeekly downloadsStarsLast release
1@anthropic-ai/sdkHealthiest96/10068,101,2432,16911/10/2026
2openai96/10057,709,55311,25811/10/2026
3ai92/10044,800,76027,82711/11/2026
4@google/genai96/10030,303,3111,70611/11/2026
5@ai-sdk/openai92/10022,668,78827,82711/11/2026
6@langchain/core92/1008,484,12318,33311/11/2026
7@mistralai/mistralai94/1006,835,09716211/1/2026
8@langchain/langgraph96/1004,872,0663,41111/10/2026
9@google/generative-ai41/1004,833,3621,2314/29/2025
10langchain92/1003,985,79518,33311/11/2026
11cohere-ai90/100674,26217111/4/2026
12@xenova/transformers37/100610,50116,4075/29/2024
13llamaindex53/100182,7513,08112/2/2025

Compare the top AI / LLM SDKs