arXiv cs.AI· Abhiram Bellur, Mohammed Raihan Ullah, Dima Golubenko, Fraol Batole, Mohit Kansara, Masaharu Morimoto, Kai Ishikawa, Haifeng Chen, Yaroslav Zharov, Timofey Bryksin, Tien N. Nguyen, Hridesh Rajan, Danny Dig·· 3 小时前AI 评分38
多智能体协同重命名重构
Multi-Agent Coordinated Rename Refactoring
AI 导读
研究者设计了首个自动化协同重命名的多智能体框架,让 AI 智能体与开发者协作完成重命名重构。该框架包含 Scope Inference Agent(将开发者初始重构推断为自然语言 Declared Scope)、Planned Execution Agent(调用 IDE 自身可信重构 API 安全执行修改)和 Replication Agent(指导项目级搜索)。
正文 · 原文
Authors:Abhiram Bellur, Mohammed Raihan Ullah, Dima Golubenko, Fraol Batole, Mohit Kansara, Masaharu Morimoto, Kai Ishikawa, Haifeng Chen, Yaroslav Zharov, Timofey Bryksin, Tien N. Nguyen, Hridesh Rajan, Danny Dig
Abstract: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 ...
| Comments: | more experiments with generic coding agents |
| Subjects: | Software Engineering (cs.SE); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2601.00482 [cs.SE] |
| (or arXiv:2601.00482v2 [cs.SE] for this version) | |
| https://doi.org/10.48550/arXiv.2601.00482 arXiv-issued DOI via DataCite |
Submission history
From: Abhiram Bellur [view email]
[v1]
Thu, 1 Jan 2026 21:29:43 UTC (390 KB)
[v2]
Tue, 10 Nov 2026 10:03:56 UTC (533 KB)
来源:arXiv cs.AI · arxiv.org