AI coding assistant powered by Kimi with project-aware chat, secure account management, wallet-based billing, and optional agentic tools, all inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Kalai Agent is an AI coding assistant for Visual Studio Code, powered by Kimi. It adds a chat sidebar to VS Code so you can ask coding questions, explore your project, and get help without switching windows.
What It Does
AI chat in VS Code - Ask coding questions and get answers from Kimi models inside a sidebar panel.
Streaming responses - See replies appear in real time, including reasoning when enabled.
Project-aware answers - Kalai can inspect your workspace to give context-specific help.
Read-only workspace inspection - Summarize files, search code, and explore directories without changing anything.
Optional agentic mode - Enable deeper multi-step problem solving through tool use in settings.
Secure accounts - Sign up or log in through your browser. Tokens are stored in VS Code's secret storage.
Wallet-based billing - Pay as you go and recharge your wallet through Paystack.
Chat history - Conversations are saved locally so you can continue later.
Getting Started
Install from the VS Code Marketplace
Open VS Code.
Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Search for Kalai Agent.
Click Install.
Install from a VSIX file
Download the .vsix release.
Open the Extensions view in VS Code.
Click the ... menu and choose Install from VSIX....
Select the downloaded file.
First Use
Click the Kalai Agent icon in the Activity Bar to open the chat sidebar.
Open the Command Palette (Ctrl+Shift+P) and run Kalai: Sign Up or Kalai: Log In.
Complete authentication in your browser. VS Code will handle the callback automatically.
Start typing your coding question in the chat input.
Example Questions
"Explain what this React hook does."
"How do I reverse an array in TypeScript?"
"Find all usages of the UserService class in this project."
"Summarize the architecture of this codebase."
"Refactor this function to use async/await."
Commands
Open the Command Palette (Ctrl+Shift+P) and type "Kalai" to access these commands:
Command
Description
Kalai: Start Chat
Open the Kalai chat sidebar.
Kalai: Clear Conversation
Start a fresh conversation.
Kalai: Sign Up
Create a Kalai account.
Kalai: Log In
Sign in to your Kalai account.
Kalai: Log Out
Clear stored session tokens.
Kalai: Show Wallet
View your current wallet balance.
Kalai: Recharge Wallet
Add funds through Paystack.
Kalai: Setup Secure Configuration
Run security configuration checks.
Community
Join the Kalai community for updates, support, and discussions: