Kote for VS Code
Integrate your Kote directly into VS Code — search, ask AI, save notes without leaving your editor.
About Kote
Kote is a developer memory layer that automatically captures and organizes AI sessions, Git history, and development context into searchable knowledge.
For more details, visit the GitHub Repository or the original link.

Features
- CodeLens Integration: Automatically displays relevant notes and decisions at the top of files that have associated knowledge in your Kote. Click the CodeLens indicator to view and open related notes directly in your editor.
- Kote Code Lineage: Highlight any code snippet and press
Ctrl+Shift+E (or right-click → "Kote: Explain Why This Code Exists") to view an interactive origin timeline of past decisions, git commit history, and related AI sessions specifically for the selected code.
- Dedicated Sidebar: Interactive AI chat and manual note saving
- Quick AI Questions: Ask questions without leaving your editor (
Ctrl+Shift+K)
- Save Code Selection: Right-click any code selection to save as a note
- Save Active File: Save entire files directly to your Kote
- AI Session History: View and search recent AI-assisted development sessions
- Session Handoffs: Transfer active context seamlessly across AI agents and terminal harnesses
Screenshots
Integrated sidebar with AI chat and quick-save commands for code selections.
Installation
From VS Code Marketplace or Open VSX Registry
- Open VS Code or your Open VSX-compatible editor (VSCodium, Gitpod, etc.)
- Go to Extensions (
Ctrl+Shift+X)
- Search for "Kote"
- Click Install
Manual Installation
- Download the latest
.vsix file from the Releases page
- Open VS Code
- Run "Extensions: Install from VSIX..." from the Command Palette (
Ctrl+Shift+P)
- Select the downloaded file
Getting Started
After installation, connect to your Kote instance:
- Open the Kote sidebar (click the icon in the activity bar)
- Enter your Kote API URL (defaults to
https://knowledgebase.sbs/kote/api or your self-hosted backend)
- Provide your API credentials / access token
- Select your default workspace/project
2. Basic Usage
Ask AI Questions
Keyboard Shortcut: Ctrl+Shift+K (Windows/Linux) or Cmd+Shift+K (Mac)
Select code (optional), press shortcut, type question, get instant answers with workspace context.
Save Code Selection
Right-click highlighted code and select "Kote: Save Selection as Note" to store decisions and context.
Kote Code Lineage (Explain Why Code Exists)
Keyboard Shortcut: Ctrl+Shift+E (Windows/Linux) or Cmd+Shift+E (Mac)
Highlight code and trigger the command to explore an interactive timeline of commits, decisions, and related AI sessions.
Kote is designed to bridge your development work with your team knowledge base. Here is an explicit description of what data is transmitted, where it is sent, and how you control it:
Where Data is Sent
All network transmissions go exclusively to your configured Kote backend:
- Default URL:
https://knowledgebase.sbs/kote/api
- Custom / Self-Hosted: Configured in your settings or
~/.config/kb/config.json. Kote never transmits data to third parties.
What is Transmitted
- AI Session Data (AI History):
- Content: Prompts, assistant responses, model metadata, and token usage from detected sessions.
- Upload Setting: Governed by
kote.aiSessionSaveMode (see below).
- Git Commit Metadata:
- Content: When commits are made in your local repository, Kote synchronizes commit metadata (SHA, short SHA, commit message, author name, author email address, commit timestamp, branch name, list of changed file paths, and remote GitHub URL if configured).
- Purpose: Correlates AI conversations and architecture decisions to concrete code changes in the Kote Code Lineage timeline.
- Control: Can be disabled at any time via the
"kote.gitTracking.enabled": false setting.
- User-Initiated Searches & Queries:
- Text questions or code snippets selected when using
Ask Kote or Explain Why This Code Exists.
AI Session Upload Modes (kote.aiSessionSaveMode)
auto-save (Default): Automatically synchronizes detected AI sessions in the background. A non-intrusive notification is displayed when a session is saved.
ask: Prompts you with an explicit confirmation dialog before uploading each newly detected session, allowing you to preview or reject it.
ignore-all: Disables all automatic uploads. Sessions remain strictly local until manually imported.
You can change this mode at any time using the gear icon in the Kote sidebar title bar or by running "Kote: Configure AI Session Save Mode".
Session Handoffs
When you start Claude Code, Codex, Antigravity, or OpenCode in the VS Code integrated terminal, Kote can detect the command and offer a handoff from a recent session. Kote shows a prompt; it only generates and injects the handoff if you choose Inject Now or Review and Accept. Kote does not install hooks or modify the configuration of these external tools. Agent launches outside VS Code's integrated terminal are not detected automatically; use Kote: Generate & Copy Session Handoff instead.
Commands
| Command |
Shortcut |
Description |
Kote: Open Chat |
- |
Open the AI chat in the sidebar |
Kote: Ask (Quick Input) |
Ctrl+Shift+K |
Quick AI question from selected text |
Kote: Explain Why This Code Exists |
Ctrl+Shift+E |
Open Kote Code Lineage origin timeline for selected code |
Kote: Save Selection as Note |
- |
Save selected code as a note |
Kote: Save Active File as Note |
- |
Save current file as a note |
Kote: View Recent AI Sessions |
- |
Open AI session history viewer |
Kote: Configure AI Session Save Mode |
- |
Switch between auto-save, ask, and ignore-all |
Kote: View Active Session Handoff |
- |
Preview active session context handoff |
Kote: Generate & Copy Session Handoff |
- |
Copy handoff markdown to clipboard |
Kote: Refresh Sidebar |
- |
Refresh the sidebar content |
Configuration Settings
| Setting |
Default |
Description |
kote.aiSessionSaveMode |
"auto-save" |
Controls handling of AI sessions (auto-save, ask, ignore-all). |
kote.gitTracking.enabled |
true |
Enable background synchronization of Git commit metadata to linked projects. |
kote.inlineAnnotations.enabled |
true |
Enable inline annotations for code decisions and context. |
kote.inlineAnnotations.showHover |
true |
Show rich hover tooltips on active lines with Kote context. |
kote.antigravityLogPath |
"" |
Custom path to Antigravity brain directory (defaults to standard location). |
kote.claudeCodeLogPath |
"" |
Custom path to Claude Code directory (defaults to standard location). |
kote.codexLogPath |
"" |
Custom path to Codex CLI directory (defaults to standard location). |
kote.opencodeDbPath |
"" |
Custom path to OpenCode database file (defaults to standard location). |
License
See LICENSE for terms of use.