KlaatAI — AI Coding Assistant for VS Code
Your AI pair-programmer that lives inside the editor. Agentic chat with 30+ tools, inline edits, tab completions, and a code graph + memory system that learns how you work — all powered by automatic multi-model routing so you never manage API keys or pick models.
Why KlaatAI?
- No API keys. Sign in once — KlaatAI routes every request to the best model for the task.
- Multi-model routing. Fast models for quick edits, frontier models for hard reasoning — automatic or manual override.
- Full agent, not just chat. Reads, writes, edits files, runs shell commands, searches your codebase, browses the web, reviews PRs — all with inline approvals.
- Learns you. Remembers your stack, conventions, and style across sessions. Fully transparent and deletable.
- Cross-file intelligence. Completions and Cmd+K edits understand your imports, types, and APIs — not just the open buffer.
Features
Agentic Chat
Open the KlaatAI sidebar (Cmd/Ctrl+Shift+K) and describe what you want. The agent executes multi-step tasks autonomously with inline approvals — nothing destructive happens without your OK.
30+ built-in tools:
| Category |
Tools |
| File ops |
read, write, edit, apply_patch, glob |
| Search |
grep, project_graph_query, semantic_search, file_outline |
| Shell |
bash, terminal (VS Code integrated terminals) |
| Web |
webfetch, websearch, browser automation |
| Dev |
lsp (go-to-def, references, call hierarchy), preview, pr_review |
| Workflow |
todowrite, task (subagents), impact_check, repo_overview |
Four agent modes for different workflows:
| Mode |
Purpose |
| Code |
Full tools — reads, writes, and edits files |
| Plan |
Read-only planning before implementation |
| Debug |
Investigate bugs, run tests and logs |
| Ask |
Read-only Q&A across your entire repo |
Enrich prompts with @-mentions:
| Mention |
What it does |
@file |
Attach files from a picker |
@folder |
Include a folder's file tree |
@web |
Search the web and include results |
@diff / @git |
Include current git working changes |
@codebase |
Search the code graph for relevant symbols |
@problems |
Include current LSP errors and warnings |
Drag & drop files from the OS or VS Code explorer, or paste screenshots directly into chat.
Inline Edit — Cmd/Ctrl+K
Select code, press Cmd+K, describe the change. Review the diff inline and apply with a single undo step.
- Cross-file context — knows your imports so it uses the right types and APIs
- 9-pass fuzzy edit engine for precise, reliable patches
- Streams the diff as it generates
- Single
Ctrl+Z reverts the entire change
Tab Completions
Multi-line, fill-in-the-middle ghost-text suggestions as you type.
- Cross-file aware — pulls exported symbols from your imports
- In-memory cache + in-flight dedup for low latency
- Toggle with
klaatai.inlineCompletions
Memory — Learns Your Style
KlaatAI remembers your stack, conventions, and response preferences across sessions — no manual setup.
- Automatic with salience and decay (forgets what's no longer relevant)
- Full transparency: KlaatAI: View Memory shows exactly what it knows
- Delete anything or turn it off entirely with
klaatai.memory
Code Graph — Knows Your Codebase
Indexes your repo into a code knowledge graph — symbols, call-graph edges, and relationships — so it finds the right code without reading every file.
- Tree-sitter symbol extraction (TypeScript, Python, Go, Rust, Java, and more)
- Background indexing with progress UI
- Shared with the KlaatCode CLI — index once, use everywhere
Auto-Debug
Catches errors your edits introduce and fixes them automatically.
- Watches LSP diagnostics on KlaatAI-edited files
- One-click or fully automatic fix rounds
- Fix with KlaatAI lightbulb on error squiggles
- Toggle with
klaatai.autoDebug
Multi-Model Routing
Automatic tier selection routes each request to the best model — override anytime via the status bar.
| Tier |
Best for |
Example models |
| Auto |
Default — picks the right tier per task |
Automatic |
| Fast |
Quick Q&A, simple questions |
GPT-4o-mini, Claude Haiku |
| Code |
File changes, tool use |
GPT-4o, Claude Sonnet |
| Reason |
Complex architecture, debugging |
Claude Opus, DeepSeek-R1 |
| Heavy |
Large-scale reasoning |
Frontier models |
Extensibility
- MCP (Model Context Protocol) — connect external tool servers via
klaatai.json
- Custom plugins — add your own tools in
.klaatai/tools/*.js
- Workspace rules — auto-loaded from
.klaatai/rules.md, AGENTS.md, or .cursorrules
Getting Started
- Install the extension from the VS Code Marketplace.
- Click the KlaatAI icon in the activity bar.
- Sign in — opens your browser, no API keys needed.
- On SSH/remote/headless: use KlaatAI: Sign In (Device Code) instead.
- Open a folder or repo and start chatting. The code graph indexes in the background.
Commands & Keybindings
| Command |
Keybinding |
Description |
KlaatAI: Open Chat |
Cmd/Ctrl+Shift+K |
Open the chat sidebar |
KlaatAI: Inline Edit |
Cmd/Ctrl+K |
Edit selected code in place |
KlaatAI: Add Selection to Chat |
Cmd/Ctrl+L |
Send selected code to chat |
KlaatAI: Explain Selected Code |
Cmd/Ctrl+Shift+E |
Explain the selection |
KlaatAI: Fix / Improve Selected Code |
— |
Fix or improve selected code |
KlaatAI: Review Current File |
— |
AI code review for the active file |
KlaatAI: Review Current PR |
— |
Review the current Git PR |
KlaatAI: Generate Tests |
— |
Generate tests for file or selection |
KlaatAI: View Memory |
— |
See / delete what it has learned |
KlaatAI: Re-index Project |
— |
Rebuild the code knowledge graph |
KlaatAI: Select Model / Tier |
— |
Override automatic model routing |
KlaatAI: Show Completion Stats |
— |
View inline completion acceptance rate |
KlaatAI: Sign In (Device Code) |
— |
Sign in on SSH / remote / headless |
Settings
| Setting |
Default |
Description |
klaatai.inlineCompletions |
true |
Ghost-text tab completions |
klaatai.memory |
true |
Learn your stack and style across sessions |
klaatai.indexProject |
true |
Index workspace into the code graph |
klaatai.autoDebug |
true |
Auto-detect and fix errors after AI edits |
klaatai.stagedEdits |
false |
Preview file changes in diff before applying |
klaatai.formatOnSave |
true |
Format files after AI writes/edits |
klaatai.autoApproveReads |
true |
Skip confirmation for file reads |
klaatai.maxToolRounds |
25 |
Max agent steps per message |
Pricing
KlaatAI is currently in beta and free to use — no credit card required. You get 30 requests per day during the beta. Just install, sign in, and start coding.
Privacy & Security
- Memory can be turned off (
klaatai.memory: false). View Memory lets you inspect and delete anything.
- Code indexing can be turned off (
klaatai.indexProject: false).
- Sign-in tokens are stored in the OS keychain via VS Code SecretStorage.
- No code is sent to third parties beyond the model providers used for inference.
Links
Made with care by the KlaatAI team.
| |