LocalAI

2026-07-04 · source · source ↗ · raw capture · wiki page

The free, OpenAI and Anthropic alternative. A small, composable AI stack. Run powerful language models, autonomous agents, and document intelligence locally on your hardware. A lean core that pulls model backends on demand, so you install only what you use. No cloud, no limits, no compromise.

Open-source under MIT license. 40k+ GitHub stars. Created by Ettore Di Giacinto (mudler).

The Local Stack

LocalAI is actually three projects:

  1. LocalAI — Core LLM/API engine. Drop-in replacement REST API compatible with OpenAI, Anthropic, and ElevenLabs API specifications.
  2. LocalAGI — Autonomous AI agent management platform. Drop-in replacement for OpenAI's Responses API. Build and deploy autonomous agents with no coding required.
  3. LocalRecall — REST API for persistent memory, semantic search, and knowledge base management. Perfect for AI applications that need long-term memory.

Architecture

Key Features

Quick Start

Docker is recommended:

docker run -p 8080:8080 --name local-ai -ti localai/localai:latest

Install script:

curl https://localai.io/install.sh | sh

Loading models:

local-ai run llama-3.2-1b-instruct:q4_k_m
local-ai run huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf
local-ai run ollama://gemma:2b

Integrations

LangChain integration available via langchain_community. Marketplace of compatible apps including Claude Code, AnythingLLM, Dify, n8n, Open WebUI, OpenHands, and more.

Features Page (localai.io/features/, fetched via surf 2025-04-03)

The features page provides a detailed catalog of LocalAI's capabilities:

Core Features

Advanced Features

Specialized Features

Source Content (from localai.io homepage, fetched via surf)

The site is built with Hugo + Relearn theme. Last modified June 2, 2026.

Homepage emphasizes: composable design (small core, add what you need), drop-in API compatibility (OpenAI/Anthropic/ElevenLabs), no vendor lock-in, local-first privacy.

Navigation structure reveals the full scope: Overview, Installation, Getting Started, News, Features, Integrations, Advanced, References, FAQ.

GitHub: https://github.com/mudler/LocalAI Discord: https://discord.gg/uJAeKSAGDy Twitter: https://twitter.com/LocalAI_API Model catalog: https://models.localai.io