LocalAI

Active
GitHub Go MIT

Description

Open-source AI engine to run any model — LLMs, vision, voice, image, video — on any hardware without GPU. Provides OpenAI-compatible API for fully local, privacy-first AI inference.

Key Features

  • Composable backend architecture — Each backend (llama.cpp, vLLM, whisper.cpp, etc.) is a separate image pulled on demand
  • OpenAI/Anthropic/ElevenLabs-compatible API — Unified API interface across all backends for seamless cloud replacement
  • Any modality support — LLMs, vision, voice, image, and video models behind a single unified API
  • Any hardware support — Runs on NVIDIA, AMD, Intel, Apple Silicon, Vulkan, or CPU-only configurations
  • Built-in AI agents — Autonomous agents with tool use, RAG, MCP, and skills support
  • Multi-user ready — API key authentication, per-user quotas, and role-based access control

Use Cases

💡 Private AI infrastructure: Build fully localized AI inference platforms for enterprises with data staying on-premise
💡 Multimodal AI application development: Access LLMs, speech recognition, image generation through a unified API
💡 Multi-tenant AI platforms: Build user-facing AI services with API key and quota management
💡 Edge device deployment: Run AI models on GPU-less edge devices for industrial IoT and embedded scenarios

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (48.8k stars)
  • Permissive open-source license (MIT)
  • Established track record (3 years in production)

Categories

Quick Start

# One-click Docker start (CPU only)
docker run -ti --name local-ai -p 8080:8080 localai/localai:latest

# NVIDIA GPU start
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12

# Load model and run
local-ai run llama-3.2-1b-instruct:q4_k_m

# Load from HuggingFace
local-ai run huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf

Related Projects

OpenRAG

4.5k · Python
Active A

A comprehensive single-package Retrieval-Augmented Generation platform built on Langflow, Docling, and OpenSearch, providing a complete pipeline from document parsing to vector retrieval and generation with multi-model and multi-vector-database support.

ragllmframework +2
  • · All-in-one RAG platform: document ingestion, vector search, and LLM-powered generation in a single package
  • · Powered by OpenSearch for enterprise-grade scalable vector retrieval
  • · Drag-and-drop visual workflow builder powered by Langflow for rapid RAG pipeline iteration

WeKnora

21.2k · Go
Active A

Tencent's open-source LLM-powered framework for deep document understanding, semantic retrieval, and context-aware answers using RAG.

goragllm +3
  • · RAG-based Quick Q&A for everyday document lookups with semantic retrieval
  • · ReAct Agent autonomously orchestrating retrieval, MCP tools, and web search for complex multi-step tasks
  • · Wiki Mode where agents distill raw documents into self-maintaining, interlinked markdown knowledge bases with interactive knowledge graphs

Quivr

39.5k · Python
Active A+

Opinionated RAG framework for integrating GenAI into your apps. Works with any LLM, any vectorstore, any files — so you can focus on your product instead of building RAG pipelines.

ragpythonvector-database +3
  • · Opinionated RAG framework — Ready-to-use RAG pipeline, no need to build from scratch
  • · Any file support — PDF, TXT, Markdown and more with custom parser support
  • · Multi-LLM compatible — OpenAI, Anthropic, Mistral, Gemma and Ollama local models

OpenLLM

12.5k · Python
Active A+

Run any open-source LLMs such as DeepSeek and Llama as OpenAI-compatible API endpoints in the cloud. Supports fine-tuning, quantization, and distributed inference for production-grade LLM deployment.

llmpythonapi +3
  • · Any Open-Source LLM Support: Run DeepSeek, Llama, Qwen and any open-source models
  • · OpenAI-Compatible APIs: Provides endpoints compatible with OpenAI API for seamless integration
  • · Built-in Chat UI: Ready-to-use chat interface

Related Articles