跳到正文
DAIR.AI· @dair_ai · X·· 4 小时前AI 评分39
AI 导读

研究者将技能粒度作为编码智能体的运行时决策:每个任务可选用原始工具调用、宏技能,或失败时回退到原始步骤的宏技能。控制器依据任务结构、执行状态和先前宏失败选择层级,有限状态执行器把回退处理为显式状态转移而非非正式重试。12 项任务的路由研究中,学习型路由器成功率达 100%,手写启发式则失败;宏到微回退能恢复固定粒度无法解决的受控宏失败。

正文

Nice work on using skills more effectively for coding agents.

(bookmark it)

In this work, researchers treat skill granularity as a runtime decision. For each task, the agent can use primitive tool calls, a macro skill, or a macro skill that falls back to primitive steps when it fails.

Fixed macro execution is efficient when the skill fits and brittle when it does not.

The controller picks the level from task structure, execution state, and earlier macro failures, and a finite-state executor handles the fallback as an explicit transition instead of an informal retry.

In a 12-task routing study, a learned router reaches 100% success where a hand-written heuristic fails. With macro-to-micro fallback, the agent recovers controlled macro failures that fixed granularity leaves unresolved.

https://arxiv.org/abs/2610.31461

Chat with Paper: https://academy.dair.ai/papers/adaptive-skill-granularity-for-coding-agents-runtime-routing-and-macro-to-micro-2610.31461

来源:DAIR.AI · x.com