Favicon of CodeGPT

CodeGPT

AI coding assistant for VS Code, JetBrains and Visual Studio. Connect local models through Ollama or LM Studio, or use cloud models with your own API keys.

Screenshot of CodeGPT website

CodeGPT is an AI coding assistant for VS Code, JetBrains and Visual Studio that lets developers choose between models running locally through Ollama or LM Studio and cloud models such as Claude, GPT, Gemini and Grok. It's for people who want help writing and debugging code inside their editor while keeping control over which model handles each task.

The agent reads your codebase before proposing a plan, which you can edit before it writes code. It supports code generation, refactoring and debugging, and shows the files it reads and the edits it suggests. You approve its actions. It can also run terminal commands, with approval required before commands make changes.

Model choice is central to the product. You can switch models between tasks without moving your code or connect cloud services with your own API keys. Local models run on your hardware; choosing a cloud model sends code to that service. CodeGPT states that your code stays under your control unless you choose cloud AI.

For work that needs context beyond the repository, MCP connections let the assistant access APIs, documentation and databases. Project rules guide it toward your coding standards, while a live context display shows how much context it uses. Team features include centralized billing and an admin dashboard with usage statistics.

Similar to CodeGPT