通过发起野生的代码理解之旅来投射SWE代理新兴思维模式
Projecting the Emerging Mindset of SWE Agent by Launching a Wild Code Understanding Journey
AI总结:
本文通过有限工具接口让SWE代理在真实代码库中探索,提出Ada框架,利用观察透镜分析代理的导航、证据选择、综合、基础化和停止行为,将轨迹数据转化为可比较的行为画像。
摘要:
软件工程代理(SWE代理)越来越多地通过工具介导的轨迹在真实代码库中工作,但其行为仍难以用具体、可观察的术语来表征。这些轨迹记录了工具使用、中间推理、证据选择和自我导向的停止,但它们本身并不能解释为什么选择了特定的动作、信任了什么证据,或者何时认为理解足够。这种张力使得轨迹数据既有限又有价值:当通过纪律性观察进行解释时,忠实的、可重放的轨迹可以成为研究代理行为的经验基础。我们引入了Ada,一个用于仓库级代码理解的范围化装置。Ada通过有界工具接口进入真实代码库,允许开放式的探索作为有限轨迹保持可记录。在这个野生但有界的设置中,Ada选择在哪里看、仔细阅读什么、何时巩固部分理解以及何时结束对仓库的描述。我们通过观察透镜投射Ada的思考-行动链,这些透镜使导航、证据选择、综合、基础化和停止变得可见,而不将行为简化为原始工具计数或推测隐藏意图。综合来看,这些透镜产生了基于软件世界中记录移动的行为画像。在跨越多个模型、仓库、任务系列和启动条件的408条轨迹中,该研究展示了如何将忠实的数字痕迹转化为纪律性的、可比较的SWE代理新兴思维模式投射。结果揭示了效率、轨迹多样性、认知基础化和干预限制方面的差异,同时为在真实代码库中观察SWE代理行为提供了方法论基础。
英文摘要:
Software engineering agents (SWE agents) increasingly work through tool-mediated trajectories in real repositories, yet their behavior remains difficult to characterize in concrete, observable terms. These trajectories record tool use, intermediate reasoning, evidence selection, and self-directed stopping, but they do not by themselves explain why particular moves were chosen, what evidence was trusted, or when understanding was judged sufficient. This tension makes trajectory data both limited and valuable: faithful, replayable traces can become an empirical substrate for studying agent behavior when interpreted through disciplined observation. We introduce Ada, a scoped apparatus for repository-level code understanding. Ada enters real codebases through a bounded tool interface, allowing open-ended exploration to remain recordable as finite trajectories. Across this wild-but-bounded setting, Ada chooses where to look, what to read closely, when to consolidate partial understanding, and when to close its account of the repository. We project Ada's think-action chains through observation lenses that make navigation, evidence selection, synthesis, grounding, and stopping visible without reducing behavior to raw tool counts or speculating about hidden intent. Read together, these lenses produce behavioral profiles grounded in recorded movement through software worlds. Across 408 trajectories, spanning multiple models, repositories, task families, and launch conditions, the study shows how faithful digital traces can be transformed into disciplined, comparable projections of emerging SWE-agent mindset. The results expose differences in efficiency, trajectory diversity, epistemic grounding, and the limits of intervention, while providing a methodological foundation for observing SWE agent behavior in real codebases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。