back to features

GitHub Integration

Bring ChatBotKit AI agents into GitHub issues and pull requests to reply in-thread, triage, read code, and act on your repositories.

ChatBotKit's GitHub integration puts an AI agent inside the issues and pull requests your team already works in. @mention the bot in any issue or PR comment and it replies in the thread, using its configured model, backstory, skillsets, datasets, and memory.

Each integration is its own GitHub App, installed on the repositories you choose. After installation the agent runs on its own: GitHub forwards events to ChatBotKit, the bot answers when it is summoned, and everything it does is scoped to the repositories and permissions the App was granted.

What You Can Do

  • Summon the bot in a thread: @mention it in an issue or pull request and it answers in-thread, picking up the issue body, recent comments, and - on a pull request - the diff as context.
  • Triage automatically: Add labels, assign people, and open or close issues directly from the conversation.
  • Read the repository: Read individual files and list directory contents to ground answers in the actual code.
  • Call any endpoint: A generic ability lets the agent make authenticated calls to any GitHub REST API endpoint, bounded by the App's permissions.
  • Hand off to a CLI: Mint a short-lived, repository-scoped access token for git and CLI workflows.
  • Run agentic workflows: Pair the bot with skillsets and datasets so a single @mention can search proprietary data and trigger real actions.

How It Works

When someone @mentions the bot, GitHub delivers the event to ChatBotKit, which verifies it against the integration's webhook secret. The bot generates a response with its configured model and tools, then posts it back as a comment. Tokens to act on the repository are minted on demand from the integration's own GitHub App credentials and the installation that produced the event, so nothing long-lived is stored and the same App can serve many organizations. The bot only acts when it is explicitly @mentioned, so it stays out of ordinary discussion.

Setup

Register a GitHub App and point its webhook at the integration's event URL. In ChatBotKit, create a GitHub integration, add the App ID, private key, and webhook secret, and choose the bot that should answer. Install the App on the organizations and repositories where the bot should be available, selecting exactly the repositories it may access.

Practical Uses

GitHub bots work well for issue triage, answering questions about a codebase, summarizing long threads, drafting responses to bug reports, and assistants that read code and connected systems to help maintainers move faster. Because each integration is a dedicated GitHub App, you control precisely which repositories and permissions the agent has.