arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.11495cs.HC
收藏

Hedwig:在局部监督下编码代理的动态自主性

Hedwig: Dynamic Autonomy for Coding Agents Under Local Oversight

University of Washington(华盛顿大学);Amazon GenAI Innovation Center(亚马逊生成式人工智能创新中心)

Tanjal Shukla, K. J. Kevin Feng, Leijie Wang, Mohammad Rostami, Amy X. Zhang

AI总结:

Hedwig通过动态调整自主性水平,减少开发者与编码代理协作中的摩擦,提升任务执行效率。

摘要:

尽管编码代理在处理日益复杂任务方面有所进步,但其持续引入意外修改、细微错误和范围漂移的问题仍使开发者必须决定授予多少自主权。然而,现有方法如静态权限设置或指令文件无法适应开发者对代理自主性的偏好随任务和时间变化而变化。我们对21名使用编码代理的软件工程师进行了形成性调查,发现他们对校准自主性感到沮丧,并有不断变化的监督水平偏好。基于这些见解,我们提出了Hedwig,一个CLI编码代理,其自主性水平根据开发者与代理的交互在会话间动态调整。与基于全局固定自主性配置不同,Hedwig从开发者决策和反馈中学习一组不断演变的行为准则,从而在代理已赢得信任的工作中减少摩擦,而在代理操作超出熟悉领域时加强监督。Hedwig展示了通过主动、长期协作实现的新范式,即代理能根据用户信任智能调整自主性水平的潜力。

英文摘要:

Despite coding agents' advances in handling increasingly complex tasks, their continued tendency to introduce unintended edits, subtle bugs, and scope drift that slip past code review means developers must still decide how much autonomy to grant them. However, existing approaches for setting an agent's level of autonomy, such as static permission settings or instruction files, cannot account for how developers' preferences for agent autonomy can shift across tasks and over time. We conducted a formative survey with 21 software engineers who use coding agents and found that they experience frustration with calibrating autonomy and have evolving preferences for level of oversight. Building on these insights, we present Hedwig, a CLI coding agent that dynamically adjusts its autonomy level based on developer-agent interactions across sessions. Rather than operating on a global, fixed autonomy configuration, Hedwig learns an evolving set of behavioral guidelines from developer decisions and feedback, reducing friction on work for which the agent has earned trust, while tightening oversight when the agent operates outside familiar territory. Hedwig demonstrates the potential of a new paradigm where agents intelligently adapt their level of autonomy based on user trust through active, longitudinal collaboration.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑