Brex

How Brex prevents bugs in a nearly decade-old monorepo with Greptile

2576
Issues caught per month
400+
Engineers

See how Greptile can help your team.

4+ languages
Tech Stack
Series D
Series
Fintech
Industry
GHES
Git Platform

We've tried more code review tools than I can count. Greptile outperforms them all by a mile. Honestly the only AI reviewer that doesn't annoy the shit out of me.

James Reggio

James Reggio

CTO @ Brex


Q&A

We started out with a pilot. Developers here were skeptical at first, since we had tried a few other products with relatively little success, but were pleasantly surprised by how many issues Greptile was catching out of the box. Now, Greptile reviews 100% of the code we write across Brex.

I personally spent a lot of time commenting on PRs telling people to follow our well documented best practices. With Greptile custom rules, I was able to reduce my time spent reviewing standard practices and allow Greptile to enforce them for me across the company.

Other tools struggled with our eight-year old monorepo and technical stack. Their feedback was generic and didn't seem to really understand our codebase. Greptile was the only tool that really caught issues and provided context-aware feedback. Building an equivalent system internally would have taken far longer and ultimately been more expensive.

I primarily care about two things: quality and throughput. Having a tool that sits between traditional static tooling and human reviewers eases the burden and allows us to move faster through increased confidence in our quality on smaller changes freeing up more time for the more complicated aspects. We use Greptile's mermaid diagrams and confidence scores as a proxy for how complicated individual pieces of code are, before going deep on it. When confidence is high, and the flow is simple, we move faster; when it's low or the diagram is convoluted, we add expert reviewers and dig deeper. That shortens reviews on straightforward changes and reduces risk on nuanced ones.


[ CODEBASE CONTEXT ]

It came down to codebase context for Brex

As a global financial platform working in an 8-year-old monorepo, Brex chose Greptile to catch the right bugs early and reduce time to merge.

Brex came to Greptile for an AI reviewer that understands real codebase context in a safety-critical codebase. The goal was simple: cut noise, catch real defects early, and keep engineers moving.

Brex wanted breadth without extra process. Greptile brings clear findings with rationale, PR diagrams for instant orientation, and lightweight suggestions that fit the existing workflow.

Context is the difference. Greptile learns the monorepo’s boundaries, call paths, contracts, and test topology, then uses PR diagrams to show exactly what a change touches and where risk clusters. Teams focus faster, review loops shrink, and merges land sooner with higher confidence.


[ KEEP READING ]

Find out more about Greptile

Find out more about how teams are using Greptile


[ PERFORMANCE ]

Greptile consistently catches more bugs in large repos

Median Time to Merge Comparison
Without Greptile20 hrs
Greptile
With Greptile1.8 hrs
Team Size vs Merge Time