Fully AI-driven code migration that saved over €1M by Mohamed BouchibaFully AI-driven code migration that saved over €1M by Mohamed Bouchiba

Fully AI-driven code migration that saved over €1M

Portfolio project
Mohamed Bouchiba

The challenge

A Belgian federal public institution had to move a large legacy desktop application (WPF) to a modern web stack (Blazor). A manual rewrite meant years of developer time and a high risk of regressions.

What I built

A multi-agent pipeline that reads the legacy code, plans the migration screen by screen and rewrites it in the target stack
Strict guardrails: target architecture and coding conventions defined upfront, structured outputs and automated checks at every step
Equivalence testing, so each migrated module behaves like the original before it is accepted
Human review only where the agents flag uncertainty

Results

Zero lines of migrated code written by hand: everything was produced by the AI pipeline
Over €1M saved compared with a manual rewrite
A reusable migration pipeline that can be applied to other applications

Stack

.NET, Blazor, LLM agents, self-hosted and cloud models, automated test generation.

The challenge

A Belgian federal public institution had to move a large legacy desktop application (WPF) to a modern web stack (Blazor). A manual rewrite meant years of developer time and a high risk of regressions.

What I built

A multi-agent pipeline that reads the legacy code, plans the migration screen by screen and rewrites it in the target stack
Strict guardrails: target architecture and coding conventions defined upfront, structured outputs and automated checks at every step
Equivalence testing, so each migrated module behaves like the original before it is accepted
Human review only where the agents flag uncertainty

Results

Zero lines of migrated code written by hand: everything was produced by the AI pipeline
Over €1M saved compared with a manual rewrite
A reusable migration pipeline that can be applied to other applications

Stack

.NET, Blazor, LLM agents, self-hosted and cloud models, automated test generation.

0 likes · 0 views · Nov 10, 2026

Agentic AI pipeline that migrated a legacy app to a modern web stack with zero hand-written code, saving a public institution over €1M.

Tags