Migrate a multi-million-line ETL monolith into sub-modules
Nubank used Devin to split its core ETL monolith into sub-modules, reporting weeks instead of months and 20x cost savings (vendor story).
Done withDevin
- What they did
- Nubank gave Devin examples of data class migrations its engineers had done by hand. Some were used to fine-tune Devin, and the rest became a benchmark set. Devin then ran many migration sub-tasks in parallel. It wrote itself scripts for mechanical steps, such as detecting a data class's country extension from its file path. Engineers only managed the project, reviewed the changes, made small adjustments and merged the PRs.
- How it went
- Fine-tuning doubled task completion scores and cut sub-task time from about 40 minutes to 10. Nubank reports 8-12x engineering efficiency and over 20x cost savings. Data, Collections and Risk finished in weeks. Those figures come from the vendor.
- Worth knowing
- Devin needed fine-tuning on past manual migrations first. Early weeks still had errors and uncertainty before it improved with more examples.
Try it yourself with Devin
I have a large [language/framework] codebase in [repo name] with one monolithic module, [module name], that I want split into smaller sub-modules. First, analyze its dependencies and propose a split plan with module boundaries, and wait for my approval. Then do the migration in small, reviewable pull requests, running the existing tests after each step. You're done when all sub-modules build, tests pass, and every PR has a description of what moved and why. Do not merge anything; leave the PRs for my review.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: devin.ai · Undated
Related use cases
Hand narrow code changes to Devin for pull requests
A team used Devin for a month on small fixes like chart formatting and API edge cases, with tests and PRs; a complex full-stack task went poorly.
Migrate an Electron app from Vue 2 to Vue 3
Kearney gave Devin repo access to migrate a production Electron app to Vue 3 and update npm packages, committing after every five components.
Build a deals page step by step with Devin
An engineer had Devin implement a deals page in steps; it opened a PR in under 10 minutes, but CI failed, it added unnecessary changes and gave a false answer about a library.
Build a C compiler with a team of parallel agents
Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.
Patch annoying software behavior by pointing an agent at it
Author had an agent debug a Hyper-V vmconnect fullscreen bug with a hook system, and pointed Codex at the Codex app to add features.
Cross-check coding agent answers with a second agent
The poster built a tool that automatically sends Claude Code responses to Codex for a second opinion, replacing manual copy-pasting.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.