# Cursor migrates Brex services through reviewed PRs

Brex reports using self-hosted Cursor agents to migrate 180 microservices from Micronaut 3 to 4 in one month with one engineer. The earlier effort had moved about fifty services in a quarter with three engineers.

Agent: Cursor
Tools: Linear, GitHub, Bazel, Kotlin, CI
Category: Software & DevOps
Date: 2026-07-22

Outcome: Brex reports using self-hosted Cursor agents to migrate 180 microservices from Micronaut 3 to 4 in one month with one engineer. The earlier effort had moved about fifty services in a quarter with three engineers.

## Steps

1. Trigger a generation agent from Linear to transform code, run builds and open a draft PR.
2. Trigger a validation agent by PR label to monitor CI, deploy to development and run integration tests.
3. Allow up to three repair attempts, then escalate failures; humans review and merge.

Human oversight: Brex engineers configured tools and eleven skills, reviewed draft PRs and retained all production merge decisions.

Source: [Sofhia de Souza Gonçalves](https://www.brex.com/journal/agent-automations-for-big-migrations)

Canonical URL: https://agentsinuse.com/use-cases/cursor-to-migrate-brex-micronaut-services-with-review/
