Integrations

GitHub Integration

Deploy your AI as a GitHub App that responds to issues, pull requests, and discussions with full repository context.

| View as Markdown
Hunter Hodnett
Hunter Hodnett CPTO at Chipp
| 1 min read
# integrations # github # deployment # code-review

Deploy your Chipp AI as a GitHub App. Users @mention your bot in issues, pull requests, and discussions to get AI-powered responses with full repository context — perfect for code review, issue triage, security auditing, and documentation.

ℹ️

GitHub integration requires a Builder plan or higher.

Upgrade to Builder →

What the GitHub Bot Can Do

CapabilityDescription
Read repository filesAccess source code, configs, and documentation
Review pull requestsAnalyze diffs and changed files with context
Search codeFind patterns, functions, and references across the repo
Triage issuesCategorize, label, and respond to new issues
Post commentsRespond in issues, PRs, and discussions
Add labelsAutomatically label issues and PRs for organization

Getting Started

GitHub uses a streamlined one-click manifest flow — no manual OAuth configuration needed.

1

Deploy to GitHub

Go to your app’s Share page → Deploy tab → Deploy on GitHub card. Click Add Deployment.

You’ll be redirected to GitHub to create a GitHub App from a pre-configured manifest. Click Create GitHub App and confirm.

2

Install to Repositories

After creation, GitHub provides an install link. Select which repositories should have access to the bot. You can install it on specific repos or your entire organization.

3

Start Using

Your bot is now active. @mention its slug in any issue, PR, or discussion to get a response. The slug is displayed in the integration status panel.

plaintext
@my-app-chipp-ai Can you review this PR for security issues?

How It Works

When someone @mentions your bot:

  1. GitHub sends a webhook to Chipp with the comment context
  2. Your bot reads the issue/PR details, including title, description, labels, and diffs
  3. Repository tools are registered so the bot can read files, search code, and review changes
  4. The AI generates a response using your app’s system prompt and knowledge base
  5. The response is posted as a GitHub comment in Markdown format

The bot shows a thinking indicator (eyes emoji) while processing and a rocket emoji when done.

Supported Events

EventTriggerBot Responds In
Issue comment@mention in an issueSame issue thread
PR comment@mention on a pull requestSame PR thread
PR review comment@mention on an inline code commentSame review thread
Discussion comment@mention in a GitHub DiscussionSame discussion
New issueIssue opened (if auto-respond enabled)New comment on the issue

The bot only responds to human-created events. Comments from other bots are ignored to prevent loops.

Repository Tools

When your bot responds, it has access to these tools for understanding your codebase:

ToolWhat It Does
Get file contentsRead any file by path (source code, configs, docs)
Get PR diffView the complete unified diff of a pull request
Get PR filesList changed files with addition/deletion counts
Search codeFind patterns and references across the repository
List issuesSearch and filter issues by state, labels, or assignee
Get comment threadRead the full conversation history
Create commentPost follow-up comments for multi-step responses
Add labelApply labels for automated triage
Add reactionReact to comments with emoji

Configuration

Auto-Respond to New Issues

By default, the bot only responds when @mentioned. You can enable auto-respond to have the bot automatically comment on every newly opened issue — useful for support repos and issue triage workflows.

Toggle this in your app’s GitHub settings under Share & Deploy.

Pre-Built Templates

Chipp provides GitHub-optimized templates to get started quickly:

TemplatePurpose
Code ReviewerIn-depth PR code review
Security ReviewerOWASP/CWE-focused security audits
Issue TriageCategorize issues and suggest labels
Docs AssistantExplain codebase and generate documentation
Release Notes GeneratorSummarize merged PRs into release notes

Each template comes with an optimized system prompt and suggested starting messages.

Permissions

The GitHub App requests these permissions during setup:

PermissionAccess LevelWhy
ContentsReadRead repository files and code
IssuesWritePost comments, add labels
Pull RequestsWritePost comments, review diffs
DiscussionsWritePost in GitHub Discussions
MetadataReadAccess repo names and public metadata

The bot is read-only for code. It can post comments and labels but cannot modify code or merge pull requests.

Rate Limits

ResourceLimit
GitHub API requests5,000/hour per installation
Code search10 requests/minute
Comment length65,536 characters

For typical usage (dozens of daily interactions), you won’t hit these limits. Code search is the tightest constraint — the bot uses it sparingly in high-volume scenarios.

Billing

GitHub integration uses your standard LLM token billing. There’s no separate per-message fee for GitHub interactions. GitHub API calls (reading files, searching code) are free and not metered.

Troubleshooting

Bot not responding?

  • Make sure you @mentioned the exact bot slug (shown in your GitHub settings)
  • Verify the bot is installed on the repository in question
  • Check that the webhook URL is active in your GitHub App settings

Responses seem generic?

  • Add knowledge sources to your app for domain-specific context
  • Customize the system prompt to focus on your use case (code review, triage, etc.)
  • Use one of the pre-built templates as a starting point

Rate limit errors?

  • Code search is limited to 10/minute. If your bot searches frequently, space out requests
  • Consider using file reads instead of code search for known file paths
ℹ️

MCP server access requires a Builder plan or higher. See the MCP Setup Guide to get started.