CodePilot is a powerful VS Code extension that provides intelligent coding assistance using local Ollama models. Keep your code private while getting AI-powered suggestions, explanations, and code generation.
Everything you need for AI-powered coding assistance
All AI processing happens locally on your machine using Ollama. Your code never leaves your computer.
Interactive chat panel with context-aware conversations and specialized prompt templates.
Right-click on any code to explain, refactor, document, or optimize it with AI assistance.
Keep track of all your AI conversations with persistent chat history and easy navigation.
Include specific files as context for more relevant and accurate AI responses.
Seamlessly adapts to your VS Code theme for a consistent development experience.
Experience the power of local AI assistance
function calculateFibonacci(n) {
// Right-click to explain this function
if (n <= 1) return n;
return calculateFibonacci(n - 1) + calculateFibonacci(n - 2);
}
Understanding the magic behind AI Assistant
Set up Ollama on your local machine to run AI models locally.
Add the AI Assistant extension to your VS Code environment.
Customize the extension to fit your coding preferences.
Enjoy AI-powered assistance without sacrificing privacy.
Get up and running in just a few minutes
Download and install Ollama from the official website
# Visit https://ollama.ai and download for your OS
Download a coding model (recommended: codellama)
ollama pull codellama:7b-instruct
Open VS Code and start using AI assistance
codellama:13b
for better performanceollama run codellama
to test your model firstBuilt for developers who value privacy and local control
CodePilot was created with a simple philosophy: you should be able to use AI to enhance your coding without sacrificing privacy. By leveraging Ollama's local AI models, your code never leaves your machine.
This project is completely open source under the MIT License. We welcome contributions, feedback, and suggestions from the developer community to make CodePilot even better.
Join our growing community of developers making AI more accessible and private.
Contribute