RunningTab:与环境侧标签页的直接工作区交互

·

研究论文 · 2026/10/08

许多知识工作从工作区已有的文件中产生新交付物,LLM智能体正开始接管此类工作。通过直接语料交互,智能体可以在终端中搜索和阅读任何文件而无需索引,以此方式从多个文件生成交付物即直接工作区交互(DWI)。然而,访问文件只是任务的一半:没有任何机制跟踪任务要求、已读内容以及列出但未打开的文件,这些信息在上下文窗口中不留痕迹,导致智能体可能提取了数据却交付了遗漏该数据的报告。为此,我们提出RunningTab,一个为直接工作区交互配备环境侧标签的框架:由环境与智能体共同维护的每任务记录,记录任务仍欠缺的内容。具体而言,智能体添加其需求,环境将每个已读文件记录为带来源的摘录,将每个列出但未打开的文件记录为候选;智能体随后可以看到每个需求与其最佳匹配摘录及顶部未打开候选并列,根据匹配内容解决需求或附理由搁置,若在需求仍开放时试图完成,则会在完成检查中收到这些需求。我们在三个基准测试中使用三个LLM验证RunningTab,它始终优于普通DWI和将记录保存在模型中的基线,而其标签通常包含交付物一旦看到所需的值。

该研究解决了LLM智能体在直接工作区交互中容易遗漏任务要求和已读内容的问题,通过环境侧标签提供结构化跟踪,显著提升交付物完整性,对自动化知识工作有实用价值。

Much knowledge work produces new deliverables from files a workspace already holds, and LLM agents are beginning to take such work over. Through direct corpus interaction, an agent can search and read any of those files from a terminal with no indexing, and producing a deliverable from many of them in this way is what we call direct workspace interaction (DWI). Reaching the files, however, is only half the task: nothing keeps track of what the task asks for, what has been read, and what was listed but never opened, all of which slip through the context window without leaving a trace, so an agent may extract a figure and still deliver a report without it. To address this, we present RunningTab, a framework that equips direct workspace interaction with an environment-side tab: a per-task record of what the task still owes, kept by the environment alongside the agent. Specifically, the agent adds its requirements, while the environment records every file read as an excerpt with its provenance and every listed but unopened file as a candidate; the agent can then see each requirement beside its best-matching excerpts and top unopened candidates, resolve it against matching content or set it aside with a reason, and, should it try to finish with requirements still open, receive them in a finish check. We validate RunningTab on three benchmarks with three LLMs, where it consistently outperforms plain DWI and baselines that keep the record in the model, while its tab usually holds the values a deliverable needs once seen.

阅读原文

参与讨论