Libraries
SDKs and frameworks
56 libraries we recommend, by category. Any client that speaks the OpenAI API works with AILabStore — set the base URL to https://api.ailabstore.cc/v1.
SDKs
OpenAI Python SDK
PythonOfficial OpenAI client. Works with AILabStore by setting base_url to https://api.ailabstore.cc/v1 and using provider/model ids.
$pip install openaiOpenAI Node SDK
TypeScriptOfficial OpenAI TypeScript client. Set baseURL to https://api.ailabstore.cc/v1 to reach every provider through AILabStore.
$npm install openaiAnthropic Python SDK
PythonOfficial client for the Claude Messages API, with streaming and tool use helpers.
$pip install anthropicAnthropic TypeScript SDK
TypeScriptOfficial TypeScript client for Claude, with typed responses and streaming.
$npm install @anthropic-ai/sdkGoogle GenAI SDK
PythonGoogle's unified SDK for the Gemini API and Vertex AI.
$pip install google-genaiVercel AI SDK
TypeScriptToolkit for building AI-powered UIs in React, Next.js and more, with streaming and tool calling across providers.
$npm install ai @ai-sdk/openaiLiteLLM SDK
PythonCall 100+ LLM APIs with one OpenAI-style interface, including retries and fallbacks.
$pip install litellmOllama Python
PythonPython client for Ollama model servers, including managed Ollama instances.
$pip install ollamaOllama JavaScript
TypeScriptJavaScript and TypeScript client for Ollama model servers.
$npm install ollamatiktoken
PythonFast BPE tokenizer for counting tokens with OpenAI encodings.
$pip install tiktokenLangChain4j
JavaJava library for integrating LLMs, embeddings and vector stores into JVM applications.
$implementation 'dev.langchain4j:langchain4j-open-ai'openai-go
GoOfficial Go client for the OpenAI API; point it at AILabStore with option.WithBaseURL.
$go get github.com/openai/openai-goasync-openai
RustAsync Rust client for OpenAI-compatible APIs with configurable base URL.
$cargo add async-openai
LLM frameworks
LangChain
PythonFramework for composing LLM applications from models, prompts, tools and retrievers.
$pip install langchain langchain-openaiLangChain.js
TypeScriptTypeScript edition of LangChain for Node.js, edge runtimes and the browser.
$npm install langchain @langchain/openaiSemantic Kernel
MultiMicrosoft's SDK for integrating LLMs into C#, Python and Java applications.
$pip install semantic-kernelDSPy
PythonProgram, rather than prompt, language models with optimisable modules.
$pip install dspyMastra
TypeScriptTypeScript framework for agents, workflows, RAG and evals.
$npm create mastra@latest
Agents
LangGraph
PythonBuild stateful, controllable multi-step agents as graphs.
$pip install langgraphCrewAI
PythonOrchestrate role-playing autonomous agents that collaborate on tasks.
$pip install crewaiAutoGen
PythonMicrosoft's framework for multi-agent conversations and event-driven agents.
$pip install autogen-agentchat autogen-ext[openai]Pydantic AI
PythonType-safe agent framework from the Pydantic team.
$pip install pydantic-aismolagents
PythonHugging Face's minimal library for code-writing agents.
$pip install smolagentsOpenAI Agents SDK
PythonLightweight framework for multi-agent workflows with handoffs and guardrails.
$pip install openai-agents
RAG and retrieval
LlamaIndex
PythonData framework for connecting LLMs to your documents with indexing and query engines.
$pip install llama-indexHaystack
PythonComposable pipelines for search, RAG and agents by deepset.
$pip install haystack-aisentence-transformers
PythonCompute dense embeddings and rerank with thousands of pretrained models.
$pip install sentence-transformersQdrant client
PythonPython client for Qdrant vector search, with sync and async APIs.
$pip install qdrant-clientChroma client
PythonClient for the Chroma embedding database.
$pip install chromadbFAISS
PythonMeta's library for efficient similarity search over dense vectors.
$pip install faiss-cpu
Structured output
Instructor
PythonGet validated, typed structured outputs from LLMs using Pydantic models.
$pip install instructorOutlines
PythonConstrained generation with JSON schema, regex and grammars.
$pip install outlinesGuidance
PythonInterleave generation, control flow and constraints in one program.
$pip install guidanceZod
TypeScriptTypeScript schema validation, widely used to define tool and output schemas.
$npm install zod
Training and fine-tuning
Transformers
PythonHugging Face's library of pretrained models for text, vision and audio.
$pip install transformersDiffusers
PythonPretrained diffusion pipelines for image, video and audio generation.
$pip install diffusersPEFT
PythonParameter-efficient fine-tuning methods such as LoRA and QLoRA.
$pip install peftTRL
PythonTrain language models with SFT, DPO, GRPO and other post-training methods.
$pip install trlAccelerate
PythonRun the same PyTorch code on any distributed configuration.
$pip install accelerateDatasets
PythonLoad, process and share datasets from the Hugging Face Hub.
$pip install datasetsUnsloth
PythonFaster, memory-efficient LoRA fine-tuning for popular LLMs.
$pip install unslothAxolotl
PythonConfig-driven fine-tuning for a wide range of model architectures.
$pip install axolotl
Inference
llama.cpp
MultiEfficient LLM inference in C/C++ with GGUF quantisation on CPUs and GPUs.
$brew install llama.cppMLX
PythonApple's array framework for fast ML on Apple silicon.
$pip install mlx-lmONNX Runtime
MultiCross-platform accelerator for running ONNX models in production.
$pip install onnxruntimevLLM
PythonHigh-throughput serving engine with an OpenAI-compatible server.
$pip install vllmTransformers.js
TypeScriptRun Hugging Face models directly in the browser or Node.js.
$npm install @huggingface/transformers
Evaluation
Ragas
PythonMetrics and test-set generation for evaluating RAG pipelines.
$pip install ragasDeepEval
PythonUnit-test style evaluation framework for LLM outputs.
$pip install deepevalpromptfoo
TypeScriptCLI for testing prompts, comparing models and red-teaming LLM apps.
$npx promptfoo@latest initlm-evaluation-harness
PythonEleutherAI's framework for benchmarking language models on standard tasks.
$pip install lm-eval
Deep learning
PyTorch
PythonThe leading deep learning framework for research and production.
$pip install torchTensorFlow
PythonEnd-to-end platform for building and deploying ML models.
$pip install tensorflowJAX
PythonComposable transformations of NumPy programs: grad, jit, vmap.
$pip install jaxKeras
PythonHigh-level deep learning API running on JAX, TensorFlow or PyTorch.
$pip install kerasCandle
RustMinimalist ML framework for Rust from Hugging Face.
$cargo add candle-core