CodeMeepo: A Multi-Agent Workflow for Repository-Level Code Migration and Optimization
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 48 references that are in the map. Submitted 25 Oct 2026.
Builds on
36 of 48 references.
Closest ancestors · 11
Same direction, newest first
- 2026Agentic Method for Deterministic Validation of Legacy Code Migration30 Jul
- 2026Documentation-Guided Agentic Codebase Migration from C to Rust14 May
- 2026ORBIT: Guided Agentic Orchestration for Autonomous C-to-Rust Transpilation13 Apr
- 2026ReCodeAgent: A Multi-agent Workflow for Language-Agnostic Translation and Validation of Large-Scale Repositories8 Apr
- 2026RepoMod-Bench: A Benchmark for Code Repository Modernization via Implementation-Agnostic Testing26 Feb
- 2026From LLMs to Agents in Programming: The Impact of Providing an LLM with a Compiler17 Jan
- 2025Adversarial Agent Collaboration for Correctness Improvements of C to Safe Rust Translation4 Oct
- 2025app.build: A Production Framework for Scaling Agentic Prompt-to-App Generation with Environment Scaffolding3 Sep
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2023ChatDev: Communicative Agents for Software Development16 Jul
Other references · 25
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,902
- 2023Teaching Large Language Models to Self-Debugcited by 1,049
- 2024AutoCodeRover: Autonomous Program Improvementcited by 303
- 2020Unsupervised Translation of Programming Languagescited by 270
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 152
- 2023Learning Performance-Improving Code Editscited by 122
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 85
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 78
- 2024StateFlow: Enhancing LLM Task-Solving through State-Driven Workflowscited by 74
- 2025SWE-Perf: Can Language Models Optimize Code Performance on Real-World Repositories?cited by 52
13 more
- 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 36
- 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 34
- 2024Search-Based LLMs for Code Optimizationcited by 30
- 2025COFFE: A Code Efficiency Benchmark for Code Generationcited by 25
- 2024VERT: Verified Equivalent Rust Transpilation with Large Language Models as Few-Shot Learnerscited by 22
- 2025CRUST-Bench: A Comprehensive Benchmark for C-to-safe-Rust Transpilationcited by 22
- 2024Syzygy: Dual Code-Test C to (safe) Rust Translation using LLMs and Dynamic Analysiscited by 21
- 2024Scalable, Validated Code Translation of Entire Projects using Large Language Modelscited by 15
- 2025SACTOR: LLM-Driven Correct and Idiomatic C to Rust Translation with Static Analysis and FFI-Based Verificationcited by 11
- 2024Translating C To Rust: Lessons from a User Studycited by 10
- 2025How is Google using AI for internal code migrations?cited by 10
- 2025Feedback Loops and Code Perturbations in LLM-based Software Engineering: A Case Study on a C-to-Rust Translation Systemcited by 1
- 2026Do Coverage and Mutation Scores of LLM-Generated Test Suites Correlate with Their Effectiveness? (Replicability Study)cited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?
- 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
- 2026Repo0: Design-Driven Zero-to-All Code Generation
- 2026ToolRosella: Translating Code Repositories into Standardized Tools for Scientific Agents
- 2025MigrationBench: Repository-Level Code Migration Benchmark from Java 8
- 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation