by mudler
LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required.
# Add to your Claude Code skills
git clone https://github.com/mudler/LocalAILocalAI is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by mudler. LocalAI is the open-source AI engine. Run any model - LLMs, vision, voice, image, video - on any hardware. No GPU required. It has 50,644 GitHub stars.
LocalAI's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/mudler/LocalAI" and add it to your Claude Code skills directory (see the Installation section above).
LocalAI is primarily written in Go. It is open-source under mudler on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh LocalAI against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
LocalAI runs open models for chat, images, speech and video on your own machines. The API speaks the OpenAI and Anthropic formats. Your team gets chats, files and documents on top, and the assistant can write and run code. It runs on a laptop, a server, in a container or on Kubernetes, and a distributed mode spreads models over several machines. No GPU needed, though a GPU makes it faster.

Created by Ettore Di Giacinto and maintained by the LocalAI team.
The buttons download the desktop app from the latest release. For other ways to install, see Install LocalAI.
Script (Linux, and macOS on Apple Silicon): it downloads the release binary for your machine and checks it against the release checksums.
curl -sSL https://localai.io/install.sh | sh
local-ai
# open http://localhost:8080 and install a model from there
The script installs the program and does not start it; local-ai starts the server. To run a model directly, name it, for example local-ai run gemma-4-e2b-it-qat-q4_0, a small Google Gemma 4 model for CPUs (4.3 GB to download: 3.35 GB for the model and 0.99 GB for the image projector).
Container (Docker Compose): the compose file keeps models, backends, settings and data in named volumes.
curl -fsSL https://localai.io/install/docker-compose.yaml -o docker-compose.yaml
docker compose up -d
Desktop app: it installs, updates, starts and stops the server for you and shows the web interface in its own window, on macOS and Linux (Windows is experimental). Use the download buttons above. See the desktop app guide.
The install script and the latest image give 5.0.0.
Then open http://localhost:8080. To upgrade the container, run docker compose pull && docker compose up -d. More ways to install, and docker run and Podman commands: Containers.
In docker-compose.yaml, change image to one of these tags and remove the # from the block for your GPU. With docker run, use these flags, and add the -v options from Containers to keep your data:
# NVIDIA, CUDA 13
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-13
# NVIDIA, CUDA 12
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12
# NVIDIA Jetson ARM64 (CUDA 12, for AGX Orin and similar)
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-nvidia-l4t-arm64
# NVIDIA Jetson ARM64 (CUDA 13, for DGX Spark)
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-nvidia-l4t-arm64-cuda-13
# AMD (ROCm)
docker run -ti --name local-ai -p 8080:8080 --device=/dev/kfd --device=/dev/dri localai/localai:latest-gpu-hipblas
# Intel (oneAPI)
docker run -ti --name local-ai -p 8080:8080 --device=/dev/dri/card1 --device=/dev/dri/renderD128 localai/localai:latest-gpu-intel
# Vulkan
docker run -ti --name local-ai -p 8080:8080 --device=/dev/dri localai/localai:latest-gpu-vulkan
LocalAI detects your GPU and downloads the matching backend. See GPU Acceleration.
Load a model:
# From the model gallery (list it with `local-ai models list` or on the Models page of the web UI)
local-ai run gemma-4-e2b-it-qat-q4_0
# From Hugging Face
local-ai run huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf
# From the Ollama OCI registry
local-ai run ollama://gemma:2b
# From a standard OCI registry (for example Docker Hub)
local-ai run oci://localai/phi-2:latest
To talk to a running server from the terminal, start the built-in agent in another shell. It asks you to approve anything that changes state. See the Terminal agent docs.
local-ai chat --model gemma-4-e2b-it-qat-q4_0
More in the Quickstart.
| Area | What it gives you |
|---|---|
| Chats | Conversations the server keeps, with saved agents that use tools, MCP, skills and files, triggers, and chat apps |
| Add-ons | Office, Sandbox, Tables, chat apps, mail, calendar and more install from a library and run beside the server |
| Text generation | llama.cpp, transformers, vllm ... and more, with an OpenAI-compatible tools API and constrained grammars |
| Music and sound | Make music and sound effects from a text prompt with /v1/sound-generation. See text to audio |
| Speech | Text to audio, audio to text, voice activity detection (Silero-VAD) and the Realtime API for speech-to-speech |
| Images, video and vision | Image generation, video generation, the Vision API and object detection |
| Search | Embeddings and a reranker |
| Operations | API key auth, user quotas and roles, distributed mode (PostgreSQL + NATS) and P2P |
| Models and backends | [Models from Hugging Face](https://localai.io/ |