Kilo Code
A Privacy-Preserving Coding Assistant
Kilo Code is one of the most popular coding assistants available today, and it’s completely free as a Visual Studio Code extension. By combining Kilo Code with Cortecs, you can create a privacy-preserving coding assistant. This guide will walk you through the setup.
1. Install Kilo Code
First, install the Kilo Code extension in your VS Code. You can find it in the Visual Studio Code Marketplace. Follow the official installation instructions.
Once installed, you’ll need to configure an external provider.
The first thing is to install the extension in your VSCode. See the official documentation to see how to do that.
2. Connect Cortecs
Cortecs provides OpenAI-compatible API endpoints, making it easy to integrate with Kilo Code and many other tools.
Use the following settings to connect Kilo Code to Cortecs: – API Provider: OpenAI Compatible – Base URL: https://cortecs.ai/api/v1/models/serverless/ – API Key: Your API Key – Model: Qwen2.5-Coder-32B-Instruct (feel free to pick another one from the catalogue)
3. (Optional) Enable Local Code Indexing
To improve context awareness, enable code indexing. It can be deployed locally, so no code is stored outside of your computer.
Start a local Qdrant vector database: docker
docker run -p 6333:6333 qdrant/qdrant
In Kilo Code, click the Indexing button in the bottom-right corner (see screenshot).
Configure the embedding model:
– API Provider: OpenAI Compatible – Base URL: https://cortecs.ai/api/v1/models/serverless/ – API Key: Your API Key – Model: bge-large-en-v1.5 (feel free to pick another one from the catalogue)
- Model dimension: 1024 (reasonable default)
Save the settings and press Start indexing.
Once complete, Kilo Code will have full local context of your codebase — without sending data to external servers.

Enjoy your privacy-preserving coding assistant with the power of Cortecs and Kilo Code. Explore other models, tweak the setup to your needs, and join the conversation on our Discord to share feedback 👩💻👨💻
Last updated