Command Palette

Search for a command to run...

Page Inspect

https://devin.ai/
Internal Links
4
External Links
12
Images
29
Headings
30

Page Content

Title:Devin
Description:Devin is an AI coding agent and software engineer that helps developers build better software faster. Parallel cloud agents for serious engineering teams.
HTML Size:414 KB
Markdown Size:10 KB
Fetched At:November 17, 2025

Page Structure

h2How Nubank refactors millions of lines of code to improve engineering efficiency with Devin
h2Overview
h2The Problem
h2The Decision: an army of Devins to tackle subtasks in parallel
h2The Solution: Custom ETL Migration Devin
h1Devin, the AI software engineer
h2Use cases
h3Code Migration + Refactors
h3Data Engineering + Analysis
h3Bugs + Backlog Work
h3Code Migration + Refactors
h3Data Engineering + Analysis
h3Bugs + Backlog Work
h3Applicationdevelopment
h3Bug & issuetriage
h3And many others
h2Learn & worktogether
h3Devin learns your codebase & picks up tribal knowledge
h3Code on the go
h3Use Devin's editor, shell and browser
h2Able to workwith hundreds of tools Devin connects to your favorite MCP servers, from Asana to Zapier
h4GitHub
h4Linear
h4Slack
h4Linear
h5Industry leaders choose to
h2Build with Devin
h3Build more withDevin
h4Need Devin for your enterprise?
h4Get started with Devin Enterprise

Markdown Content

Devin | The AI Software Engineer

- Home
- Enterprise
- Pricing
- Customers

View more

- About us
- Careers
- Blog
- Contact us
- Docs

- About us
- Careers
- Blog
- Contact
- Docs

Login

Get started

- Home
- Enterprise
- Pricing
- Customers

- About us
- Careers
- Blog
- Docs
- Contact

Get started

Login

## How Nubank refactors millions of lines of code to improve engineering efficiency with Devin

8x

engineering time efficiency gain

20x

cost savings

## Overview

One of Nubank’s most critical, company-wide projects for 2023-2024 was a migration of their core ETL — an 8 year old, multi-million lines of code monolith — to sub-modules. To handle such a large refactor, their only option was a multi-year effort that distributed repetitive refactoring work across over one thousand of their engineers. With Devin, however, this changed: engineers were able to delegate Devin to handle their migrations and achieve a 12x efficiency improvement in terms of engineering hours saved, and over 20x cost savings. Among others, Data, Collections, and Risk business units verified and completed their migrations in weeks instead of months or years.

## The Problem

Nubank was born into the tradition of centralized ETL FinServ architectures. To date, the monolith architecture had worked well for Nubank — it enabled the developer autonomy and flexibility that carried them through their hypergrowth phases. After 8 years, however, Nubank’s sheer volume of customer growth, as well as geographic and product expansion beyond their original credit card business, led to an entangled, behemoth ETL with countless cross-dependencies and no clear path to continuing to scale.

For Nubankers, business critical data transformations started taking increasingly long to run, with chains of dependencies as deep as 70 and insufficient formal agreements on who was responsible for maintaining what. As the company continued to grow, it became clear that the ETL would be a primary bottleneck to scale.

> Nubank concluded that there was an urgent need to split up their monolithic ETL repository, amassing over 6 million lines of code, into smaller, more flexible sub-modules.

Nubank’s code migration was filled with the monotonous, repetitive work that engineers dread. Moving each data class implementation from one architecture to another while tracing imports correctly, performing multiple delicate refactoring steps, and accounting for any number of edge cases was highly tedious, even to do just once or twice. At Nubank’s scale, however, the total migration scope involved more than 1,000 engineers moving ~100,000 data class implementations over an expected timeline of 18 months.

In a world where engineering resources are scarce, such large-scale migrations and modernizations become massively expensive, time-consuming projects that distract from any engineering team’s core mission: building better products for customers. Unfortunately, this is the reality for many of the world’s largest organizations.

## The Decision: an army of Devins to tackle subtasks in parallel

At project outset in 2023, Nubank had no choice but to rely on their engineers to perform code changes manually. Migrating one data class was a highly discretionary task, with multiple variations, edge cases, and ad hoc decision-making — far too complex to be scriptable, but high-volume enough to be a significant manual effort.

Within weeks of Devin’s launch, Nubank identified a clear opportunity to accelerate their refactor at a fraction of the engineering hours. Migration or large refactoring tasks are often fantastic projects for Devin: after investing a small, fixed cost to teach Devin how to approach sub-tasks, Devin can go and complete the migration autonomously. A human is kept in the loop just to manage the project and approve Devin’s changes.

## The Solution: Custom ETL Migration Devin

A task of this magnitude, with the vast number of variations that it had, was a ripe opportunity for fine-tuning. The Nubank team helped to collect examples of previous migrations their engineers had done manually, some of which were fed to Devin for fine-tuning. The rest were used to create a benchmark evaluation set. Against this evaluation set, we observed a **doubling of Devin’s task completion scores after fine-tuning, as well as a 4x improvement in task speed. Roughly 40 minutes per sub-task dropped to 10,** which made the whole migration start to look much cheaper and less time-consuming, allowing the company to devote more energy to new business and new value creation instead.

Devin contributed to its own speed improvements by building itself classical tools and scripts it would later use on the most common, mechanical components of the migration. For instance, detecting the country extension of a data class (either ‘br’, ‘co’, or ‘mx’) based on its file path was a few-step process for each sub-task. Devin’s script automatically turned this into a single step executable — improvements from which added up immensely across all tens of thousands of sub-tasks.

There is also a compounding advantage on Devin’s learning. In the first weeks, it was common to see outstanding errors to fix, or small things Devin wasn’t sure how to solve. But as Devin saw more examples and gained familiarity with the task, it started to avoid rabbit holes more often and find faster solutions to previously-seen errors and edge cases. Much like a human engineer, we observed obvious speed and reliability improvements with every day Devin worked on the migration.

Results: Delivering an 8-12x faster migration, lifting a burden from every engineer, and slashing migration costs by 20x.

> “Devin provided an easy way to reduce the number of engineering hours for the migration, in a way that was more stable and less prone to human error. Rather than engineers having to work across several files and complete an entire migration task 100%, they could just review Devin’s changes, make minor adjustments, then merge their PR”
>
> Jose Carlos Castro, Senior Product Manager

8-12x efficiency gains This is calculated by comparing the typical engineering hours required to complete a data class migration task against the total engineering hours spent prompting and reviewing Devin’s work on the same task.

Over 20x cost savings on scope of the migration delegated to Devin This is calculated by comparing the cost of running Devin versus the hourly cost of an engineer completing that task. The significant savings are heavily driven by speed of task execution and cost effectiveness of Devin relative to human engineering time – it does not even consider the value captured by completing the entire project months ahead of schedule!

Fewer dreaded migration tasks for Nubank engineers

# Devin, the AI
software engineer

Start building

Crush your backlog with your personal AI engineering team.

- 1

Ticket

Integrate Slack, Linear, and Jira
- 2

Plan

Quickly review Devin's proposal
- 3

Test

Devin tests changes by itself
- 4

PR

Review changes natively

slack

Linear



- Ticket

Integrate Slack, Linear, and Jira
- Plan

Quickly review Devin's proposal
- Test

Devin tests changes by itself
- PR

Review changes natively

Devin has authored millions of lines of code for top teams. See what our customers built.

## Use cases

From implementing new features to fixing thousands of lint errors, Devin can clear your backlog, modernize your codebase, and help you build more.

### Code Migration + Refactors

- Language migrations
- Version upgrades
- Codebase restructuring



### Data Engineering + Analysis

- Data warehouse migrations
- ETL development
- Data cleaning and preprocessing



### Bugs + Backlog Work

- Ticket resolution
- CI/CD
- First-draft PR creation for backlog tasks





### Code Migration + Refactors

- Language migrations
- Version upgrades
- Codebase restructuring



### Data Engineering + Analysis

- Data warehouse migrations
- ETL development
- Data cleaning and preprocessing



### Bugs + Backlog Work

- Ticket resolution
- CI/CD
- First-draft PR creation for backlog tasks

### Application
development

- Frontend bugs and edge cases
- Unit and E2E testing
- Building SaaS integrations

### Bug & issue
triage

- Automated on-call response
- Ticket resolution
- CI/CD autotriage

### And many others

- Technical debt
- Performance optimization
- Scraping
- New repo onboarding
- Maintaining documentation

## Learn & work
together

Devin is built for collaboration and can learn to fit into your unique workflow.



Use when

When working in the backend repo

Approved new knowledge: When working in the backend repo

Rejected new knowledge: When working in the backend repo

### Devin learns your codebase &
picks up tribal knowledge





### Code on the go

Write code using natural language
instructions with Devin on mobile.





Collaborate### Use Devin's editor, shell
and browser

Take over and run commands, edit code,
or use the browser for Devin at any time.



## Able to work
with hundreds of tools

Devin connects to your favorite MCP servers, from Asana to Zapier

Build together withConfluence

Build together withAirtable

Build together withSegment

Build together withAsana

Build together withNotion

Build together withStripe

Build together withAWS

Build together withGitHub

Build together withDatadog

Build together withLinear

Build together withDatabricks

Build together withSlack

Build together withGoogle Drive

Build together withSentry

Build together with

gg

gg

PostgreSQL

Build together withAzure

Build together withSnowflake

Build together withMongoDB

#### GitHub

Devin can independently create PRs, respond to PR comments, review PRs, etc.

#### Linear

Assign Devin tickets directly in Linear, or add the Devin tag.

#### Slack

Assign Devin tasks by tagging @Devin in Slack. Devin keeps you updated on progress in Slack replies.

#### Linear

Tag @Devin directly in Linear tickets or add the Devin tag to delegate tasks to Devin.

gg

gg

GitHub

Devin can independently create PRs, respond to PR comments, review PRs, etc.

Linear

Tag @Devin directly in Linear tickets or add the Devin tag to delegate tasks to Devin.

Slack

Assign Devin tasks by tagging @Devin in Slack. Devin keeps you updated on progress in Slack replies.

##### Industry leaders choose to
## Build with Devin
Hear from our customers

### Build more with
Devin
Get started

#### Need Devin for your enterprise?
#### Get started with Devin Enterprise

Devin Enterprise provides additional capabilities, security and control for your organization.

Learn about Devin Enterprise Contact us

Privacy policy Terms of service

Linkedin

X (Twitter)