Metraipolis › archive › dc_86a6cc58153c
CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization — arXiv:2610.34633
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.34633
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-27T08:01:34.254Z
- SHA-256 of the archived text
58442a78b526cd89cd2b9175332b3bdeeb06bb927964ae8e6fa030f88cd63670- Stable URL of this page
https://metraipolis.com/documento/dc_86a6cc58153c
How to cite
CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization — arXiv:2610.34633 — arXiv (en), https://arxiv.org/abs/2610.34633 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_86a6cc58153c (Metraipolis archive dc_86a6cc58153c, sha256 58442a78b526cd89cd2b9175332b3bdeeb06bb927964ae8e6fa030f88cd63670)
BibTeX
@misc{dc86a6cc58153c,
title = {CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization — arXiv:2610.34633},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.34633},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_86a6cc58153c; sha256 58442a78b526cd89cd2b9175332b3bdeeb06bb927964ae8e6fa030f88cd63670},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.34633. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Repository-level code migration rewrites an entire project in a new programming language while preserving its observable behavior. It is challenging because behavior spans interdependent modules, dependencies and build infrastructure must be adapted to the target ecosystem, and the source code is often the only specification. Large language model agents can now attempt these migrations end to end, but three challenges remain. First, an agent that writes both the translation and its acceptance tests may overlook the same requirements in both, leaving missing or incorrect behavior undetected. Second, large repositories can exceed a model's context window, and dividing the work into smaller tasks does not ensure that all required behavior is migrated. Third, even behaviorally correct translations may be slower than the original implementation. We present CodeMeepo, a multi-agent pipeline for complete and efficient migration of large repositories. Each milestone is evaluated against a fixed external oracle that the agents neither author nor modify. A separate parity assessment compares source and target components in scope and adds identified gaps back into the plan as required work. Ordered milestones limit the scope of each task, while cumulative regression checks guard against breaking already-migrated behavior. A benchmark-guided optimization phase addresses performance, followed by full-suite conformance testing and repair. Eight specialized agent roles communicate through file artifacts, and a deterministic state machine governs repair, deferral, scope changes, and termination. On nine subjects in three language pairs, CodeMeepo achieves the best pass rate on every subject and passes 18% more tests than a state-of-the-art multi-agent baseline using the same model. On a production daemon, its optimization phase improves half of the benchmarks, by 25% on average. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2610.34633 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-27T07:55:30.923Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).