Banque régionale · Tokyo
Japanese bank: 4M lines of COBOL, 3 AI agents, 60% migrated in 14 months.
9 devs retiring in 3 years. Abbeal multi-agent method: Archaeologist, Architect, Cleaner. Bounded contexts.
KPI
60%
parc migré en 14 mois
Duration
14 mois
Team
8 engineers
Hub(s)
Tokyo
4 million lines of COBOL, 12 people to maintain it, 9 retiring in 3 years. That's not technical debt, it's a cliff.
The context
Japanese regional bank, 1,800 employees, Tokyo hub. Core banking system written in COBOL since 1987, two generations of mainframes behind. Patchy documentation, opaque dependencies, business rules scattered across 40-year-old copybooks.
The problem
- 4M lines of COBOL, 9 of 12 maintainers retiring in 3 years
- Documentation 40% obsolete, business rules untracked
- Release cycle: 14 weeks for a minor change
- No automated tests on the core, 3 weeks of manual validation
- Annual maintenance cost: 4.2M EUR (mainframe licenses + outsourcing)
The approach
Abbeal multi-agent method: three specialized AI agent roles, supervised by 8 human engineers. The Archaeologist documents existing code, the Architect recomposes into Java/Kotlin services by bounded contexts, the Cleaner removes dead code after equivalence validation.
The principles
- Migration by bounded contexts (DDD), not by technical modules
- Equivalence tests: each migrated service runs in parallel with COBOL for 60 days
- Strangler pattern: progressive routing via API gateway
- Formalized knowledge transfer: each migration produces a runbook readable by juniors
- Mandatory human veto before any agent-produced merge
The stack
- COBOL source (IBM z/OS mainframe), legacy copybooks
- Java 21, Kotlin 2.0, Spring Boot 3
- AWS Bedrock (Claude Sonnet) for Archaeologist/Architect/Cleaner agents
- OpenSearch for COBOL corpus indexing and knowledge graph
- Camunda for business workflow orchestration
The results
- 60% of COBOL estate migrated in 14 months (2.4M lines)
- Release cycle: 14 weeks to 5 days on migrated services
- Maintenance team reduced: 12 to 4 people (successful knowledge transfer)
- Annual maintenance cost: -38% starting month 14
- Zero production incident attributable to the migration
« We thought we'd lose the know-how with our seniors. Abbeal turned their heads into maintainable code. It's the first time a COBOL migration didn't cost us more than planned. »
What we learned
AI agents are excellent at documenting and proposing, bad at deciding alone. The 1 human / 3 agents ratio holds over time, beyond that quality drops. Parallel equivalence tests are expensive on infrastructure but non-negotiable: three subtle bugs detected only there. To redo: start with the least critical bounded context, not the simplest. Complexity comes from dependencies, not from the code itself.
// Read next
Mobilité urbaine · Paris + Montréal
Mobility scale-up: −30% cloud bill, same SLOs.
AWS bill doubled in 18 months without matching traffic growth. GreenOps audit, refactor, Karpenter, ARM64. Measured outcome.
−30%
facture cloud
E-commerce sport · Paris
Sports leader: PWA, +18% mobile conversion, Lighthouse 92.
Mobile Lighthouse at 38, conversion falling. Next.js App Router, edge, images, splitting. Delivered in 6 months.
+18%
conversion mobile
Robotique industrielle · Tokyo
Japanese industrial: 80 AGVs, ROS 2, +40% warehouse throughput.
Slow fleet, collisions, downtime. Nav2 refactor, perception fusion, multi-agent planning. Zero collisions in 6 months.
+40%
throughput entrepôt
