OpenClaude VS CodeAI coding assistant for VS Code powered by any LLM — OpenAI GPT-4o, Google Gemini, DeepSeek, Ollama, Codex, AWS Bedrock, and 200+ models via OpenAI-compatible APIs. OpenClaude wraps the OpenClaude CLI in a full-featured VS Code extension with a chat interface, diff viewer, @-mentions, slash commands, session management, and more. FeaturesChat Interface
Code Editing
Multi-Provider SupportSwitch between LLM providers with
Developer Tools
InstallationFrom the VS Code MarketplaceSearch for OpenClaude in the Extensions panel ( From a
|
| Action | Mac | Windows/Linux |
|---|---|---|
| Open / Focus | Cmd+Escape |
Ctrl+Escape |
| Open in new tab | Cmd+Shift+Escape |
Ctrl+Shift+Escape |
| Insert @-mention | Alt+K |
Alt+K |
| New conversation | Cmd+N |
Ctrl+N (opt-in) |
Slash Commands
Type / in the chat input to see all available commands. Key commands include:
| Command | Description |
|---|---|
/provider |
Set up and switch LLM providers |
/model |
Switch models |
/compact |
Compact conversation context |
/resume |
Browse and resume past sessions |
/diff |
Show git diff |
/commit |
Create a git commit |
/review |
Review code or PR |
/mcp |
Manage MCP servers |
/plugins |
Manage plugins |
/help |
Show all commands |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
openclaudeCode.selectedModel |
string | "default" |
AI model to use |
openclaudeCode.initialPermissionMode |
enum | "default" |
Starting permission mode |
openclaudeCode.useCtrlEnterToSend |
boolean | false |
Require Ctrl+Enter to send |
openclaudeCode.preferredLocation |
enum | "panel" |
Default panel location |
openclaudeCode.autosave |
boolean | true |
Auto-save before AI reads/writes |
openclaudeCode.respectGitIgnore |
boolean | true |
Honor .gitignore in searches |
openclaudeCode.useTerminal |
boolean | false |
Launch in terminal mode |
openclaudeCode.environmentVariables |
array | [] |
Extra env vars for the AI process |
openclaudeCode.hideOnboarding |
boolean | false |
Hide the onboarding checklist |
openclaudeCode.enableNewConversationShortcut |
boolean | false |
Enable Cmd/Ctrl+N |
Contributing
git clone https://github.com/Harsh1210/openclaude-vscode
cd openclaude-vscode
npm install
cd webview && npm install && cd ..
npm run build
Development (watch mode):
npm run watch
# Press F5 in VS Code to launch Extension Development Host
Package:
npx @vscode/vsce package --no-dependencies --allow-missing-repository
Architecture
Webview (React + Tailwind)
| postMessage
Extension Host (TypeScript)
| stdin/stdout NDJSON
OpenClaude CLI (child process)
| OpenAI Chat Completions API
Any LLM Provider
The extension is a thin UI wrapper. All intelligence (tools, providers, slash commands, MCP, plugins) lives in the CLI.
License
MIT