Check out Alibaba's innovative approach to agent context management, outperforming existing systems with Qwen3.8-Max. It's a game-changer for long-running agents!
Alibaba introduces a new approach to long-running agents, treating context management as a programming task. It uses an append-only event log and a persistent Python kernel, achieving high scores in LongMemEval_S, BEAM_10M, and LOCA_256K. Paper available at arxiv.org/abs/2608.21690.
Impressive work from Alibaba. (bookmark it) If you build long-running agents and keep rewriting yo...
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: arxiv.org/abs/2608.21690 Track more trending AI papers in our academy: academy.dair.ai 💬 2 🔄 4 ❤️ 20 👀 2364 📊 10 ⚡