LocalPilot
The AI coding agent that runs on your machine.
Reads your project, edits files, runs tests, shows you every diff — in VS Code, on models you serve with Ollama, LM Studio, llama.cpp, vLLM or Docker Model Runner, or on OpenAI, Claude, Gemini, OpenRouter, Groq and more with your own key. No subscription. No account. Local by default: your code leaves your laptop only for a cloud provider you add.
Getting started ·
Website ·
Compare with Copilot & Cursor ·
Source

A real session: gpt-oss:20b in Ollama fixed a failing test in 37 s, ran the suite and asked for review.
$0 per month Cloud assistants cost $8–200 per developer. LocalPilot runs on hardware you already own. |
Private by construction Every provider address is localhost unless you add one. Cloud keys live in your OS keychain. No telemetry leaves the disk. |
Works offline Unplug the network: it keeps editing, running tests and reviewing diffs. |
How it works
1 · Install, and it finds your model server
Open the LocalPilot icon in the Activity Bar (Ctrl/⌘ ⇧ L). A one-minute setup checks the usual local ports and lists every server it finds. Nothing running? Set up automatically installs Ollama and pulls a coder model sized for your machine.

2 · Pick a model and how careful the agent should be
Choose a default model (the recommended one calls tools and reads images), then a preset. Careful asks before every edit and command. Balanced (default) asks only for risky actions. Autonomous runs through. Both are one click to change later.

3 · Describe the change, pick a mode
Type what you want — "The discount test fails. Fix it." Agent edits and runs. Plan investigates and writes a plan you approve first. Ask answers read-only. Debug reproduces, fixes, verifies. Multitask splits the work across background agents. Auto picks the best tool-capable model it found.
 |
 |
| Five modes |
Every local model, with context size, tools and vision badges |
4 · Watch it work. Approve what matters.
Every read, search, edit and command shows up as it happens. Before anything risky the agent stops: Allow once, Allow for session or Deny. Type while it runs to steer it, or Pause and Stop at any time.
 |
 |
| Approval gate |
Pause, steer, resume |
5 · Review the diff. Apply or discard.
Every edit is snapshotted. Open a side-by-side diff per file, accept or reject per file or per session, and Restore checkpoint on any message to rewind files and conversation together (isolated worktree chats use Discard instead, or Edit to rewind only the conversation). Tests run in a real terminal you can read.

6 · Run several agents at once
Each tab is an independent agent in its own git worktree, so nothing collides. Run Tasks in Parallel (Ctrl/⌘ ⇧ ⌥ P) starts one agent per task — or runs one task on several models and lets you keep the best. The Agents panel shows live status and every file each one touched.

 |
 |
| Split the work |
Try several models, keep the best |
7 · Same agent in the terminal
localpilot "fix the failing tests" from any shell, with --plan and --ask; localpilot --parallel "a | b" opens the tasks as parallel agents in VS Code.

8 · See exactly where your code goes
Settings → Providers lists every server LocalPilot talks to, with live status. Every address is localhost unless you added one yourself.

Everything included
| Feature |
What you get |
| Agent · Plan · Ask · Debug · Multitask |
Autonomous edit-and-run loop with approval gates, a live task checklist, diagnostics checks and retries. |
| Questions before it starts |
For a new feature, the agent reads the code and asks up to four explained questions in one card, with a recommended answer. Then it plans and builds. |
| Auto mode & task queue |
A small local reviewer approves safe actions so long runs don't stop to ask. Risky ones always ask. Queue tasks to run one after another or side by side. |
| Improve prompt ⌘I |
Turns a terse draft into a precise request naming the real file or function, and fixes mistyped file and symbol names. |
| Parallel agents |
Independent tabs, one worktree each, Best-of-N across models, live Agents panel, per-agent pause and stop. |
| Change review & checkpoints |
Side-by-side diffs, accept or reject per file or session, restore any checkpoint. |
| Zero-config providers |
Auto-detects Ollama, LM Studio, llama.cpp, vLLM, Docker Model Runner, Jan, SGLang, KoboldCpp, the OmniRoute and LiteLLM gateways, and model servers in Docker. |
| Cloud providers, your own key |
One-click presets for OpenAI, Anthropic (Claude), Gemini, OpenRouter, Groq, Mistral, DeepSeek, xAI, Together, Fireworks, Cerebras, Hugging Face, NVIDIA NIM, Azure OpenAI and Ollama Cloud. Keys go to your OS keychain. Automatic picks keep preferring local models. |
| Memory |
Durable project and personal notes the agent saves and recalls across sessions. |
| Skills & subagents |
14 built-in SKILL.md playbooks and 9 subagents (explore, coder, reviewer, tester, debugger…). Install any skill from GitHub in one step; matching skills from anthropics/skills, obra/superpowers and github/awesome-copilot install themselves when needed. |
| Screenshots & images |
Capture a selection, window or screen, paste or drop an image, and let a vision model fix what it sees. |
| Inline edit ⌘⌥K |
Describe a change and the selection is rewritten in place. In a terminal, English becomes a reviewed command. |
| Context on demand |
@workspace, @selection, @problems, @git, @file#L10-L20; smart compaction keeps long tasks inside 8k–32k windows. |
| Web search & MCP |
DuckDuckGo / SearXNG / Brave / Tavily, readable page fetch, and any MCP server's tools. |
| Inline completions |
Ghost text from FIM models such as qwen2.5-coder or codestral. |
| Markdown reader & movable chat |
A distraction-free reader for specs and plans; chat in the Primary or Secondary Side Bar, the Panel or an editor tab. |
| PDF viewer |
Offline PDF viewer with find, outline and thumbnails; ask about a page or attach it as an image for a vision model. |
| Fits your setup |
Reads AGENTS.md, CLAUDE.md, .cursorrules, .github/copilot-instructions.md, .claude/skills and .claude/agents as they are. |
| Also in VS Code |
@localpilot in the built-in Chat view, local models in Copilot's model picker, light-bulb fixes, right-click Explain / Fix / Refactor / Tests / Docs, commit-message generator. |
Works with
| Server |
Endpoint |
| Ollama |
http://localhost:11434 |
| LM Studio |
http://localhost:1234/v1 |
llama.cpp llama-server |
http://localhost:8080/v1 |
| vLLM / SGLang |
http://localhost:8000/v1 |
| Docker Model Runner |
http://localhost:12434/engines/v1 |
| Ollama / vLLM / llama.cpp in Docker |
discovered from the container's published port |
| Any OpenAI-compatible API |
add it under Settings → Providers |
Models without native tool calling still work in agent mode: LocalPilot falls back to a text protocol and reads the tool calls out of the reply.
Recommended models
| Use |
Models |
| Agent work |
gemma4:e2b / :e4b / :12b (recommended), nemotron-3.5-bolt:e4b, devstral, gpt-oss, mistral-small |
| Inline completions |
starcoder2:3b, codestral, qwen2.5-coder:1.5b-base |
| Screenshots & images |
gemma4, nemotron-3.5-bolt, qwen2.5vl, llava |
A 7B coding model needs about 8 GB of RAM; 14B–32B models 16–32 GB.
Quick start
ollama pull gemma4:e4b && ollama serve # or LM Studio, llama.cpp, vLLM, Docker Model Runner
code --install-extension localpilot.localpilot-agent
Then press Ctrl/⌘ ⇧ L, follow the three setup steps and ask for a change.
Documentation ·
Website ·
Issues ·
Changelog
Free and open source under the MIT license. Built and maintained by Sathishkumar Nagarajan.
| |