大语言模型(LLM)智能体正越来越多地被用于仓库级软件工程任务。然而,大多数智能体仍通过原始文件、词法搜索和Shell命令访问仓库,将代码主要视为文本。本文将基于映射的代码表示工作流作为智能体软件工程中的一个设计变量进行研究,考察不同的仓库视图如何改变智能体的检索行为、任务成功率、令牌使用量和延迟。本文研究了五种代码表示工作流:抽象语法树、调用图、模块依赖、文档增强搜索,以及结合这些的混合工作流。每种工作流都提供了智能体在任务期间可查询的仓库映射。我们在四个仓库级任务上评估了Claude Code with Haiku 4.5与原始工具基线的表现:使用LinuxFLBench进行故障定位、使用SWE-bench Pro进行仓库级代码生成与修复、使用SWT-bench进行测试生成,以及使用SecBench进行安全补丁。结果表明,当定位是瓶颈时,表示工作流作为节省令牌的工具最有用,而当决定性步骤是补丁或测试编写时,它们的成功增益会缩小。在LinuxFLBench上,所有五种工作流的recall@10均优于基线(0.757-0.829 vs. 0.717),并减少25-39%的令牌使用量;在SWE-bench Pro上,解决率与基线接近(44.3-50.6% vs. 49.0%),令牌使用量下降17-26%;在SecBench上,Callgraph在该样本中的补丁解决率最高(34.3% vs. 28.9%)且令牌使用更少,但所有工作流都增加了延迟;在SWT-bench上,Hybrid和Docs在该样本中的复现测试率最高(47.8%和47.2% vs. 44.7%),但所有工作流都使用更多令牌且耗时更长。总体而言,基于映射的工作流既改变了智能体检查的内容,也改变了其资源消耗,但它们的益处是任务依赖的,而非普遍适用的。
英文摘要:
LLM agents are increasingly used for repository-level software engineering tasks. However, most agents still access repositories through raw files, lexical search, and shell commands, treating code primarily as text. This paper investigates map-based code-representation workflows as a design variable in agentic software engineering, examining how different repository views change agents' retrieval behavior, task success, token use, and latency.
In this paper, we study five code-representation workflows: abstract syntax trees, call graphs, module dependencies, documentation-enriched search, and a hybrid workflow that combines them. Each workflow exposes a repository map that the agent can query during a task. We evaluate Claude Code with Haiku 4.5 against a raw-tool baseline on four repository-level tasks: fault localization with LinuxFLBench, repository-level code generation and repair with SWE-bench Pro, test generation with SWT-bench, and security patching with SecBench.
The results show that representation workflows are most useful as token-saving tools when localization is the bottleneck, while their success gains narrow when the decisive step is patch or test authoring. On LinuxFLBench, all five workflows improve recall@10 over the baseline (0.757-0.829 vs. 0.717) and reduce token usage by 25-39%. On SWE-bench Pro, resolution remains close to the baseline (44.3-50.6% vs. 49.0%) while token usage drops by 17-26%. On SecBench, Callgraph has the highest patch-resolution rate in this sample (34.3% vs. 28.9%) and uses fewer tokens, but all workflows increase latency. On SWT-bench, Hybrid and Docs have the highest reproducing-test rates in this sample (47.8% and 47.2% vs. 44.7%), but all workflows use more tokens and take longer. Overall, map-based workflows change both what the agent inspects and how much it spends, but their benefits are task-dependent rather than universal.
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shanghai AI Laboratory(上海人工智能实验室);University of Science and Technology of China(中国科学技术大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所)
Beyond Semantic Similarity: Rethinking Retrieval for Agentic Search via Direct Corpus Interaction
Texas A&M University(德克萨斯A&M大学);University of Waterloo(滑铁卢大学);UC San Diego(圣地亚哥大学);Stanford University(斯坦福大学);University of Washington(华盛顿大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Verdent AI;Lambda
Does Your Generalist Skill Optimizer Really Incentivize Agentic Tasks? Rethinking Skill Optimization via Bipartite Attribution
Shanghai AI Laboratory(上海人工智能实验室);Fudan University(复旦大学);Shanghai Jiao Tong University(上海交通大学);University of Science and Technology of China(中国科学技术大学);Tsinghua University(清华大学)
Mind Meets Space: Rethinking Agentic Spatial Intelligence from a Neuroscience-inspired Perspective
School of EEE, Nanyang Technological University(南洋理工大学电子工程系);Department of Civil Engineering, Tsinghua University(清华大学土木工程系);Dr. B. R. Ambedkar National Institute of Technology, Jalandhar(B.R.阿姆贝卡尔国家理工学院,贾兰德赫);KTH Royal Institute of Technology(皇家理工学院);College of AI, Tsinghua University(清华大学人工智能学院);CCDS, Nanyang Technological University(南洋理工大学CCDS)
Agents Are Systems, Not Models: Rethinking Agentic Evaluation
Technical University of Munich(慕尼黑工业大学);Helmholtz Munich(亥姆霍兹慕尼黑);Inria(法国国家信息与自动化研究所);École normale supérieure(巴黎高等师范学院);CNRS(法国国家科学研究中心);PSL Research University(巴黎文理研究大学)
From Assistance to Agency: Rethinking Autonomy and Control in CI/CD Pipelines
Faculty of Information University of Toronto Toronto Ontario Canada(信息学院多伦多大学多伦多安大略加拿大);Department of Computer Science Trent University Peterborough Ontario Canada(计算机科学系特伦特大学彼得伯格安大略加拿大);University of Toronto(多伦多大学);Trent University(特伦特大学)
What If Prompt Injection Never Left? Rethinking Agent Security through Cross-Session Stored Prompt Injection
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);AI Sec Lab, Beijing Chaitin Technology Co.,Ltd(北京柴坦科技有限公司AI安全实验室)
Rethinking Supply Chain Planning: A Generative Paradigm
Tsinghua University, Beijing, China(清华大学);JD.com, Beijing, China(京东);Faculty of Engineering and Faculty of Business and Economics, The University of Hong Kong, China(香港大学工程学院和商学院);College of Engineering, University of California, Berkeley, CA, USA(加州大学伯克利分校工程学院)
Beyond the 'Diff': Addressing Agentic Entropy in Agentic Software Development
Dipartimento Tecnologie Innovative, SUPSI(技术创新部,SUPSI);Dalle Molle Institute for Artificial Intelligence (IDSIA), SUPSI(达勒莫利人工智能研究所(IDSIA),SUPSI);Management in Networked and Digital Societies (MINDS) Department, Kozminski University(网络化与数字化社会管理(MINDS)系,科津斯基大学);Institute of Biomedical Ethics and History of Medicine, University of Zurich(生物医学伦理与医学史研究所,苏黎世大学);ETH Zurich(苏黎世联邦理工学院)
EviSeek: An Evidence-Centric Agentic Framework for Embodied Active Information Seeking
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Beijing Academy of Artificial Intelligence(北京人工智能研究院)
PathFound: An Agentic Multimodal Model Activating Evidence-seeking Pathological Diagnosis
Qing Yuan Research Institute, Shanghai Jiao Tong University(上海交通大学庆元研究院);Shanghai Innovation Institute(上海创新研究院);Department of Pathology, The First Affiliated Hospital of USTC, Division of Life Sciences and Medicine, University of Science and Technology of China(中国科学技术大学生命科学与医学学院病理科);Intelligent Pathology Institute, Division of Life Sciences and Medicine(生命科学与医学学院智能病理研究所);Department of Pathology, Fudan University Shanghai Cancer Center(复旦大学上海癌症中心病理科);Department of Oncology, Shanghai Medical College, Fudan University(复旦大学上海医学院肿瘤科);Institute of Pathology, Fudan University(复旦大学病理研究所);Department of Pathology, The First Affiliated Hospital with Nanjing Medical University(南京医科大学第一附属医院病理科)
See, Hypothesize, Validate: Multimodal Agentic Framework for Discovering Governing PDEs
Indian Institute of Technology Delhi(印度德里理工学院);Robert Bosch GmbH(罗伯特·博世有限公司);TCS Research(塔塔咨询服务公司研究院);Yardi School of Artificial Intelligence (ScAI)(亚迪人工智能学院);Department of Applied Mechanics(应用力学系)
Less Interaction But More Explanation: A Communication Perspective on Agentic AI Interfaces
Media Effects Research Laboratory, Pennsylvania State University(媒体影响研究实验室,宾夕法尼亚州立大学);Center for Socially Responsible AI, Pennsylvania State University(负责任人工智能中心,宾夕法尼亚州立大学)
Supporting software engineering tasks with agentic AI: Demonstration on document retrieval and test scenario generation
Gratex International(格拉特克斯国际);Department of Applied Informatics Faculty of Mathematics, Physics and Informatics Comenius University(应用信息学院数学、物理和信息学院康门ius大学)