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.

100+ tools
A self-hosted AI memory engine stores persistent, time-aware context in SQLite and connects to agents through MCP, with optional local Ollama embeddings.

4.6KUpdated 5 days agoApache-2.0

macOS · Windows · Linux#Knowledge graphs#MCP#Ollama integration

A Python RAG research toolkit for local models and OpenAI generators, with reusable pipelines, benchmark datasets and an MIT license.

3.6KUpdated 3 weeks agoMIT

Web#Context compression#Knowledge graphs#Multimodal input

An Apache 2.0 Python framework checks LLM inputs and outputs and generates structured data inside your app or through a self-hosted REST service.

7.6KUpdated 3 months agoApache-2.0

#Guardrails#Structured output

A free, open-source Python framework extracts document data with local Ollama or LM Studio models and cloud LLMs, linking results to source passages.

2.1KUpdated 5 days agoApache-2.0

#LM Studio integration#Multimodal input#Ollama integration

A .NET library for building local LLM apps with Ollama, covering streaming chat, embeddings and model management on local or remote servers.

1.4KUpdated 3 days agoMIT

#Multimodal input#Ollama integration#Streaming inference

An open-source Python framework for synthetic data generation with vLLM or cloud APIs, correlated fields, and automated validation. Apache 2.0 licensed.

2.4KUpdated 3 days agoApache-2.0

#Agent Skills#Batch processing#Image-to-image

An open-source AI agent runtime library that controls model and tool calls inside your app, with Ollama, vLLM and cloud provider support.

3.9KUpdated 2 months agoMIT

#Guardrails#Human approval#LLM tracing

A Python AI agent framework that combines self-hosted model inference, cloud APIs, document retrieval and fine-tuning under Apache 2.0.

3.9KUpdated 1 day agoApache-2.0

Docker · Web#Distributed execution#LoRA#MCP

Favicon of PandasAI

PandasAI

2 videos
Python data analysis library executes code in your environment, with an optional Docker sandbox. Its OpenAI integration uses cloud models through LiteLLM.

23.9KUpdated 1 year ago

Docker#Code execution#RAG

A Rust AI agent library with optional local model support through Candle, a shared API for cloud providers, type-safe tools and structured output.

9.1KUpdated 22 hours agoMIT

Web#LLM tracing#MCP#Resumable workflows

An open-source AI agent runtime that runs inside your backend on Linux, with isolated execution and persistent files, plus self-hosted or managed hosting.

4.9KUpdated 2 days agoApache-2.0

Linux#Agent Client Protocol#Code execution#Human approval

Favicon of txtai

txtai

1 video
An open-source AI framework for semantic search, RAG and agents that runs locally or in Docker with Hugging Face and llama.cpp models.

13.4KUpdated 1 day agoApache-2.0

Docker#Agent Skills#Hugging Face integration#Knowledge graphs

Favicon of LlamaIndex

LlamaIndex

7 videos
An open-source Python framework for AI agents and document-based answers that connects your data to language models, including models served through Ollama.

52.9KUpdated 23 hours agoMIT

#Ollama integration#RAG#Reranking

A Python library that generates schema-constrained JSON with Hugging Face models. Open source under MIT, with support for nested objects and arrays.

4.9KUpdated 3 years agoMIT

#Hugging Face integration#Structured output

Favicon of LLMLingua

LLMLingua

1 video
An open-source Python library compresses LLM prompts and KV caches, with long-context methods and integrations for LangChain and LlamaIndex.

6.8KUpdated 1 week agoMIT

#Context compression#Guardrails#Quantization

A React Native library runs GGUF models locally on iOS and Android through llama.cpp, with GPU acceleration and compatible image and audio models.

1.1KUpdated 2 days agoMIT

iOS · Android#GGUF#llama.cpp backend#Multilingual

A Python library connects live audio and video to your code through WebRTC or WebSockets, with voice turn taking and Gradio or FastAPI integration.

4.6KUpdated 3 weeks agoMIT

Web#Streaming inference#Voice activity detection

Favicon of Haystack

Haystack

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

27KUpdated 1 day agoApache-2.0

Docker#Guardrails#Hugging Face integration#Hybrid search

An open-source AI agent framework runs locally, stores behavior and memory in Git, and connects to model providers including Anthropic and OpenAI.

752Updated 2 weeks agoMIT

Web#Agent Skills#Code execution#Git integration

An on-device AI SDK runs text, image and audio models on macOS, Windows and Linux, with GGUF and MLX support and an OpenAI-compatible API.

qualcomm/GenieXInference Libraries and Bindings

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

TypeScript AI agent SDK for local file and shell tools, with subagents, MCP support and a choice of model providers.

623Updated 4 months agoMIT

#Agent Skills#Code execution#Context compression

Favicon of Memori

Memori

1 video
An AI agent memory library with local SQLite or self-managed database storage, local embeddings, and cloud-based memory extraction.

17.6KUpdated 2 months ago

#LLM tracing#MCP#Persistent memory

CDAF

1 video
An open-source video description format lets AI agents reuse timestamped text, with local model generation and optional Gemini processing.

226Updated 3 months agoMIT

macOS · Windows · Linux#Agent Skills#Batch processing#Context compression

Favicon of Chonkie

Chonkie

2 videos
A RAG ingestion library for Python and JavaScript that processes documents locally and supports a self-hosted REST API under the MIT license.

4.8KUpdated 3 months agoMIT

Docker#Agent Skills#Multilingual

Favicon of Mem0

Mem0

12 videos
A self-hosted AI memory server and library under Apache 2.0 retain context across sessions. Default language and embedding requests go to OpenAI.

68.9KUpdated 1 week agoApache-2.0

Browser Extension#Context compression#Persistent memory#Semantic search

A Python library runs GGUF models locally through llama.cpp and provides a self-hosted OpenAI-compatible server with CPU and GPU support.

10.7KUpdated 6 days agoMIT

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

Python AI agent toolkit for self-hosted MCP and A2A servers, workflow profiling and evaluation. Apache 2.0 licensed; its NIM example uses hosted models.

2.7KUpdated 2 days agoApache-2.0

#Agent Skills#LLM tracing#MCP

A Java library connects JVM apps to local models through Ollama, with RAG, tool calling and cloud provider support. Open source under Apache 2.0.

13.4KUpdated 1 day agoApache-2.0

#MCP#Ollama integration#RAG

Favicon of Graphiti

Graphiti

4 videos
A self-hosted Python framework for AI agent memory that preserves changing facts and their sources, with local LLM support and an Apache 2.0 license.

32.8KUpdated 4 days agoApache-2.0

Docker#Hybrid search#Knowledge graphs#llama.cpp backend

PocketFlow

1 video
Python LLM workflow framework with a local Ollama connection example, custom model utilities and FastAPI chat examples. Its dependency-free core uses MIT.

11.3KUpdated 4 months agoMIT

#Batch processing#Multi-agent workflows#RAG

A Python library that estimates LLM hallucination risk using confidence scores, with LangChain support for Ollama and cloud models.

1.2KUpdated 6 days agoApache-2.0

#Guardrails#Ollama integration

An open-source LLM prompt format and toolkit with VS Code editing, execution traces and support for self-hosted OpenAI-compatible model servers.

1.3KUpdated 4 weeks agoMIT

VS Code#Context compression#LLM tracing#MCP

An AI web scraping Python library with local Ollama support and an MIT license, alongside a separate hosted API for structured data extraction.

32.8KUpdated 1 month agoMIT

#MCP#Ollama integration

Favicon of Curator

Curator

1 video
An open-source Python library that generates synthetic datasets and extracts structured data using local models through Ollama or vLLM, or cloud APIs.

1.8KUpdated 2 weeks agoApache-2.0

#Batch processing#Code execution#Multimodal input

Favicon of LogotyperLogotyper
Got an idea for an AI tool? I'm Eugene, the designer and developer behind Localhosted. I'll help you build it, from the first sketch to launch.
Start your project
Favicon of Logotyper
Favicon of LogotyperLogotyper
Got an idea for an AI tool? I'm Eugene, the designer and developer behind Localhosted. I'll help you build it, from the first sketch to launch.
Start your project
Favicon of Logotyper

More in Agent Frameworks, MCP and SDKs