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

递归智能体框架

Recursive Agent Harnesses

PricewaterhouseCoopers, U.S.(普华永道(美国))

Elias Lumer, Sahil Sen, Kevin Paul, Vamse Kumar Subbiah

AI总结:

提出递归智能体框架(RAH),通过代码优先的框架递归扩展模型递归,在长上下文推理中显著提升编码智能体性能。

摘要:

递归语言模型(RLM)表明,模型调用的递归是长上下文推理的有效策略,而生产级编码智能体已开始编写大规模生成子智能体的代码,最近如Anthropic的动态工作流。我们命名并研究了这两条工作线之间的模式,其中递归单元是一个完整的智能体框架,包含文件系统工具、代码执行和规划,而不是没有工具的模型调用。我们将其称为递归智能体框架(RAH),并将其视为框架递归,即RLM模型递归的代码优先扩展。父智能体生成并执行一个可执行脚本,该脚本并行生成子智能体框架以处理细粒度工作负载,并使用结构化函数调用处理小子任务。我们在长上下文推理上提供了受控评估。在固定主干为GPT-5以匹配已发布的Codex和RLM基线的情况下,RAH在Oolong-Synthetic(199个样本,13个上下文长度桶,最高4M令牌)上将Codex编码智能体基线从71.75%提高到81.36%,这一增益归因于框架而非模型。使用更强的骨干Claude Sonnet 4.5,同一设计达到89.77%。

英文摘要:

Recursive language models (RLMs) showed that recursion over model calls is an effective strategy for long-context reasoning, and production coding agents have begun to write code that spawns subagents at scale, most recently in Anthropic's dynamic workflows. We name and study the pattern between these two lines of work, where the recursive unit is a full agent harness with filesystem tools, code execution, and planning rather than a model call with no tools. We call this the Recursive Agent Harness (RAH) and frame it as harness recursion, the code-first extension to the model recursion of RLMs. A parent agent generates and runs an executable script that spawns subagent harnesses in parallel for fine-grained workloads and uses structured function calls for small subtasks. We provide a controlled evaluation on long-context reasoning. With the backbone held fixed at GPT-5 to match the published Codex and RLM baselines, RAH improves the Codex coding-agent baseline from 71.75% to 81.36% on Oolong-Synthetic (199 samples, 13 context-length buckets up to 4M tokens), a gain attributable to the harness rather than the model. With a stronger backbone, Claude Sonnet 4.5, the same design reaches 89.77%.

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

↑