-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
A free, open-source, self-hosted AI code editor. It connects to your local LLM (Ollama, LM Studio, llama.cpp, or vLLM) to provide AI-powered coding assistance without sending data to the cloud.
Yes. It's MIT licensed and completely free to use.
No. Everything runs locally. Your code and conversations never leave your machine.
Any OpenAI-compatible API:
- Ollama (recommended)
- LM Studio
- llama.cpp server
- vLLM
- Any other OpenAI-compatible endpoint
Option 1: Docker (easiest)
docker compose upOption 2: From source
git clone https://github.com/wildfirebill-ai/localai-code-editor.git
cd localai-code-editor
pnpm install
pnpm dev:desktopOption 3: Download Download the latest release for your platform from GitHub Releases.
- Install Ollama:
curl -fsSL https://ollama.com/install.sh | sh - Pull a model:
ollama pull codellama:7b - Start the server:
ollama serve - In the editor, go to Settings → LLM Providers
- Click "+ Add provider" → Select "Ollama" preset
- Go to Settings → MCP Servers → Discover
- Browse or search for a server
- Click "Install"
- Configure any required environment variables
- The server's tools appear in Connected Tools
Skills are markdown instructions that teach the agent how to perform specific tasks. They're loaded on demand when the agent needs them.
- Create a directory:
.localai/skills/my-skill/ - Add
SKILL.mdwith frontmatter and instructions - The skill appears automatically in the Skills panel
Create .localai/system.md in your workspace root with your instructions. The agent loads this on every run.
Yes. You can configure multiple providers and switch between them in the Agent panel.
- Ensure Node.js 22+ is installed:
node --version - Ensure pnpm 10+ is installed:
pnpm --version - Try a clean install:
rm -rf node_modules && pnpm install
- Check your LLM provider is running
- Test the connection in Settings → LLM Providers
- Check the server logs for errors
- Verify the command and arguments
- Check environment variables
- Try running the command manually in terminal
- Ensure Docker BuildKit is enabled:
DOCKER_BUILDKIT=1 - Check you have enough disk space
- Try a clean build:
docker build --no-cache -t localai-code-editor .
See Contributing for guidelines.
Open an issue on GitHub Issues with steps to reproduce.
Start a discussion in GitHub Discussions → Ideas.