* tmp * tmp * tmp * tmp * tmp * feat(vscode): multi-provider selection with connect/disconnect/OAuth flows Reimplements the provider management UI in the VS Code extension settings: - Split Providers tab into Models (model selection) and Providers (connection management) - Kilo Gateway always shown at top with login state from profile data - Provider connect dialog with API key and OAuth (code + auto) flows - Custom provider dialog for OpenAI-compatible providers via base URL - Provider action request-response pairing via createProviderAction utility - Coalesced fetchAndSendProviders prevents request floods (single in-flight + one queued) - SSE event deduplication: server.instance.disposed filtered by workspace directory - Login guard prevents concurrent device auth flows - Model selection fallback chain: override > mode config > global config > recents > kilo-auto - Recent models persisted in extension globalState (last 5, deduplicated) - Shared validation in src/shared/ (provider-model.ts, custom-provider.ts) - 16 locale translations for all new UI strings - Unit tests for custom-provider validation, model selection, provider actions, visibility * Add tests * chore: update kilo-vscode visual regression baselines * fix(vscode): log swallowed auth.remove errors for configured providers When a configured provider has both a config entry and an auth store entry, and auth.remove fails transiently, the error was silently swallowed. Now logs a warning so the failure is visible in debug output. * fix(vscode): validate recentModels shape and enforce size limit on extension side Webview messages are an untrusted boundary. persistRecents and requestRecents now validate array shape (providerID/modelID must be strings) and enforce RECENT_LIMIT=5 on the extension side, not just in the webview. Malformed globalState entries are filtered out on read. * fix(vscode): normalize directory paths in server.instance.disposed filter Use path.resolve() when comparing the event directory against the workspace directory. Prevents false mismatches from trailing slashes or case differences on case-insensitive filesystems. * fix(vscode): remove duplicate requestRecents case branches (dead code) Three consecutive case "requestRecents" blocks existed from iterative refinement. Only the first executes in a switch. Removed the two dead duplicates, keeping the validated version using validateRecents(). * fix(vscode): don't navigate to profile after login Login can now be triggered from the settings tab (Kilo Gateway sign-in button). The forced navigation to the profile view after login left the user stuck on the profile tab with no way back to settings without closing and reopening. The profile data push is sufficient — the settings Kilo row updates reactively via server.profileData(). * fix(vscode): mask API key input in custom provider dialog Add type="password" to the API key TextField so it renders as dots instead of plain text. * refactor(vscode): extract inline styles from ProviderConnectDialog to CSS classes Move repeated inline styles to chat.css classes: - .provider-connect-body (text body styling) - .provider-connect-code-label (confirmation code label) - .provider-connect-code (monospace code block) - .provider-connect-status (spinner + status text row) * fix: revert unrelated opencode/package.json changes * chore: update kilo-vscode visual regression baselines * fix(vscode): send rollback configUpdated on failed config save When global.config.update fails, send configUpdated with the last known good config so the webview clears its saving flag and reverts optimistic state. Without this, a failed save leaves saving=true forever, causing subsequent configLoaded messages to be ignored. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
🚀 Kilo
Kilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with the most popular open source coding agent. #1 coding agent on OpenRouter. 1.5M+ Kilo Coders. 25T+ tokens processed
- ✨ Generate code from natural language
- ✅ Checks its own work
- 🧪 Run terminal commands
- 🌐 Automate the browser
- ⚡ Inline autocomplete suggestions
- 🤖 Latest AI models
- 🎁 API keys optional
- 💡 Get $20 in bonus credits when you top-up for the first time Credits can be used with 500+ models like Gemini 3.1 Pro, Claude 4.6 Sonnet & Opus, and GPT-5.2
Quick Links
- VS Code Marketplace (download)
- Install CLI:
npm install -g @kilocode/cli - Official Kilo.ai Home page (learn more)
Key Features
- Code Generation: Kilo can generate code using natural language.
- Inline Autocomplete: Get intelligent code completions as you type, powered by AI.
- Task Automation: Kilo can automate repetitive coding tasks to save time.
- Automated Refactoring: Kilo can refactor and improve existing code efficiently.
- MCP Server Marketplace: Kilo can easily find, and use MCP servers to extend the agent capabilities.
- Multi Mode: Plan with Architect, Code with Coder, and Debug with Debugger, and make your own custom modes.
Get Started in Visual Studio Code
- Install the Kilo Code extension from the VS Code Marketplace.
- Create your account to access 500+ cutting-edge AI models including Gemini 3 Pro, Claude 4.5 Sonnet & Opus, and GPT-5 – with transparent pricing that matches provider rates exactly.
- Start coding with AI that adapts to your workflow. Watch our quick-start guide to see Kilo in action:
Get Started with the CLI
# npm
npm install -g @kilocode/cli
# Or run directly with npx
npx @kilocode/cli
Then run kilo in any project directory to start.
npm Install Note: Hidden .kilo File
On some systems and npm versions, installing @kilocode/cli can create a hidden .kilo file near the installed kilo command (for example in a global npm bin directory). This file is an npm-generated launcher helper, not project data.
- Why it exists: npm may create helper artifacts while wiring CLI executables.
- Size caveat: size can vary by platform, npm version, and install mode (symlink vs copied launcher), so a strict fixed size is not guaranteed.
- Safety: it is safe to leave in place. Do not edit it manually. Use your package manager's uninstall (
npm uninstall -g @kilocode/cli) to remove install artifacts cleanly.
Install from GitHub Releases (Optional)
Download the latest binary or source code from the Releases page, use this quick guide:
kilo-<os>-<arch>.zipis the CLI binary for your OS and CPU architecture on Windows and macOS. (kilo-linux-<arch>.tar.gzfor Linux)darwinmeans macOS.x64is standard 64-bit Intel/AMD CPUs.x64-baselineis a compatibility build for older x64 CPUs(do not support AVX Instruction).arm64is ARM-based Linux/MacOS.muslis statically linked Linux build for Alpine/minimal Docker without glibc. Alpine/minimal Docker users should prefer the matching *-musl asset.kilo-vscode-*.vsixis the VS Code extension package and not the CLI binary.Source codereleases are for building from source, not normal installation.
For most users:
- Windows (most PCs):
kilo-windows-x64.zip - macOS Apple Silicon:
kilo-darwin-arm64.zip - macOS Intel:
kilo-darwin-x64.zip - Linux x64:
kilo-linux-x64.tar,gz - Linux on ARM:
kilo-linux-arm64.tar.gz
Autonomous Mode (CI/CD)
Use the --auto flag with kilo run to enable fully autonomous operation without user interaction. This is ideal for CI/CD pipelines and automated workflows:
kilo run --auto "run tests and fix any failures"
Important: The --auto flag disables all permission prompts and allows the agent to execute any action without confirmation. Only use this in trusted environments like CI/CD pipelines.
Contributing
We welcome contributions from developers, writers, and enthusiasts! To get started, please read our Contributing Guide. It includes details on setting up your environment, coding standards, types of contribution and how to submit pull requests.
See RELEASING.md for the release process.
Code of Conduct
Our community is built on respect, inclusivity, and collaboration. Please review our Code of Conduct to understand the expectations for all contributors and community members.
License
This project is licensed under the MIT License. You’re free to use, modify, and distribute this code, including for commercial purposes as long as you include proper attribution and license notices. See License.
Where did Kilo CLI come from?
Kilo CLI is a fork of OpenCode, enhanced to work within the Kilo agentic engineering platform.
