Split an ETL monolith into smaller modules
Nubank had Devin break a huge ETL system into sub-modules by using past human migrations as training and review material.
- What they did
- Nubank first handed Devin examples of data-class migrations that engineers had already done manually. Some of those examples were used to tune the agent, while the rest served as a check on its performance. After that, Devin took on many migration pieces at once, including writing small helper scripts for repetitive steps like identifying a data class’s country extension from its file path. Engineers stayed in the loop to coordinate the work, inspect the edits, make minor corrections, and merge the pull requests.
- How it went
- Nubank says fine-tuning raised task-completion scores by 2x and reduced each sub-task from about 40 minutes to 10. The company also reports 8-12x engineering efficiency and more than 20x cost savings. Data, Collections, and Risk were finished in weeks, according to the vendor story. Early on, Devin still made mistakes and needed more examples before it settled down.
- Tips
- This works best when you can train the agent on real past migrations first. Keep the work split into reviewable chunks, and have people approve each change before it gets merged.
Try it yourself with Devin
You are helping me migrate a large [language/framework] ETL codebase from one monolithic module, [module name], into smaller sub-modules. First, inspect the dependencies and propose a split plan with clear boundaries, then pause and wait for my approval. After I approve, carry out the migration in small pull requests, using the existing codebase and past migration examples as guidance. For any step that would change data, remove code, update configs, or submit a PR, stop and ask before proceeding. Run the relevant tests after each change, explain what moved and why in each PR draft, and leave all approvals and merges to me.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Use Devin to ship a small game and site
A tester had Devin produce a Pong-like game plus a website, and the work wrapped up in less than 20 minutes.
Split a migration into parallel agent tasks
A developer used Devin to break a React Native-to-Swift migration into separate tracks and run them at the same time.
Have Devin click through and verify its own app work
Use Devin to build or run an app, then test it by navigating the interface itself and marking what passes.
Build and deploy a Game of Life site
A developer used Devin to create an interactive Game of Life website, add requested features step by step, and publish it to Netlify.
Make the smallest safe boolean fix in production
A reviewer had Devin correct a live boolean setting and received a pull request in about ten minutes.
Rewrite a README after a codebase rearchitecture
A developer had Devin scan a reworked repository and draft a new README with setup and API details in a pull request.