An AI-powered coding agent extension that provides a chat sidebar for autonomous code editing. Configurable with multiple LLM providers (Anthropic, OpenAI).
Features
AI Chat Sidebar — full conversation interface with context-aware coding assistance
Tool-based Agent — autonomous agent that reads, writes, and edits files using registered tools
Inline Chat (Ctrl+I) — select code and ask the agent to modify it inline
Diff Approval — review and approve changes before they are applied
Multi-Provider — supports Anthropic Claude and OpenAI models
Requirements
VS Code 1.85+
API key for at least one LLM provider (Anthropic or OpenAI)
Extension Settings
icod.provider — LLM provider to use (anthropic or openai, default: anthropic)
icod.model — Model name (e.g., claude-sonnet-4-6). The picker is populated from icod-server's GET /models; a value the server doesn't offer is reset on activation.
icod.apiKey — Stored securely via VS Code Secret Storage
icod.maxTokens — Maximum tokens per response (default: 8000)
Usage
Open the icod.ai sidebar (click the icon in the activity bar)
Enter your API key when prompted
Start chatting — the agent will autonomously execute coding tasks
Commands
icod.newChat — Start a new chat session
icod.inlineChat — Inline code editing (Ctrl+I)
icod.addSelectionToChat — Attach selected code to the chat
icod.setApiKey — Set or change your API key
icod.resetOnboarding — Reset the first-time experience