Software & DevOpsDone with Cursor
Migrate 180 microservices to a new framework version
Brex built Cursor-based self-correcting agents that let one engineer migrate 180 microservices to a newer Micronaut version in about a month.
- What They Did
- Brex split the work between two self-hosted Cursor agents. Creating a Linear ticket triggers a generation agent. It combines scripts with LLM reasoning, builds locally, self-corrects, and opens a draft PR. A GitHub label then triggers a validation agent. It deploys to dev, runs integration tests, and patches failures up to three times. Both agents load eleven small skills, one per failure type.
- How It Went
- One engineer migrated 180 microservices in a month, which Brex puts at 32x per person. Cost per service fell about 90%. A few PRs passed all tests but still caused subtle production bugs.
- Worth Knowing
- A single giant prompt run from laptops failed. Cloud-hosted agents, modular skills and a three-attempt cap fixed that. Human review was still required, and weak test coverage let bugs through.
Try it yourself with Cursor
Write a self-correcting migration agent that updates [list of services/repos] from [old framework version] to [new framework version], running build and tests after each change and fixing failures automatically. Have it report progress per service and pause before opening any pull requests for my review.