AI & LLM SDKs Packages
SDKs and clients for large-language-model providers and inference, covering chat completions, embeddings, and streaming (OpenAI, Anthropic, Vercel AI).
Packages in AI & LLM SDKs
Kind
Sort:Used by Most Apps
MCP TypeScript SDK
The official TypeScript SDK for building Model Context Protocol servers and clients.
AI SDK
Provider-agnostic TypeScript toolkit for building AI apps and agents with any LLM.
OpenAI
The official Node.js/TypeScript client for the OpenAI API, auto-generated from OpenAI's own OpenAPI spec.
Anthropic TypeScript SDK
The official TypeScript and JavaScript SDK for building on Anthropic's Claude API.
OpenAI Python SDK
The official Python library for the OpenAI REST API, generated from OpenAI's OpenAPI spec with typed sync and async clients.
python-sdk
The official Python SDK for building Model Context Protocol servers and clients that expose tools, resources, and prompts to any LLM host.
Anthropic Python SDK
The official Python SDK for the Anthropic Claude API, with typed clients, streaming, and tool use.
LiteLLM
Call 100+ LLM APIs from OpenAI to Anthropic to Bedrock through one unified, OpenAI-format Python interface.
tiktoken
OpenAI's fast, Rust-backed BPE tokenizer for counting and encoding text into the exact tokens GPT models see.
LangChain.js
The TypeScript framework for building LLM-powered apps and AI agents from interoperable, swappable components.
huggingface_hub
The official Python client and hf CLI for the Hugging Face Hub, for downloading, uploading, and managing models, datasets, and Spaces.
Google Gen AI SDK
Google's official TypeScript/JavaScript SDK for building applications with the Gemini API and Vertex AI.
OpenRouter AI SDK Provider
The official OpenRouter provider for the Vercel AI SDK, unlocking 300+ LLMs through one unified TypeScript client.
LangChain DeepSeek
The official LangChain integration package for DeepSeek chat and reasoning models.
Google Gen AI Python SDK
The official Python SDK for calling Google's Gemini and generative AI models via the Gemini API and Vertex AI.
tiktoken
Fast BPE tokenizer for OpenAI models, providing WASM and pure-JS bindings for Node, browsers, and edge runtimes.
LangChain
The most widely adopted Python framework for building LLM-powered agents and applications
FastMCP
The fast, Pythonic framework for building Model Context Protocol servers, clients, and apps
MCP Go SDK
The official Go SDK for building Model Context Protocol servers and clients, maintained in collaboration with Google.
Google Generative AI JavaScript SDK
The original JavaScript/TypeScript SDK for Google's Gemini API, now in maintenance-only mode and superseded by the unified Google Gen AI SDK.
TokenLens
Typed model registry and token/cost utilities for context budgeting in AI apps
ollama-js
Official JavaScript/TypeScript client for chatting, streaming, and generating with local or cloud-hosted Ollama models.
OpenAI Go
The official Go library for the OpenAI API, covering Responses, Chat Completions, Realtime, Assistants, and more with generated, type-safe bindings.
ollama-python
The official Python client for chatting, generating, and managing models on a local or cloud-hosted Ollama server.