packages/kilo-docs/pages/code-with-ai/platforms/github.md
Kilo for GitHub lets you interact with Kilo directly from your GitHub issues, pull requests, and review comments. Mention the bot and it will:
When you're reviewing a pull request and want a second opinion on a piece of code:
@kilocode-bot is this true?
The bot reads the review comment, the surrounding diff, and the relevant code in the repository to give you an informed answer.
{% image src="/docs/img/connect/github/github-review.png" alt="Asking @kilocode-bot a question on a GitHub pull request review comment" width="800" /%}
Tag the bot on any issue and ask it to handle the fix:
@kilocode-bot please fix
The bot will:
{% image src="/docs/img/connect/github/github-issue.png" alt="Asking @kilocode-bot to fix a GitHub issue" width="800" /%}
When a bug report comes in and you want to understand what's going on before diving in:
@kilocode-bot what could be the cause of this issue?
The bot examines the bug report, searches the codebase for related code paths, and shares its analysis directly in the issue thread.
{% image src="/docs/img/connect/github/github-bug.png" alt="Asking @kilocode-bot to diagnose a bug report on a GitHub issue" width="800" /%}
@kilocode-bot on an issue, pull request, or review commentFor implementation requests, the bot creates a new branch, commits the changes, and opens a PR back to the repository. You'll see the PR linked directly in the thread.
Once installed, @kilocode-bot is available on any issue or PR in the repositories you've authorized.
During a PR review, mention the bot on any comment or line of code to get a quick analysis. The bot can:
When new issues come in, the bot can diagnose probable causes and, if you ask, implement a fix directly. This works best for straightforward bugs where the issue description gives enough context to act.
Need to bump a dependency or apply a config change across your org? Mention the repos in a single comment and the bot handles each one.
Kilo Code credits are consumed the same way as any other Kilo interface. Credit usage depends on the model selected and the complexity of the task.
The bot isn't responding to mentions.
Make sure the Kilo Code Bot GitHub App is installed on the repository and that you're mentioning @kilocode-bot (not @kilo).
The bot can't access the repository. Verify that both the KiloConnect App and the Kilo Code Bot App are installed and have access to the repository in question.
The implementation doesn't match what I expected. Try providing more context in the issue description or comment. The bot works best when the problem and desired outcome are clearly described.