AGENT0S
HomeLibraryAgentic
FeedbackLearn AI
LIVE
Agent0s · AI Intelligence Library
Share FeedbackUpdated daily · 7am PST
Library/plugin
pluginbeginnerGeneral AI

CodeGPT VS Code Plugin: In-Editor AI Chat with Codebase Context

CodeGPT is a VS Code extension that embeds AI chat directly in your editor sidebar with full codebase indexing. Unlike GitHub Copilot Chat, it supports multiple LLM backends (OpenAI, Anthropic, Ollama) and lets you create "agents" with custom system prompts per project.

AI SETUP PROMPT

Paste into Claude Code or Codex CLI — it will scan your project and set everything up

# Install & Configure: CodeGPT VS Code Plugin: In-Editor AI Chat with Codebase Context

## What This Is
CodeGPT is a VS Code extension that embeds AI chat directly in your editor sidebar with full codebase indexing. Unlike GitHub Copilot Chat, it supports multiple LLM backends (OpenAI, Anthropic, Ollama) and lets you create "agents" with custom system prompts per project.

Source: https://github.com/nickytonline/codegpt

## Before You Start

Scan my workspace and analyze:
- The project language, framework, and directory structure
- Existing agent configuration (check for .claude/, .codex/, CLAUDE.md, settings.json, commands/, skills/ directories)
- Whether this repository or a similar tool is already cloned or installed

Then ask me before proceeding:
1. Do I need to configure any service credentials for this plugin (database, API keys, etc.)?
2. Should this be project-scoped or global?

## Fetch the Source

Clone or inspect the repository to understand what needs to be installed:
```bash
gh repo clone nickytonline/codegpt
```
Review the README, directory structure, and any install instructions before proceeding.

## What to Implement

This is an **Agent Plugin** — typically an MCP server or capability bundle.

- Install any required npm/pip packages from the source repository
- Register the MCP server in `.claude/settings.json` under the `mcpServers` key with the correct command and args
- Configure any required environment variables or credentials
- Verify the server starts correctly by checking its expected output

## Additional Context

- Install CodeGPT from the VS Code marketplace, connect your preferred LLM API key, then use "Index Workspace" to give it full codebase context.
- Create a project-specific agent by clicking "New Agent" and pasting your project conventions — this persists across sessions unlike ad-hoc chat.
- Use @file references in chat to pull specific files into context: "@src/auth/middleware.ts explain the token validation flow".

## Guidelines

- Adapt everything to my existing project — do not assume a specific stack or directory layout
- Review any fetched code for safety before installing or executing it
- After setup, run a quick verification and show me a summary of exactly what was installed, where, and how to use it
2,287 charactersCompatible with Claude Code & Codex CLI
MANUAL SETUP STEPS
  1. 01Install CodeGPT from the VS Code marketplace, connect your preferred LLM API key, then use "Index Workspace" to give it full codebase context.
  2. 02Create a project-specific agent by clicking "New Agent" and pasting your project conventions — this persists across sessions unlike ad-hoc chat.
  3. 03Use @file references in chat to pull specific files into context: "@src/auth/middleware.ts explain the token validation flow".

FIELD OPERATIONS

Multi-Agent Code Review Bot

Configure multiple CodeGPT agents — one for security review, one for performance, one for style — and run all three on every PR.

Documentation Sync Agent

An agent that monitors file changes and automatically updates inline JSDoc and README sections when implementation changes.

STRATEGIC APPLICATIONS

  • →Reduce context-switching by keeping AI assistance inside the IDE without browser tab juggling
  • →Support local Ollama models for air-gapped enterprise environments where code cannot leave the network
  • →Enable junior developers to get instant architecture guidance without senior developer interruption

TAGS

#vscode#plugin#ide#ollama#codegpt
Source: GITHUB · Quality score: 7/10
VIEW SOURCE