Agents Lookup

Use cases / Software development

Break a large monolith into smaller modules

Agents take one slice of a big refactor at a time, following a playbook, while engineers review each slice before it merges.

DifficultyAdvanced
Setup time1-2 weeks
CategorySoftware development

The use case

Splitting a monolith is a long, repetitive project that rarely gets prioritized. Nubank's story with Devin describes moving a large ETL codebase into smaller sub-modules by breaking the work into many similar tasks, teaching the agent the pattern with examples, and running many sessions in parallel. Engineers reviewed and merged each piece and fed corrections back so later runs improved. This fits work where every unit follows the same recipe. Engineers still own the playbook, review every change, and keep checks in place to catch dependency cycles or broken imports.

Example workflow

  1. Write a migration playbook with worked examples
  2. Split the codebase into independent units of work
  3. Run agent sessions on units in parallel
  4. Review each change and note corrections
  5. Update the playbook and continue with the next batch

Tools

Risks and guardrails

Sources

Written by Agents Lookup. Credits and official pages for the tools this use case names: