Skip to main content

GitHub tools

GitHub tools let you interact with your GitHub repositories directly from Glean, so agents can create and review pull requests, read files from specific branches, and fetch workflow logs without leaving Glean. After you connect GitHub and configure the GitHub app, these tools run with the permissions granted to your GitHub installation, honoring your organization and repository access controls while automating common engineering workflows such as drafting PR descriptions, inspecting diffs, and debugging CI failures through Glean.

You can use GitHub tools to do the following:

  • Create a PR
  • Create a branch
  • Edit code
  • Read a file from a branch
  • Fetch logs for a workflow
  • Find a diff for a PR

The following are the supported GitHub tools that you can use to create workflows. These tools are available for both Glean Agents and Glean Assistant.