LocalAI

An open-source AI engine for running LLMs, vision, voice, image, and video models on local hardware.

LocalAI is an open-source AI engine that allows users to run large language models, vision, voice, image, and video models on local hardware. It functions as a server that provides a unified API for various generative AI modalities, supporting deployments via Docker, Podman, or as a native macOS application. The software is designed to operate on a wide variety of hardware configurations, including CPU-only setups, meaning a dedicated GPU is not required for basic operation.

The software employs a modular architecture where backends are separate and pulled on demand via OCI images. This design ensures that only the necessary engines, such as llama.cpp, vLLM, or whisper.cpp, are installed based on the specific model requirements. Users can load models from various sources, including the LocalAI model gallery, Hugging Face, and the Ollama OCI registry, ensuring a flexible workflow for model deployment.

Key features

  • API compatibility with OpenAI, Anthropic, and ElevenLabs
  • Support for NVIDIA, AMD, Intel, Apple Silicon, Vulkan, and CPU-only hardware
  • Autonomous AI agents with tool use, RAG, and Model Context Protocol support
  • Multi-user management with API key authentication and user quotas
  • Distributed mode for horizontal scaling using PostgreSQL and NATS
  • On-demand backend loading to minimize installation footprint
  • Support for text, image, audio, and video generation modalities
  • Built-in biometric backends for voice and face recognition

The system is built for privacy and infrastructure independence, ensuring data remains on the local host. It integrates various specialized engines for tasks such as speaker recognition, face detection, and open-vocabulary object detection. The architecture supports distributed inference and VRAM-aware routing for managing clusters of hardware, while the inclusion of a visual pipeline editor and in-UI fine-tuning tools allows for more advanced model customization.

LocalAI serves as a self-hosted gateway for deploying a wide range of generative AI models across diverse hardware environments, providing a centralized control tower for local AI orchestration.

Last Modified
Software TypeWeb App / Server
Platform
Last Activity15 days ago
Repository Age3 years
LicenseMIT
Open Source Alternative to
Open Source Software.io

Join our newsletter to get shiny new open source software delivered to your inbox. Unsubscribe anytime.