Category ranking

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/sdkEditor's pick76/1008,485,6452,1169/10/2026
2openai76/1008,172,75911,1749/10/2026
3@google/genai76/1005,695,9741,6779/10/2026
4ai72/1004,338,37426,7259/12/2026
5@google/generative-ai41/1002,992,4311,2384/29/2025
6@mistralai/mistralai74/1002,442,4171579/9/2026
7@ai-sdk/openai72/1002,354,14626,7259/11/2026
8@langchain/core72/100917,26218,1829/12/2026
9@langchain/langgraph76/100538,1033,2789/12/2026
10langchain72/100436,66618,1829/9/2026
11@xenova/transformers37/100109,39916,2935/29/2024
12llamaindex53/10084,9003,07712/2/2025
13cohere-ai64/10077,6531718/26/2026