IntegrationsBuilt-in Providers

GitHub

Connect GitHub to your Appstrate agents.

Overview

GitHub is a collaborative development platform, allowing your agents to manage repositories, issues, and pull requests.

Authentication Mode

PropertyValue
Typeoauth2
HeaderAuthorization: Bearer <token>
Default scopesrepo, read:user

Available Scopes

ScopeDescription
repoFull repository access
read:userRead user profile
user:emailRead user emails
read:orgRead org membership
gistCreate gists
notificationsAccess notifications
workflowUpdate GitHub Actions workflows

Authorized URIs

The agent can access the following endpoints through the sidecar proxy:

  • https://api.github.com/*

Connect GitHub

  1. Register a new OAuth application in the GitHub developer settings
  2. Set the callback URL to the Appstrate redirect URI
  3. Copy the Client ID and Client Secret
  4. Enter these credentials in the GitHub provider settings on Appstrate

Usage in an Agent

Once connected, the agent can call GitHub APIs through the sidecar proxy. Example prompt:

Every morning, check for new issues and pull requests on the "my-project" repo.
For each PR, read the diff and write a summary of the changes.
Post a review comment on PRs that touch the "src/api/" directory.

On this page