One engineer migrates a 350,000-line Java/JSP application to TypeScript in five days with pools of up to 20 sub-agents and a parity harness, against an estimate of three engineers for close to a year
Gokula Krishna migrated a 350,000-line Java/JSP application (Oracle database) to TypeScript using AI agents. Only about half the existing tests worked, so before scaling code generation he built a parity harness that ran the legacy and TypeScript apps side by side and compared API responses and database state, page elements and screenshots, and user interactions. The work went in dependency order (database contract reconstructed from embedded SQL, then APIs, UI, business logic, and improvements last), with existing bugs treated as expected behaviour until parity was reached. At each stage a pool of up to 20 sub-agents rebuilt components, compared them through the harness, and fixed differences, while the engineer designed work packets and interpreted failures. The application was running in a development environment in five days, against a conventional estimate of three engineers for close to a year, using about 100 million output tokens.
The numbers (as reported)
| Codebase | 350,000 lines of Java/JSP |
|---|---|
| Time | 5 days to a running development environment (one engineer) |
| Original estimate | Three engineers, close to a year |
| Agents | Pools of up to 20 sub-agents per stage |
| Tokens and cost | ~100 million output tokens, roughly US$5,000 at Fable 5 output-token pricing (excluding input tokens and other usage costs) |
Facts
- Company / subject
- Gokula Krishna (unnamed Java/JSP application)
- Tools
- Unstated
- Codebase
- brownfield
- Work type
- Language port
- Stack
- Java, JSP, TypeScript, Oracle
- Published
- 2026-07-31
- Last checked
- 2026-11-20
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- Reached a running development environment in 5 days vs an estimate of three engineers for close to a year 5 days, one engineer
“A project estimated at three engineers for close to a year reached a working development environment with one engineer in five days.”
- The parity harness let agents detect many of their own mistakes before human review
“let agents detect many of their own mistakes before human review”
Caveats
Written by the engineer who did the work, on his personal blog, which ends with an offer of consulting. The application and organisation are not named. Five days is to a running development environment, not production: the author says security review, performance testing, deployment and operational handover are not included. The post does not name the agent tool; the cost is the author's estimate at Fable 5 output-token pricing and excludes input tokens, so it is not typed.
More stories by tool: Unstated
Related topics: Language portsBrownfield codebases