LLM Client Libraries and SDKs

Libraries for adding LLM features to an app: clients like the Vercel AI SDK, structured output with DSPy or Outlines, and UI kits like Gradio.

71 tools
A CLI and Python library for local LLMs and remote APIs, with SQLite prompt history, embeddings, and support for OpenAI-compatible endpoints.

12.6KUpdated 1 week agoApache-2.0

#LM Studio integration#Multimodal input#OpenAI-compatible API

An open-source tensor format and library for storing model weights safely, with Rust and Python support, partial loading, and an Apache 2.0 license.

3.9KUpdated 1 week agoApache-2.0

Favicon of LangChain

LangChain

5 videos
An MIT-licensed Python framework for AI agents and LLM apps, with model, tool and data integrations. LangChain.js serves JavaScript and TypeScript.

147.3KUpdated 1 day agoMIT

#Human approval#RAG#Streaming inference

An open-source Java AI framework connects Spring applications to Ollama or cloud models, with document retrieval, tool calling and MCP support.

9.5KUpdated 21 hours agoApache-2.0

#MCP#Ollama integration#RAG

JavaScript client for Ollama in Node.js and browsers. Connect to local models or Ollama's cloud with an open-source, MIT-licensed library.

4.4KUpdated 2 days agoMIT

Web#LoRA#Multimodal input#Ollama integration

Python library for running GGUF models locally through llama.cpp, with a self-hosted OpenAI-compatible server and CPU or GPU support.

10.6KUpdated 1 week agoMIT

macOS · Windows · Linux#GGUF#Hugging Face integration#llama.cpp backend

An open-source JavaScript library that runs AI models in your browser using ONNX Runtime, with CPU execution and optional WebGPU acceleration.

16.3KUpdated 1 week agoApache-2.0

Web#Hugging Face integration#Image-to-image#Multilingual

Open-source Python framework for checking LLM inputs and outputs, generating structured data, and running guards in your app or a self-hosted service.

7.5KUpdated 1 month agoApache-2.0

#Guardrails#Structured output

An open-source AI agent SDK for C#, Python and Java. Build workflows with local models through Ollama, LMStudio or ONNX, or connect to cloud providers.

28.6KUpdated 1 day agoMIT

macOS · Windows · Linux#LM Studio integration#MCP#Multi-agent workflows

Open-source browser agent SDK for local Chrome or Browserbase cloud browsers, with natural-language actions and structured extraction. MIT licensed.

25.5KUpdated 2 days agoMIT

#LLM tracing#Structured output

A Python library that constrains LLM output with grammars and JSON schemas, supporting local Transformers and llama.cpp backends plus OpenAI.

21.8KUpdated 4 months agoMIT

#llama.cpp backend#Structured output#Tool calling

Open-source AI framework for semantic search, RAG and agents. Runs locally or in Docker, with Hugging Face, llama.cpp and cloud models via LiteLLM.

13KUpdated 22 hours agoApache-2.0

Docker#Agent Skills#Hugging Face integration#Knowledge graphs

Favicon of DSPy

DSPy

2 videos
Open-source Python framework for building modular LLM systems, with typed outputs, tool-using agents, and automatic prompt optimization. MIT licensed.

38.4KUpdated 4 days agoMIT

#Code execution#MCP#Multimodal input

Favicon of FastMCP

FastMCP

2 videos
An open-source Python MCP framework for building servers, connecting to local or remote tools, and adding interactive interfaces to conversations. Apache 2.0.

27.9KUpdated 1 day agoApache-2.0

#MCP#Structured output#Tool calling

A Python library for asking questions about SQL, CSV and parquet data, with chart generation and a separate hosted business intelligence app.

23.8KUpdated 11 months ago

Docker#Code execution#RAG

LLM training framework with ready-made research scripts, NVIDIA GPU parallelism, and Hugging Face checkpoint conversion through Megatron Bridge.

18KUpdated 1 day ago

Docker#Distributed execution#Hugging Face integration#Quantization

Favicon of LlamaIndex

LlamaIndex

2 videos
An MIT-licensed Python framework for document-based AI apps. It works with Ollama, while its separate document services run locally or in the cloud.

52.4KUpdated 2 days agoMIT

#Ollama integration#RAG#Reranking

Favicon of Ragas

Ragas

2 videos
An open-source Python library for evaluating LLM apps and RAG systems, with custom metrics, test data generation, and LangChain and LlamaIndex integrations.

15.9KUpdated 7 months agoApache-2.0

An open-source Python framework for AI chat apps you can self-host, with customizable interfaces, OAuth and integrations including LangGraph and HuggingFace.

12.5KUpdated 1 month agoApache-2.0

Web#LLM tracing#Multi-user access#Streaming inference

Open-source Java library for LLM apps on the JVM, with Ollama support, tool calling, RAG, and integrations for Spring Boot and Quarkus.

13.2KUpdated 1 day agoApache-2.0

#MCP#Ollama integration#RAG

An open-source Ruby AI framework for Ruby and Rails apps, with Ollama, hosted providers and OpenAI-compatible endpoints under an MIT license.

4.4KUpdated 1 day agoMIT

#Human approval#Multi-agent workflows#Multimodal input

.NET library for local LLM apps using Ollama, with streaming chat, embeddings and model management. Open source under MIT; also supports Ollama cloud.

1.4KUpdated 2 months agoMIT

#Multimodal input#Ollama integration#Streaming inference

An MIT-licensed LLM data extraction library that validates structured outputs with Pydantic and works with Ollama, llama-cpp-python, vLLM and cloud APIs.

14KUpdated 3 weeks agoMIT

#llama.cpp backend#Ollama integration#Streaming inference

Favicon of Outlines

Outlines

2 videos
An open-source Python library that constrains LLM outputs to schemas and grammars, with support for local backends including Ollama and llama.cpp.

15.9KUpdated 1 month agoApache-2.0

#llama.cpp backend#MLX#Ollama integration

Local LLM library runs GGUF models through llama.cpp in Node.js, Bun and Electron. MIT licensed, with GPU support and JSON schema enforcement.

2.2KUpdated 3 days agoMIT

macOS · Windows · Linux#Batch processing#GGUF#Guardrails

An open-source programming language for AI agents that runs on macOS, Linux and Windows, with typed model calls, local tracing and built-in evaluations.

9.4KUpdated 1 day agoApache-2.0

macOS · Windows · Linux · iOS · Android · Web#Batch processing#LLM tracing#Structured output

Open-source Python AI agent framework under MIT. Coordinate agents and tools, use local or hosted sandboxes, and connect to OpenAI or other model providers.

29.8KUpdated 24 hours agoMIT

macOS · Windows · Linux#Code execution#Guardrails#Human approval

Open-source Python library for compressing local or Hugging Face LLM checkpoints, with Apache 2.0 licensing and vLLM-compatible output.

3.8KUpdated 23 hours agoApache-2.0

#Hugging Face integration#Quantization

Favicon of WebLLM

WebLLM

2 videos
A local LLM engine that runs models in the browser with WebGPU acceleration, OpenAI API compatibility, and an Apache 2.0 license.

19.2KUpdated 2 weeks agoApache-2.0

Web · Browser Extension#OpenAI-compatible API#Streaming inference#Structured output

An open-source Python AI framework for self-hosted agents and document search, with local model support and an Apache 2.0 license.

26.6KUpdated 1 day agoApache-2.0

Docker#Guardrails#Hugging Face integration#Hybrid search

A self-hosted LLM guardrails toolkit for Python apps. Control conversations, check model responses, and connect to LLaMa-2, Falcon or OpenAI models.

7.2KUpdated 23 hours ago

Docker#Guardrails#LLM tracing#Tool calling

Python client for Ollama with local and cloud model access, streaming chat, embeddings, and async support. Open source under the MIT license.

10.6KUpdated 2 days agoMIT

#Batch processing#Ollama integration#Streaming inference

A local LLM merging toolkit that combines model weights without extra training. Runs on CPU or GPU and supports Llama, Mistral and PyTorch checkpoints.

7.4KUpdated 3 weeks agoLGPL-3.0

#Hugging Face integration#LoRA

A free TypeScript library for AI apps and agents, with streaming, provider switching, and chat UI hooks for React, Next.js, Svelte, and Vue.

27.1KUpdated 2 hours ago

#Agent Skills#Streaming inference#Structured output

Favicon of Gradio

Gradio

1 video
An open source Python library for AI web apps that run on your computer, with options to share a public link or host on Hugging Face Spaces.

43.6KUpdated 1 day agoApache-2.0

Web#MCP

More in Agent Frameworks, MCP and SDKs