mlsanityData to 7 Oct 2026

Multi-Agent Coordinated Rename Refactoring

arXiv 2601.00482 ↗First posted 1 Jan 2026cs.SE cs.AIcited by 0

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

Abstract (arXiv)

The primary value of AI agents in software development lies in their ability to extend the developer's capacity for reasoning and action, not to supplant human involvement. To showcase how to use agents working in tandem with developers, we designed a novel approach for carrying out coordinated renaming. Coordinated renaming, where a single rename refactoring triggers refactorings in multiple, related identifiers, is a frequent yet challenging task. Developers must manually propagate these rename refactorings across numerous files and contexts, a process that is both tedious and highly error-prone. State-of-the-art heuristic-based approaches produce an overwhelming number of false positives, while vanilla Large Language Models (LLMs) provide incomplete suggestions due to their limited context and inability to interact with refactoring tools. This leaves developers with incomplete refactorings or burdens them with filtering too many false positives. Coordinated renaming is exactly the kind of repetitive task that agents can significantly reduce the developers' burden while keeping them in the driver's seat. We designed, implemented, and evaluated the first multi-agent framework that automates coordinated renaming. It operates on a key insight: a developer's initial refactoring is a clue to infer the scope of related refactorings. Our Scope Inference Agent first transforms this clue into an explicit, natural-language Declared Scope. The Planned Execution Agent then uses this as a strict plan to identify program elements that should undergo refactoring and safely executes the changes by invoking the IDE's own trusted refactoring APIs. Finally, the Replication Agent uses it to guide the project-wide search. We first conducted a formative study on the practice of coordinated renaming in 609K commits in 100 open-source projects and surveyed 205 developers ...

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 21 of its 48 references that are in the map. First posted on arXiv 1 Jan 2026.

Builds on

21 of 48 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025MANTRA: Enhancing Automated Method-Level Refactoring with Contextual RAG and Multi-Agent LLM Collaboration18 Mar
  2. 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar

Other references · 19

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  3. 2024Generalization or Memorization: Data Contamination and Trustworthy Evaluation for Large Language Modelscited by 119
  4. 2024RepoAgent: An LLM-Powered Open-Source Framework for Repository-level Code Documentation Generationcited by 69
  5. 2024Using AI-Based Coding Assistants in Practice: State of Affairs, Perceptions, and Ways Forwardcited by 44
  6. 2021DeepLocalize: Fault Localization for Deep Neural Networkscited by 37
  7. 2024CoverUp: Effective High Coverage Test Generation for Pythoncited by 36
  8. 2025RefactorBench: Evaluating Stateful Reasoning in Language Agents Through Codecited by 28
  9. 2025Mutation-Guided LLM-based Test Generation at Metacited by 23
  10. 2021Sampling Projects in GitHub for MSR Studiescited by 20
  11. 2024Unprecedented Code Change Automation: The Fusion of LLMs and Transformation by Examplecited by 15
  12. 2024How to Refactor this Code? An Exploratory Study on Developer-ChatGPT Refactoring Conversationscited by 11
7 more
  1. 2024Doc2OracLL: Investigating the Impact of Documentation on LLM-based Test Oracle Generationcited by 10
  2. 2024EM-Assist: Safe Automated ExtractMethod Refactoring with LLMscited by 8
  3. 2023RefBERT: A Two-Stage Pre-trained Framework for Automatic Rename Refactoringcited by 4
  4. 2025UTFix: Change Aware Unit Test Repairing using LLMcited by 3
  5. 2022Empirical Study of Co-Renamed Identifierscited by 2
  6. 2025Deep Learning-Based Identification of Inconsistent Method Names: How Far Are We?cited by 2
  7. 2024RENAS: Prioritizing Co-Renaming Opportunities of Identifierscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025RefAgent: A Multi-agent LLM-based Framework for Automatic Software Refactoring
  2. 2025Agentic Refactoring: An Empirical Study of AI Coding Agents
  3. 2026"Refactoring Runaway": Understanding and Mitigating Tangled Refactorings in Coding Agents for Issue Resolution
  4. 2026How do Agents Refactor: An Empirical Study
  5. 2026Do AI Agents Really Improve Code Readability?
  6. 2025LLM-based Multi-Agent System for Intelligent Refactoring of Haskell Code
  7. 2026SWE-Bench ProMax: Benchmarking Agents on Large-Scale Multilingual Code Refactoring
  8. 2026RefactorAssist: Agentic Refinement for Reliable Code Refactoring