mlsanityData to 14 Oct 2026

Legacy System Modernization with Coding Agents: A Case Study

arXiv 2608.28972 ↗First posted 29 Aug 2026cs.SEcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Legacy systems built on discontinued platforms are a recurring technological liability in organizations that depend on these applications to sustain critical business processes. Although modernization is strategically necessary, it is costly and error-prone when performed exclusively through manual effort. In this paper, we report on a case study conducted in a real industrial setting, where we evaluate both the effectiveness and efficiency of AI coding agents in supporting the migration of legacy systems to modern platforms. By using one version of Claude Code agent, we migrated 12 features of distinct complexity levels from a corporate ERP system written in Visual Basic 6 to C# .NET 10 under a single-generation strategy. Once the migration sessions were completed, we measured the equivalence of the migrated features against the original ones, and collected data about the time spent and the number of tokens consumed by the agent during the process. In our experiment, the agent achieved an average equivalence of 70%, with a strong asymmetry across complexity levels; low-level features achieved 92%, and high-complexity ones scored 47%. Similar asymmetry was observed in the cost-based metrics; low-level features consumed 1.47M tokens (1.66), whereas high-level ones used 9.09M (10.28). We reveal the practical scenarios and circumstances where this migration strategy is more effective, as well as discuss the limitations and challenges of using AI agents for legacy system modernization.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 13 of its 33 references that are in the map. First posted on arXiv 29 Aug 2026.

Builds on

13 of 33 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Decoding the Configuration of AI Coding Agents: Insights from Claude Code Projects12 Nov
  2. 2025Evaluating Agent-based Program Repair at Google13 Jan

Other references · 11

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  2. 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 399
  3. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  4. 2020Unsupervised Translation of Programming Languagescited by 263
  5. 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 110
  6. 2023Log Parsing: How Far Can ChatGPT Go?cited by 16
  7. 2024InterTrans: Leveraging Transitive Intermediate Translations to Enhance LLM-based Code Translationcited by 16
  8. 2025Migrating Code At Scale With LLMs At Googlecited by 14
  9. 2024Automatic Library Migration Using Large Language Models: First Resultscited by 9
  10. 2024On the Quality of AI-Generated Source Code Comments: A Comprehensive Evaluationcited by 2
  11. 2024Exploring the Potential of Llama Models in Automated Code Refinement: A Replication Studycited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026AI Writes Code, Humans Pay the Debt. An Empirical Study on the Sustainability and Evolution of Agent-Generated Code
  2. 2026A Few Pages of Markdown: Committed AI Configuration and Lower Quality Cost after Coding-Agent Adoption
  3. 2026AI IDEs or Autonomous Agents? Measuring the Impact of Coding Agents on Software Development
  4. 2026AgentModernize: Preserving Business Logic in Legacy Modernization with Multi-Agent LLMs and Behavioral Specification Graphs
  5. 2026Why Software Engineering Is Indispensable in the Age of Coding Agents
  6. 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation
  7. 2025VAPU: System for Autonomous Legacy Code Modernization
  8. 2026SaaSBench: Exploring the Boundaries of Coding Agents in Long-Horizon Enterprise SaaS Engineering