Skip to main content
The Gauge GitHub App connects your GitHub repositories to your Gauge Agents organization. With it, Gauge can:
  • Give coding agents access to private repositories during runs.
  • Generate evals from a repository.
  • Run evals on each pull request and report the result as a GitHub check and a comment.
You choose which repositories the App can use.

Install the App

1

Open GitHub settings in Gauge

In Gauge Agents, open Settings → GitHub for the organization that should own the runs. Select Install GitHub App.
2

Choose repositories on GitHub

GitHub asks which account to install on and which repositories to share. Select only the repositories Gauge needs.
3

Confirm the connection

GitHub returns you to Gauge, which shows GitHub App connected.
If you are not an owner of the GitHub account, GitHub sends an install request to an owner instead. Gauge shows Install requested until the owner approves it. To change access later, select Add or remove repositories.

Evaluate pull requests

Pull request evals check a change before you merge it. For example, a pull request that changes your CLI can run the tasks you expect agents to complete with that CLI. If agents can no longer finish a task, the pull request shows a failing check. To turn them on, add a gauge.json file at the repository root. It names your Gauge organization and lists the eval files to run:
gauge.json
Each eval file describes one task and the criteria Gauge judges:
evals/healthcheck.md
config.agents lists the coding agents to run. Write criteria that Gauge can verify from the session. See Agent Experience.

What happens on a pull request

When a pull request is opened or receives new commits, Gauge:
  1. Adds a Gauge evaluations check to the latest commit.
  2. Runs every listed eval file.
  3. Marks the check as passed or failed after the runs are judged.
  4. Posts a comment with the results and links to the runs in Gauge. Gauge updates the same comment on later pushes.
To evaluate the same commit again, select Re-run on the check in GitHub. Pull requests from forks do not start runs. Pull request evals use your organization’s Gauge Agents credits, like any other run.

Troubleshooting