Compose: Orchestrating Coding Agents for Large-Scale Multi-Repository Code Migrations
Pantazis Deligiannis, Rahee Ghosh Peshawaria, Gabriela Martinez Sanchez, Galen Hunt
Abstract
Code migrations recur as platforms, dependencies, and architectural requirements change, and they are costly in legacy code. When each owning team migrates its own code, teams repeat the same reasoning, implementation, and validation, and the migration is complete only when every team finds time for it among its other work. Coding agents can adapt edits to each codebase, but the user directing a migration must still coordinate their work and review the resulting changes across repositories. We present Compose, an agentic system for centralized coordination of code migrations. A contract derived from the user's instructions records the migration goal and constraints, while coding agents make context-specific edits in each repository. Compose captures each repository's changes and validation evidence, groups recurring edits and clusters related groups for review across repositories, and carries review feedback into later, user-authorized iterations. We evaluated Compose on ten historical open-source migrations and a parser SDK migration across 350 repositories at Microsoft. Six open-source migrations met all core requirements in the first iteration, and review feedback led to completion of the other four. In the SDK migration, 285 repositories passed build and corpus regression checks in the first iteration; two more iterations completed it. The 4,036 edit occurrences formed 11 edit groups.
Create a lesson
Related papers
ReleaseSynth: Scaling Data from Software Evolution for Long-Horizon Coding Agents
Shared title terminologycs.SEMan Ho Lam, Chaozheng Wang, Zongjie Li et al.
VeilPRBench: Can Code Review Agents Catch Vulnerabilities in Pull Requests That Resolve Real Issues?
Shared title terminologycs.SEXinhao Song, Xiaofei Yin, Yuxuan Xiao et al.
Are They Really Multi-Agent? Architectures, Claims, and Containers in LangGraph Systems
Shared title terminologycs.SEMeriem Mastouri, Emna Ksontini, Amine Barrak
Residual-Guided Model Selection for Terminal-Based Coding Agents
Shared title terminologycs.SEChang Zhou, Zhaoling Chen, Qian Zhang
Don't Over-Engineer It: AI Coding Agents Write Too Much Code, and a Short Prompt Reduces It
Shared title terminologycs.SEJay Desai, Fanyou Wu, Srinivasan H. Sengamedu
ProgramGen: Scalable Environment Construction for Long-Horizon Coding Agents
Shared title terminologycs.SEConghao Xiong, Chaofan Tao, Jierun Chen et al.