packages/kilo-docs/pages/deploy-secure/managed-indexing.md
Kilo's Managed Indexing feature provides semantic search across your repositories using cloud-hosted embeddings. When enabled, Kilo indexes your codebase to deliver more relevant, context-aware responses during development.
Before enabling Managed Indexing:
Your workspace must be a Git repository
Indexing requires a Git repository root directory. Non-Git folders will not be indexed.
Available credit balance
If your balance reaches zero, managed indexing will be disabled and the extension will revert to local indexing (if configured).
mistralai/codestral-embed-2505 which currently charges $0.15/M input tokens.Codebase Indexing is rolling out across our users. It will automatically engage unless your repository root is configured to opt out.
.kilocode/config.json file in the root of your repository (if it doesn't already exist).{
"project": {
"managedIndexingEnabled": false
}
}
| Field | Type | Required | Description |
|---|---|---|---|
project.id | string | No | Custom name for your project. Defaults to the name from your Git origin remote. |
project.baseBranch | string | No | Specifies your base branch if it isn't main, master, dev, or develop. |
project.managedIndexingEnabled | boolean | No | Set to false to disable indexing for individual project repositories. Defaults to true. |
Organization-wide indexing is enabled for any organization that has a credit balance. If you want to disable indexing for a specific repository, set managedIndexingEnabled to false in the config file.
Indexes are stored for 7 days. If a branch or repository index hasn't been updated within that window, it will be garbage collected. The next time you open the project in VS Code with Kilo running, it will be re-indexed automatically.
This retention policy keeps costs minimal by only maintaining indexes for actively used code.
A minimal UI is available at app.kilo.ai to:
Enabling managed indexing will replace local self-hosted indexing entirely. If you have already configured local indexing for a workspace it will take precedence until you disable it.
If your credit balance reaches zero, the extension will automatically revert to local indexing (if previously configured).
Managed Indexing is ideal for: