This is the Kilo Code documentation site. Kilo Code is the leading open source agentic engineering platform.
The dev server is run with bun dev and runs on http://localhost:3002. Typically the user will be running it themselves, so always check if it is running FIRST before deciding to run it yourself to test something.
When making changes only to the documentation, create branches with the docs/ prefix:
git checkout -b docs/description-of-change
This convention helps identify documentation-only PRs and keeps them organized.
This project uses Markdoc for rendering markdown with custom components. Custom tags allow you to embed React components directly in markdown files.
Use the Markdoc image tag format:
{% image src="/docs/img/kilo-provider/connected-accounts.png" alt="Connect account screen" width="800" caption="Connect account screen" /%}
Note that this site is served under kilo.ai/docs so the /docs prefix must be present in every image path.
Image attributes:
| Attribute | Type | Required | Description |
|---|---|---|---|
src |
String | Yes | The image source URL |
alt |
String | Yes | Alternative text for the image |
width |
String | No | Width of the image (e.g., '500px', '80%') |
height |
String | No | Height of the image (e.g., '300px', 'auto') |
caption |
String | No | Caption displayed below the image |
Use the Markdoc callout tag format:
{% callout type="info" %}
You can report any bugs or feedback by chatting with us in our [Discord server](https://discord.gg/ovhcloud), in the AI Endpoints channel.
{% /callout %}
Callout attributes:
| Attribute | Type | Default | Description |
|---|---|---|---|
title |
String | - | Optional custom title for the callout |
type |
String | "note" | One of: generic, note, tip, info, warning, danger |
collapsed |
Boolean | false | When true, the callout starts collapsed |
Use the Markdoc codicon tag format:
{% codicon name="gear" /%}
pages/lib/nav/
getting-started.ts, code-with-ai.ts, ai-providers.ts)lib/nav/index.tslib/types.ts for the NavSection and NavLink interfacesNever remove a page without adding a redirect. This prevents broken links from search engines, external references, and user bookmarks.
previous-docs-redirects.jsRedirect format:
{
source: "/docs/old-path",
destination: "/docs/new-path",
basePath: false,
permanent: true,
}
Update the navigation file to remove or update the link
Redirects are loaded in next.config.js