OmniPilot is an enterprise-grade, autonomous AI coding assistant that turns VS Code into a self-healing development environment. Unlike standard chatbots, OmniPilot can read your codebase, write files, execute terminal commands, and fix its own bugs in a continuous agentic loop.
✨ Core Features
- 🔄 Agentic ReAct Loop: OmniPilot thinks, acts, observes terminal output, and loops until the task is complete.
- 🛠️ Self-Healing Terminal: If the AI writes code and it crashes, it reads the
stderr, rewrites the code, and tries again automatically. - 🛡️ Human-in-the-Loop (Diff View): File modifications are intercepted and shown in VS Code's native Diff Editor. You must "Accept" or "Reject" changes before they touch your disk.
- ✂️ Smart Diff Editing (
<apply_diff>): The AI uses search-and-replace blocks to edit large files, saving massive amounts of tokens and bypassing API rate limits. - 🧠 Project Memory (
.omnipilotrules): Drop a.omnipilotrulesfile in your root directory to permanently enforce team coding standards and personas. - 🎯
@File Mentions: Type@in the chat to attach specific files directly into the AI's context window. - 🧠 Multi-Provider Support: Native support for Ollama (Local), Groq, OpenAI, OpenRouter, and Google Gemini. Add any OpenAI-compatible API via the settings menu.
- 🕒 Persistent Chat History: Your sessions are saved locally. Close VS Code and resume your exact conversation the next day.
- 📊 Token & Cost Dashboard: Track exactly how many tokens and dollars you are spending per provider.
- 🛡️ Destructive Command Guardrails: Automatically intercepts dangerous commands (like
rm -rf /orgit reset --hard) and requires explicit modal approval.
📦 Installation (For Reviewers)
- Download the
omnipilot-1.0.0.vsixfile from the GitHub Releases page. - Open VS Code.
- Go to the Extensions tab (
Ctrl+Shift+X/Cmd+Shift+X). - Click the
...menu in the top right corner and select "Install from VSIX...". - Select the downloaded file and reload VS Code.
🚀 Quick Start
- Click the OmniPilot (⚡) icon in the activity bar.
- Click the ⚙ Settings icon and add your API key (e.g., paste a Groq
gsk_...key or OpenAIsk-...key). - Select your model from the dropdown.
- Ask OmniPilot to build something: "Create a Node.js script that fetches data from an API and write a test for it."
- Watch it write the code, run the terminal, install missing npm packages, and fix its own syntax errors!
🛠️ Building from Source
npm install
npm install -g @vscode/vsce
npm run compile
vsce package