✓ ShippedByAgents
Practitioner (own blog/paper) New product

Upsun engineer has Claude write a 40K-line Python code review agent for the company's self-hosted GitLab; it has reviewed 1,000+ merge requests at about $1 each

Upsun runs self-hosted GitLab and Linear, which off-the-shelf AI review tools did not fit. An engineer who normally avoided Python built a custom review agent starting in January 2026, with Claude (Opus 4.5, later 4.6) writing the code and the Claude Agent SDK as the runtime, while he made the architecture and UX decisions, read the output and debugged. In the first two weeks the project grew to about 25K lines of application code and 22K lines of tests: webhooks from GitLab and Linear, a Haiku classifier that routes requests, Claude agents in GitLab CI with sandboxed (Bubblewrap, network allowlist) read-only tools, incremental reviews that survive force-pushes and rebases, Linear MCP lookups, and structured inline comments with one-click suggestions. It is used on 25 projects, has processed about 1,000 merge requests (about two reviews each), and costs about $0.50 per review. An experimental coding mode has written code to improve the agent itself.

The numbers (as reported)

Code~40K lines of Python written by Claude (~25K app + ~22K tests in the first two weeks)
Merge requests reviewed1,000+ (~2 reviews each)
Projects25
Cost~$0.50 per review, ~$1.00 per MR (running cost)

Facts

Company / subject
Upsun
Tools
Claude, Claude Agent SDK
Models
Claude Opus 4.5, Claude Opus 4.6, Claude Haiku
Codebase
greenfield
Work type
New product
Stack
Python, GitLab CI, Bubblewrap
Published
2026-02-19
Last checked
2026-11-19

What the source claims Practitioner (own blog/paper)

Claimed by the builder, writing about their own work. Not checked independently.

  • An engineer new to Python built a 40K-line review agent with Claude ~40K lines of Python
    “I vibe-coded a GitLab code review agent last month - 40K lines of Python written by Claude - and it has reviewed 1000 merge requests.”
  • The agent has reviewed 1,000+ merge requests across 25 projects at about $1 per MR 1,000+ MRs, ~$1.00 per MR
  • Fiddly changes such as incremental reviews took minutes instead of hours
    “each change took minutes instead of hours”

Caveats

Written by the engineer who built it on Upsun's developer site; the author's name is not shown on the page. It is an internal tool where, in his words, stakes are low. The 40K, 25K+22K and 'last month' figures are approximate and not fully consistent. The per-review cost is the running cost of reviews, not the cost of building the tool, so cost is not typed. Review quality is described qualitatively; it still flags trivial issues and occasionally hallucinates. The coding mode is experimental.

More stories by tool: ClaudeClaude Agent SDK

Related topics: New products built with agentsGreenfield projects

Source

Upsun Developer Center

One email a week: what actually shipped

New sourced stories, the numbers behind them, and what didn't work. No hype.

We'll only use this to send the newsletter. See the privacy page.