Skip to main content

LocalAI documentation

Run 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.

Start in three steps

1

Install

The script works on Linux and on Macs with Apple Silicon. You can also use a container or Kubernetes. The desktop app for macOS and Linux is in the 5.0 release. See the install guide.

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

2

Run a first model

Start the server with local-ai and open the web interface. It suggests a model that fits your hardware and downloads it when you agree. The quickstart has the steps.

3

Build an agent

In the web interface, go to Agents, choose New agent and give it instructions. See Build your first agent.

What you can do

Built in is part of LocalAI. Add-on comes from the add-on library, and an administrator installs it. Admin on is built in, but on a server with accounts an administrator must switch it on. With authentication off, you are the administrator. Next release is in the development builds only.

Go further