跳到正文
@omarsar0· @omarsar0 · X·· 2026-08-25AI 评分52
AI 导读

阿里研究团队提出 Scroll,把每个智能体会话当作可执行环境,底层是 append-only Event Log 和沙箱 Python 内核。工具输出、检索历史与派生状态以类型化变量跨模型调用绑定,不再每轮序列化进提示词,工作视图接近预算时陈旧片段被驱逐但可恢复,驱逐索引把标记指回事件日志地址。

正文

Impressive work from Alibaba.

(bookmark it)

If you build long-running agents and keep rewriting your memory schema, take a look at this approach.

It basically treats agent context management as a programming task.

Here is how it works:

It backs each agent session with an append-only event log and a sandboxed, persistent Python kernel.

Tool outputs, retrieved history, and derived state bind to typed variables across model calls instead of being serialized into the prompt every turn.

Model-written code searches and transforms that state, and only explicitly printed projections enter the working view.

The event log keeps lossless ground truth, so nothing has to be committed to a compressed form before you know what will matter later.

When the working view nears its budget, stale spans are evicted but stay recoverable. An eviction index keeps compact landmarks tied to exact event-log addresses, so the agent navigates straight back to a region instead of searching the whole log.

Results: with Qwen3.8-Max, 94.8% on LongMemEval_S, 73.1% on BEAM_10M (5.1 points over the best published memory system), and 86.7% on LOCA_256K.

Treating context management as a programming task means it inherits every future improvement in model coding ability.

Paper: https://t.co/RyWaefr67Z

Track more trending AI papers in our academy: https://t.co/1e8RZKs4uX

来源:@omarsar0 · x.com