GitHub Integration
The GitHub integration gives AI agents the ability to create and manage issues, pull requests, file contents, and code search across repositories you authorise.
Connecting GitHub #
Go to Dashboard → Tools → GitHub and click Connect. You will authorise via GitHub's OAuth App flow. Select the organisations and repositories to grant access to.
Available Tools #
| Tool name | Description | Auth scope |
|---|---|---|
github_create_issue | Open a new issue in a repository | write |
github_list_issues | List issues with filters (state, label, assignee) | read |
github_get_file | Read a file's contents from a branch | read |
github_search_code | Search code across authorised repositories | read |
github_create_pr | Open a pull request between two branches | write |
github_add_comment | Add a comment to an issue or PR | write |
Example — Create an Issue #
typescript
const result = await agentbridge.execute({
tool: 'github_create_issue',
input: {
owner: 'my-org',
repo: 'my-repo',
title: 'Fix: null pointer in payment flow',
body: 'Observed in production logs. Stack trace: ...',
labels: ['bug', 'priority: high'],
},
});
Was this page helpful?