Docs navigation
Surfaces

GitHub

GitHub lets the agent review pull requests, answer mentions in PR and issue comments, and work with the code in its sandbox. Each agent gets its own GitHub App, and everything it posts appears under that App's name. A whole pull request is one task.

Connect GitHub

You name the App, confirm it on GitHub and choose the repositories to install it on. The agent needs a coding harness, such as Claude Code or Codex.

bash
# Prints a single-use connect link, opens it, and waits until GitHub is connected
bb agent connect github
bb agent surface list

Triggers

TriggerFires whenDefault
Auto-review pull requestsA pull request is opened or marked ready for review.On
Respond to @mentionsSomeone mentions the App in a PR or issue comment, or replies to one of its review comments.On
Re-review on new commitsCommits are pushed to an open PR.Off

Settings

SettingWhat it doesDefault
Require a posted reviewRetries once when a review run ends without posting a review.Off
Push branches and open pull requestsLets the agent push branches and open PRs. Git access is read-only without it.Off
Hide other bots' commentsHides comments and reviews from other GitHub Apps from the agent.Off

Connecting GitHub gives the agent the brainbase_github tools. Disconnecting stops new work; the App stays on GitHub until you uninstall it.

Guide