Botkh is a compact AI coding assistant for Visual Studio Code. It provides a sidebar chat and editor actions while letting you choose your own AI provider.
Features
Sidebar AI chat with conversation history
OpenAI and OpenAI-compatible APIs
Anthropic Messages API
Google Gemini API
Secure per-provider API keys using VS Code SecretStorage
Explain Selected Code and Refactor Selected Code editor actions
Configurable model, base URL, system prompt, and token limit
Getting started
Open the Botkh icon in the Activity Bar.
Open VS Code settings and search for Botkh.
Choose OpenAI, Anthropic, or Gemini as the provider.
Run Botkh: Set API Key from the Command Palette.
Start a conversation in the Botkh sidebar.
For an OpenAI-compatible service, select OpenAI, set Botkh: Base Url, and enter the service's model name in Botkh: Model.
Development
npm install
npm run compile
Press F5 in VS Code to launch an Extension Development Host.
Packaging
npm run vsix
This creates botkh.vsix, which can be installed using Extensions: Install from VSIX....
Security
API keys are never stored in workspace settings. Botkh saves a separate key for each provider through VS Code SecretStorage and sends it only to the configured API endpoint.