Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>CodeGPT: Chat & AI AgentsNew to Visual Studio Code? Get it now.
CodeGPT: Chat & AI Agents

CodeGPT: Chat & AI Agents

Code GPT

codegpt.co
|
2,319,484 installs
| (317) | Free
Easily Connect to Top AI Providers Using Their Official APIs in VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeGPT: Chat & AI Agents

The AI coding assistant that connects to any model and understands your entire codebase.

Use Claude, GPT, Gemini, or local models — with agents that create, edit, and read files directly in your project. No lock-in. Your choice of provider, your way of coding.

Website Docs Support Discord


Agent Mode

AI agents that go beyond chat. They create files, apply edits, read your codebase, and execute multi-step tasks — all from a single prompt.

Agent Mode

Smart Diff

Review every AI-suggested change with a real-time diff preview before applying. Accept, reject, or edit — you stay in control.

Smart Diff

Chat

Ask questions, debug issues, get explanations, and generate code — with full context from your project files.

Chat

Autocomplete

Fast, context-aware code completions powered by your choice of AI model.

Autocomplete

Top Models. No API Keys Needed.

Use the best models with credits — no setup, no API keys. Just add credits and start coding.

Claude Opus 4.6 · Claude Sonnet 4.6 · GPT-5 · GPT-4o · Gemini 2.5 Pro · Gemini 2.5 Flash · and more

Add Credits

Bring Your Own Key

Connect directly to 20+ AI providers. Your keys, direct API calls, no intermediaries.

OpenAI · Anthropic · Google · Mistral · Groq · DeepSeek · Azure · Bedrock · Nvidia · Cohere · Fireworks · Perplexity · Cerebras · Grok · and more


Local Models

Run models locally with Ollama, LM Studio, or Docker. Complete privacy — zero data leaves your machine.

Local Models

Chat Commands

Command Description
/Fix Detect and fix errors in your code
/Explain Get a clear explanation of selected code
/Refactor Refactor for readability and maintainability
/Document Generate documentation
/Unit Testing Generate unit tests
#file-name Add files as context for the AI

Get Started

  1. Install CodeGPT from the VS Code Marketplace
  2. Sign in or connect your own API key
  3. Start coding with AI

Website Documentation Discord Twitter LinkedIn

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft