Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>BotkhNew to Visual Studio Code? Get it now.
Botkh

Botkh

yeimbora

| (1) | Free
AI coding assistant for VS Code with OpenAI-compatible, Anthropic, and Gemini providers.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Botkh

Developed by yeimbora

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
  • Quick Setup to pick a provider and add your API key in a few clicks
  • Edit your code with AI: change a selection from the editor, or apply code from the chat, always after a diff preview
  • 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

  1. Open the Botkh icon in the Activity Bar.
  2. Click Quick setup (or run Botkh: Quick Setup from the Command Palette) and pick a provider.
  3. Paste your API key when asked. It is stored securely in VS Code SecretStorage.
  4. Start a conversation in the Botkh sidebar.

Editing code

Botkh can change your code directly, and it never touches a file without showing you the change first.

  • Edit Selection with AI: select code, right-click and choose Botkh: Edit Selection with AI (or run it from the Command Palette), then describe the change, for example "add error handling". Botkh shows a before/after diff and asks you to Apply or Discard.
  • Apply from the chat: code blocks in Botkh's answers have Copy and Apply buttons. Apply lets you replace the selection, insert at the cursor, replace the whole file, or open the code in a new file, again with a diff preview first.
  • Include selected code: with the checkbox above the message box turned on, Botkh sends your selection (or the whole open file when nothing is selected, up to about 40,000 characters) along with your message, so you can simply write "fix this" or "add types".

Good to know:

  • Changes are made in the open editor and are not saved automatically. Undo with Ctrl/Cmd+Z.
  • If the file changes while you are reviewing, Botkh cancels the edit instead of overwriting your work.
  • Botkh edits one file at a time. It does not create files in bulk or run commands.
  • The AI can make mistakes. Read the diff before you apply it.

Using Claude

Select Claude (Anthropic) in Quick Setup, then paste an API key created at platform.claude.com. The default model is claude-sonnet-5-5; for a cheaper option set Botkh: Model to claude-haiku-5-5.

Anthropic does not offer a free API tier. New API accounts receive a small amount of free credits to try it, and after that usage is billed by Anthropic. A Claude.ai chat plan (including the free one) does not include an API key.

Free options

  • Gemini: choose Gemini (Google): free tier in Quick Setup. A free API key from Google AI Studio needs no credit card; the free tier has rate limits.
  • Ollama (runs on your computer): select the OpenAI provider, set Botkh: Base Url to http://localhost:11434/v1, set Botkh: Model to a model you have pulled, and use any text as the API key.
  • OpenRouter: select the OpenAI provider, set Botkh: Base Url to https://openrouter.ai/api/v1, and set Botkh: Model to one of its models marked free (rate limits apply).

For any other 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.

Author

Developed by yeimbora.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft