Overview
The GitHub toolset enables AI agents to interact with your GitHub account and organizations. Agents can create and update repositories, manage issues, open and review pull requests, add comments, and merge branches — all through natural language. This toolset is ideal for automating engineering workflows and bringing code review into conversational AI experiences.Key Capabilities
- Repository management - Create, inspect, and list repositories
- Issue tracking - Create, update, close, comment on issues
- Pull requests - Open, list, merge, and inspect PR commits and file diffs
- Code review - Leave line-level review comments and submit approvals or change requests
- Search - Find repositories by keyword, language, or stars
- User and org lookup - Read profile data for users and organizations
Available Tools
Repositories
Issues
Pull Requests
Code Review
Configuration Guide
Setup
Setup
Step 1: Open GitHub Developer settings
- Sign in to GitHub.
- Click your profile picture in the top-right corner and choose Settings.
- In the left sidebar, scroll down and click Developer settings.
- Select OAuth Apps, then click New OAuth App (or Register a new application if this is your first one).

To create an OAuth App under a GitHub organization instead of your personal account, open the organization’s Settings → Developer settings → OAuth Apps. You need admin access to the organization.
Step 2: Get the Redirect URI from PipesHub
Before filling in the GitHub form, copy the Redirect URI from PipesHub so the values match exactly.- In PipesHub, go to Workspace Settings → Actions.
- Find GitHub in the list and click + Setup (or Configure).
- Copy the Redirect URI shown in the dialog.

Step 3: Register the OAuth App
In the GitHub Register a new OAuth application form:Click Register application.

Step 4: Copy Client ID and generate a Client Secret
After registration, GitHub shows the OAuth App settings page with your Client ID visible.- Copy the Client ID — used as Client ID in PipesHub.
- Under Client secrets, click Generate a new client secret.
- Copy the secret immediately — used as Client Secret in PipesHub.

Step 5: Required scopes
PipesHub requests the following scopes during the OAuth consent flow. You don’t configure them on the GitHub side — they are requested automatically when the user authorizes.If your GitHub organization has OAuth App access restrictions enabled (the default for new orgs), members may need to request approval from an organization owner before the toolset can access org-owned repositories.
Step 6: Configure the GitHub toolset in PipesHub
- In PipesHub, return to Workspace Settings → Actions.
- Find GitHub and open setup / configuration (+ Setup or Configure).
- Confirm the Redirect URI in the dialog matches the Authorization callback URL you registered in GitHub in Step 3.
- Paste your Client ID and Client Secret, then save the instance.

Step 7: Authenticate the GitHub toolset
Authentication uses the same OAuth flow in either location:- Admins can authenticate the shared instance directly under Workspace Settings → Actions.
- Users can authenticate their own personal instance under Your actions (in the Personal section of the sidebar).
- On the GitHub tile (in Actions or Your actions), click Authenticate with OAuth.
- A popup opens to GitHub’s authorization page — review the requested scopes and click Authorize.
- The popup closes and the GitHub tile now shows Authenticated status.


Step 8: Add GitHub to an agent
- Go to the Home page.
- Next to Agents, click + to create a new agent.
- Give the agent a name, drag the GitHub toolset onto the canvas, connect it to the Agent Core node with your model and chat input/output, then create the agent.

FAQ
What's the difference between GitHub Connector and GitHub Toolset?
What's the difference between GitHub Connector and GitHub Toolset?
Example: Use the GitHub Connector to search past issues and PRs across your repos. Use the GitHub Toolset to let agents file bugs, merge PRs, or post review comments on your behalf.
Should I use a GitHub OAuth App or a GitHub App?
Should I use a GitHub OAuth App or a GitHub App?
PipesHub’s GitHub toolset uses an OAuth App because the integration acts on behalf of a user. GitHub Apps offer finer-grained per-repository permissions and short-lived tokens, but require installation on each repo or organization. For most teams, the OAuth App flow is simpler to set up.
My organization blocked the OAuth App. What now?
My organization blocked the OAuth App. What now?
GitHub organizations can restrict which OAuth Apps access their data. If authorization fails with an organization access warning, ask an organization owner to approve the app under Organization Settings → Third-party access → OAuth app policy.
Usage Tips
How do I create an issue?Ask your agent to “open an issue in acme/widgets titled ‘Login page 500 error’ and assign it to alice”. The agent fills in title, body, assignees, and labels. How do I review a pull request?
Ask to “review PR #57 and approve it with a comment” or “request changes on PR #91 saying the tests need updating”. The agent submits the review in the right state. How do I leave a line-level comment?
Ask to “comment on line 42 of src/auth.py in PR #88 saying this should be a constant”. The agent attaches the comment to the specific file and line.
