149 lines
7.4 KiB
Markdown
149 lines
7.4 KiB
Markdown
<p align="center">
|
||
<a href="https://marketplace.visualstudio.com/items?itemName=kilocode.Kilo-Code"><img src="https://raster.shields.io/badge/VS_Code_Marketplace-007ACC?style=flat&logo=visualstudiocode&logoColor=white" alt="VS Code Marketplace" height="20"></a>
|
||
<a href="https://x.com/kilocode"><img src="https://raster.shields.io/badge/kilocode-000000?style=flat&logo=x&logoColor=white" alt="X (Twitter)" height="20"></a>
|
||
<a href="https://blog.kilo.ai"><img src="https://raster.shields.io/badge/Blog-555?style=flat&logo=substack&logoColor=white" alt="Substack Blog" height="20"></a>
|
||
<a href="https://kilo.ai/discord"><img src="https://raster.shields.io/badge/Join%20Discord-5865F2?style=flat&logo=discord&logoColor=white" alt="Discord" height="20"></a>
|
||
<a href="https://www.reddit.com/r/kilocode/"><img src="https://raster.shields.io/badge/Join%20r%2Fkilocode-D84315?style=flat&logo=reddit&logoColor=white" alt="Reddit" height="20"></a>
|
||
</p>
|
||
|
||
<p align="center">
|
||
<a href="https://kilo.ai"><img width="250" alt="kilo-code-logo" src="https://github.com/user-attachments/assets/bdb0c174-b9fd-40ad-a47b-f3aab9b54e8d" /></a>
|
||
</p>
|
||
|
||
<p align="center">
|
||
<strong>Kilo is the all-in-one agentic engineering platform.</strong><br>
|
||
Build, ship, and iterate faster with the most popular open source coding agent.
|
||
</p>
|
||
|
||
<p align="center">
|
||
<img width="100%" alt="Kilo Code running inside VS Code" src="https://kilo.ai/_next/image?url=%2Fscreenshots%2Fvs-code%2Fvs-code-home-page-screenshot.png&w=3840&q=75">
|
||
</p>
|
||
|
||
<p align="center">
|
||
<a href="https://kilo.ai">Website</a> ·
|
||
<a href="https://kilo.ai/install">Install</a> ·
|
||
<a href="https://kilo.ai/landing/vs-code">IDE</a> ·
|
||
<a href="https://kilo.ai/cli">CLI</a> ·
|
||
<a href="https://kilo.ai/docs">Docs</a> ·
|
||
<a href="https://kilo.ai/leaderboard">Models</a> ·
|
||
<a href="https://kilo.ai/gateway">Gateway</a> ·
|
||
<a href="https://kilo.ai/pricing">Pricing</a> ·
|
||
<a href="https://kilo.ai/pricing/kilo-pass">Kilo Pass</a>
|
||
</p>
|
||
|
||
<p align="center">
|
||
500+ models. One open source agent in <a href="https://kilo.ai/install">VS Code</a>, <a href="https://kilo.ai/features/jetbrains-native">JetBrains</a>, <a href="https://kilo.ai/cli">CLI</a>, <a href="https://kilo.ai/slack">Slack</a>, and <a href="https://kilo.ai/cloud">Cloud</a>.
|
||
</p>
|
||
|
||
- ✨ Generate code from natural language
|
||
- ✅ Checks its own work
|
||
- 🧪 Run terminal commands
|
||
- 🌐 Automate the browser
|
||
- ⚡ Inline autocomplete suggestions
|
||
- 🤖 Latest AI models
|
||
- 🎁 API keys optional
|
||
|
||
## Quick Links
|
||
|
||
- [VS Code Marketplace](https://kilo.ai/vscode-marketplace?utm_source=Readme) (download)
|
||
- Install CLI: `npm install -g @kilocode/cli`
|
||
- [Official Kilo.ai Home page](https://kilo.ai) (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
|
||
|
||
1. Install the Kilo Code extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=kilocode.Kilo-Code).
|
||
2. Create your account to access 500+ cutting-edge AI models including GPT-5.5, Claude Opus 4.7, Claude Sonnet 4.6, and Gemini 3.1 Pro Preview, with transparent pricing that matches provider rates exactly.
|
||
3. Start coding with AI that adapts to your workflow. Watch our quick-start guide to see Kilo in action:
|
||
|
||
<a href="https://youtu.be/pqGfYXgrhig"><img src="https://img.youtube.com/vi/pqGfYXgrhig/maxresdefault.jpg" alt="Watch the video" width="640" height="360"></a>
|
||
|
||
## Get Started with the CLI
|
||
|
||
```bash
|
||
# npm
|
||
npm install -g @kilocode/cli
|
||
|
||
# Or run directly with npx
|
||
npx @kilocode/cli
|
||
```
|
||
|
||
Then run `kilo` in any project directory to start.
|
||
|
||
<!-- kilocode_change 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.
|
||
<!-- kilocode_change end -->
|
||
|
||
### Install from GitHub Releases (Optional)
|
||
|
||
Download the latest binary or source code from the [Releases page](https://github.com/Kilo-Org/kilocode/releases), use this quick guide:
|
||
|
||
- `kilo-<os>-<arch>.zip` is the CLI binary for your OS and CPU architecture on Windows and macOS. (`kilo-linux-<arch>.tar.gz` for Linux)
|
||
- `darwin` means macOS.
|
||
- `x64` is standard 64-bit Intel/AMD CPUs.
|
||
- `x64-baseline` is a compatibility build for older x64 CPUs(do not support AVX Instruction).
|
||
- `arm64` is ARM-based Linux/MacOS.
|
||
- `musl` is statically linked Linux build for Alpine/minimal Docker without glibc. Alpine/minimal Docker users should prefer the matching \*-musl asset.
|
||
- `kilo-vscode-*.vsix` is the VS Code extension package and not the CLI binary.
|
||
- `Source code` releases 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:
|
||
|
||
```bash
|
||
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](/CONTRIBUTING.md). It includes details on setting up your environment, coding standards, types of contribution and how to submit pull requests.
|
||
|
||
See [RELEASING.md](RELEASING.md) for the VS Code extension and CLI release process.
|
||
|
||
See [packages/kilo-jetbrains/RELEASING.md](packages/kilo-jetbrains/RELEASING.md) for the JetBrains plugin release process.
|
||
|
||
## Code of Conduct
|
||
|
||
Our community is built on respect, inclusivity, and collaboration. Please review our [Code of Conduct](/CODE_OF_CONDUCT.md) 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](/LICENSE).
|
||
|
||
## FAQ
|
||
|
||
<details>
|
||
<summary>Where did Kilo CLI come from?</summary>
|
||
|
||
Kilo CLI is a fork of [OpenCode](https://github.com/anomalyco/opencode), enhanced to work within the Kilo agentic engineering platform.
|
||
|
||
</details>
|