Skip to Main Content

MigrationPilot is an autonomous cross-framework codebase migration prototype built for the Meta AI Hackathon that converts entire software repositories across stacks with deterministic compiler verification and self-healing. Migrating legacy codebases manually takes weeks, incurs significant engineering costs, and introduces subtle runtime bugs. While generative AI models can write isolated code snippets, they consistently fail at repository scale—breaking relative import trees, hallucinating APIs, and delivering code without verifying whether it compiles. MigrationPilot solves this through an automated, closed-loop pipeline powered by Meta Muse AI. First, it ingests the repository and extracts project-wide AST relationships, component hierarchies, and import contracts. Next, Meta Muse AI batch-translates components across target framework conventions while automatically rewriting relative import paths. To ensure code validity, the system executes target toolchain checks (tsc --noEmit) inside an isolated sandbox environment. When diagnostic errors are detected, MigrationPilot routes the exact compiler feedback back to the model in an autonomous self-healing loop, patching failing files iteratively until the project passes cleanly with zero errors. The reference prototype demonstrates this architecture by converting legacy React JavaScript (.jsx) repositories into strictly typed TypeScript (.tsx) codebases, streaming live pipeline updates over Server-Sent Events (SSE) and providing side-by-side Monaco diff reviews alongside an exportable, build-ready .zip archive.

Team

AiAk

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview