>_
← Back to projects Developer Tool

LocalPilot IDE

A fully local, browser-based AI coding IDE with Copilot-style completions, powered entirely by a local Ollama model.

Python FastAPI Monaco Editor Ollama Docker
LOCALPILOT — DEMO
LocalPilot IDE demo video thumbnail

An AI IDE that never phones home

LocalPilot is a browser-based AI coding IDE built on Monaco Editor — the same editor VS Code uses — with GitHub Copilot-style ghost-text completions and an AI agent that can generate, edit, and debug code through chat.

Every request is routed to a local Ollama model instead of a hosted API, so the whole thing — completions, chat, and file operations — runs on one machine with no data leaving it. It's still an experimental project, but a 7B coding model over FastAPI turned out to be enough for real inline suggestions and multi-file scaffolding.

What it does

Three-Panel IDE
  • File explorer, Monaco code editor, and AI chat side by side
  • Same editor engine that powers VS Code
AI-Assisted Coding
  • GitHub Copilot-style ghost-text completions as you type
  • AI agent generates, edits, debugs, and explains code via chat
  • Ask the AI to scaffold an entire multi-file project from scratch
File Operations
  • Create, rename, and delete files and folders in the browser
  • ZIP upload to import an existing project, ZIP export to download results
Fully Local
  • Every request routes to a local Ollama model — no data leaves the machine
  • No accounts, API keys, or cloud calls required

How a completion happens

1

You type in the Monaco editor, or open the AI chat panel with a request.

2

The FastAPI backend builds a context window from the open file(s) and sends it to Ollama.

3

Ollama (Qwen2.5-Coder 7B) streams back an inline completion or a chat response.

4

Ghost text renders directly in the editor, or the AI agent applies file edits and creates new files through the same backend that powers the file explorer.


Status: experimental. It works end-to-end on a 7B model over a local GPU; larger models (e.g. 70B) haven't been tested yet. Runs GPU-accelerated via docker-compose.yml, or CPU-only via the docker-compose.cpu.yml override.

Tech Stack

Backend
Python FastAPI Uvicorn
AI
Ollama Qwen2.5-Coder 7B
Frontend
Monaco Editor Vanilla JavaScript
Infra
Docker Docker Compose

Check out the code

Full source, setup instructions, and architecture notes are on GitHub.