✦ Hackathon · Build with Gemini XPRIZE

Five agents. One pipeline. Zero manual review.

PR Pilot autonomously reviews pull requests with a five-agent pipeline — Reviewer reviews, Fixer patches, Tester validates, Verifier gates, Escalator decides. A full review lands in ~94 seconds for about four cents.

~94s
Full pipeline latency
~$0.04
Per PR · Gemini 2.5 Flash
L1→L3
Graduated autonomy
100%
XPRIZE compliance
Pipeline architecture

Each agent owns one phase. Context flows down the chain.

A FastAPI webhook triggers AgentChain orchestration over the Gemini API; results post back to the PR. The Fixer sees what the Reviewer found, the Verifier checks the Fixer's patches, and the Escalator makes the final call.

Agent 1

Reviewer

Code analysis
14s
Agent 2

Fixer

Patch generation
29s
Agent 3

Tester

Test writing
16s
Agent 4

Verifier

Quality gate
17s
Agent 5

Escalator

Decision maker
18s
Scalable

Cloud Run deploy

Zero-downtime, auto-scaling, request concurrency — one gcloud run deploy. Scales linearly: 100 PRs for under $4.

Auditable

Full audit trail

Every agent's reasoning, every generated fix, every decision logged as structured JSON to data/reviews/.

Compliant

XPRIZE-ready

Gemini API, Google Cloud Run, and Stripe — competition rules met, with documentation to match.

Graduated autonomy

It doesn't rubber-stamp. It escalates on confidence.

PR Pilot operates at three levels, each escalating only when confidence demands it — the safety gate that separates autonomous review from automated approval.

L1 Comment

Surface & suggest

Low-confidence findings posted as review comments with fixes attached. Nothing is blocked — the author sees what to change and why.

L2 Request changes

Block until addressed

Medium-confidence issues that should gate the merge. Fixes provided inline; the PR stays blocked until the author responds.

L3 Auto-approve

Ship clean PRs

High-confidence, fully-clean PRs are approved autonomously. The escalator only reaches this level when every gate passes.

Gemini 2.5 FlashGoogle Cloud RunFastAPI webhookStripe billingMIT licensed