Aboocode for VS Code
AI coding assistant with an embedded agent loop, right inside VS Code. No CLI or server required — the agent runs natively in the extension host.
Features
- Embedded agent loop — LLM calls, tool execution, and multi-step reasoning all happen inside the extension. No external process needed.
- Multi-provider — Anthropic (Claude), OpenAI (GPT-4o), Google (Gemini), OpenRouter, or any OpenAI-compatible endpoint via the Vercel AI SDK.
- Full tool system — Read, write, edit files, run shell commands, glob/grep search, web fetch — all through VS Code's own APIs.
- Inline permissions — Write, edit, and bash commands require approval. Click Allow, Always Allow, or Deny directly in the chat.
- 4 agent modes —
code (full access), plan (read-only exploration), explore (fast search), architect (high-level design).
- SolidJS webview — Reactive chat UI with markdown rendering, syntax highlighting, expandable tool calls, and streaming responses.
- Session history — Conversations persist to
~/.aboocode-vscode/sessions/ and can be resumed.
- Code actions — Right-click selected code to Explain, Fix, Refactor, or Add Tests.
- @-mentions — Type
@ in the prompt to search and reference files.
- Memory — Reads
.aboocode/MEMORY.md from your workspace for persistent project context.
Quick Start
- Install from the VS Code Marketplace or run:
code --install-extension cytsaiap.aboocode-vscode
- Click the Aboocode icon in the activity bar (or press
Cmd+Shift+A).
- Open Settings (gear icon in the chat panel) and enter your API key.
- Start chatting.
Supported Providers
| Provider |
Models |
Setup |
| Anthropic |
Claude Opus 4, Sonnet 4, Haiku 4, 3.5 Sonnet |
Set provider to anthropic, add API key |
| OpenAI |
GPT-4o, GPT-4o Mini, o3, o4 Mini |
Set provider to openai, add API key |
| Google |
Gemini 2.5 Pro, Gemini 2.5 Flash |
Set provider to google, add API key |
| OpenRouter |
Any model on OpenRouter |
Set provider to openrouter, add API key |
| Custom |
Any OpenAI-compatible API |
Set provider to custom, add endpoint + API key |
Agent Modes
| Mode |
Description |
Tools Available |
| code |
Full coding assistant (default) |
All tools |
| plan |
Read-only exploration, proposes plans |
read, glob, grep, list |
| explore |
Fast codebase search |
read, glob, grep, list |
| architect |
High-level design guidance |
read, glob, grep, list, web search/fetch |
Switch modes from the dropdown in the hint bar at the bottom of the chat panel.
| Tool |
Description |
read |
Read file contents with line numbers |
write |
Create or overwrite files |
edit |
Find-and-replace string editing |
bash |
Execute shell commands |
glob |
File pattern search |
grep |
Content search (ripgrep or regex fallback) |
list |
List directory contents |
web_search |
Web search (requires search API config) |
web_fetch |
Fetch and extract content from URLs |
Keyboard Shortcuts
| Shortcut |
Action |
Cmd+Shift+A |
Focus chat panel |
Cmd+Shift+E |
Explain selected code |
Settings
Open VS Code settings and search for aboocode, or use the Settings view in the chat panel.
| Setting |
Default |
Description |
aboocode.provider |
anthropic |
AI provider |
aboocode.model |
claude-sonnet-4-20250514 |
Model ID |
aboocode.apiKey |
— |
API key for the selected provider |
aboocode.customEndpoint |
— |
Custom API endpoint URL |
aboocode.maxSteps |
50 |
Maximum agent steps per request |
Architecture
Extension Host (Node.js)
├── Agent Loop → AI Provider APIs (streaming via Vercel AI SDK)
├── Tool System → VS Code API + Node.js fs/child_process
└── Storage → ~/.aboocode-vscode/sessions/
SolidJS Webview (browser sandbox)
├── Chat, History, Settings views
├── Markdown rendering (marked + DOMPurify)
└── postMessage bridge ↔ Extension Host
Development
git clone https://github.com/cytsaiap-xyz/aboocode-vscode.git
cd aboocode-vscode
npm install
cd webview && npm install && cd ..
npm run dev # watches both extension + webview
# Press F5 in VS Code → Extension Development Host
Building
npm run build # build extension + webview
npm run package # build + produce .vsix file
License
MIT
| |