CTXAgent - Self-Controlled Context Management of LLM Agents
Hamburg University of Technology(汉堡工业大学);Helmholtz-Zentrum Hereon(亥姆霍兹中心盖斯特哈赫特);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Saarland University(萨尔大学)
Matthias Busch, Marius Tacke, Roland C. Aydin, Christian Feiler, Christian J. Cyron
本研究提出CTXAgent,让大语言模型智能体自行管理上下文,对比7种前沿模型及3种工具,在含多任务的基准上验证其可降低成本且不显著降分,Claude Opus 5.5应用时成本降幅达49%。
摘要:
现有智能体工具在令牌阈值被触发时,会通过压缩历史记录来将长会话维持在上下文窗口内。本研究探索一种替代方案:模型自行管理其上下文,在给定两个工具和一段指导文本的情况下,自主决定何时进行压缩、保留哪些内容以及作为交接内容写入哪些内容。由于早期研究发现开源权重模型无法在无支架的情况下自行管理上下文,因此我们在相同条件下对比了7种前沿模型(含有无上下文工具的情况)在令牌成本和基准分数上的表现,并在其中两种模型上将本工具与三种广泛使用的工具进行了对比。该基准由现有基准整合而成:编码练习、多步骤SciCode问题、SWE-bench Pro和Terminal-Bench 4.0任务与植入事实、临时观察和常设指令交错,所有内容均通过确定性检查,会话轮次为35-212轮,类似用户在一次聊天中处理不同任务的场景。多数最强模型能够管理其上下文:它们会定期压缩和整理,混合会话的活跃上下文大多保持在10万令牌以下,且其基准分数大多未显著下降。对于能良好管理上下文的模型,成本降低幅度可观但因模型而异,部分模型因压缩过于频繁导致其他成本上升。使用Claude Opus 5.5时,自管理工具的任务成功率与Claude Code相当,成本比其显式20万窗口配置低34%,比默认配置低49%,且无需选择上下文窗口。我们发布了该智能体、基准及所有结果行。
英文摘要:
Agent harnesses keep long sessions inside the context window by compacting the history when a token threshold is crossed. We study an alternative in which the model manages its own context: it decides when to compact, what to keep and what to write as the hand-off, given two tools and one paragraph of guidance. Since earlier work found that open-weight models cannot manage their own context without scaffolding, we compare seven frontier models under identical conditions, with and without the context tools, on token cost and benchmark score, and we compare our harness with three widely used harnesses on two of these models. The benchmark is assembled from existing ones: coding exercises, multi-step SciCode problems and SWE-bench Pro and Terminal-Bench 4.0 tasks are interleaved with planted facts, ephemeral observations and standing instructions, all checked deterministically, in sessions of 35-212 turns that resemble a user working through different tasks in one chat. Most of the strongest models manage their context: they compact and curate regularly, the live context of the mixed sessions stays mostly below 100k tokens, and their benchmark scores mostly do not drop significantly. For the models that manage their context well, the cost reduction is substantial but varies between models, because some models compact so often that other costs increase. With Claude Opus 5.5, the self-managed harness matches Claude Code on task success at 34% lower cost than its explicit 200k-window configuration and 49% lower than its default, with no context window to choose. We release the agent, the benchmark and all result rows.
Fudan University(复旦大学);Shanghai Key Laboratory of Data Science(上海市数据科学重点实验室);College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院)
MemLens: A Value-Aware Memory Management System with Interactive Analytics for LLM-based Agents
C-FAIR & School of Software, Shandong University(C-FAIR与山东大学软件学院);SKLCCSE Lab, Beihang University(北京航空航天大学SKLCCSE实验室);Department of Data Science, City University of Hong Kong(香港城市大学数据科学系)
AgentSafe: Safeguarding Large Language Model-based Multi-agent Systems via Hierarchical Data Management
University of Science and Technology of China(中国科学技术大学);Nanyang Technological University(南洋理工大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Squirrel Ai Learning
An Intelligent Approach for Negotiating between chains in Supply Chain Management Systems
在供应链管理系统中进行商业谈判和选择最佳供应商是生产商在生产过程中的弱点之一。因此,应用智能系统可能会有一个有效的作用,在加快速度和提高质量的选择。本文介绍了一个系统,试图使用多代理系统和任何代理之间举行谈判的交易。在该系统中,每一个链段都有一个智能Agent,它通过协商媒介参与发送命令和接收响应,并与其他Agent进行通信,本文介绍了Agent之间的通信方式、多Agent的特点以及环境中每个Agent的标准注册媒介。利用JADE(Java Application Development Environment)实现和模拟了Agent之间的协作。
Learning Agent-Compatible Context Management for Long-Horizon Tasks
Renmin University of China(中国人民大学);Tongyi Lab, Alibaba Group(阿里云实验室);Beijing University of Posts and Telecommunications(北京邮电大学);Université de Montréal(蒙特利尔大学)
Towards Explainability for a Civilian UAV Fleet Management using an Agent-based Approach
CIAD, Univ. Bourgogne Franche-Comté, UTBM(勃艮第弗朗什-孔泰大学技术大学分校复杂系统与人工智能研究所);AI-Robolab/ICR, Computer Science and Communications, University of Luxembourg(卢森堡大学计算机科学与通信系人工智能机器人实验室/交互与机器人研究所);Department of Computing Science, Umeȧ University(于默奥大学计算机科学系);University of Ngaoundere(恩冈代雷大学);CIAD, Univ. Bourgogne Franche-Comté, UB(勃艮第弗朗什-孔泰大学复杂系统与人工智能研究所)
AINTMA: Agentic AI Architecture for Autonomous Test Management with Generative Intelligence, Secure Cloud Communication and Adaptive Quality Analytics
International Business Machines (IBM)(国际商业机器公司(IBM));Global Atlantic Financial(全球大西洋金融公司);Docusign(DocuSign公司);Salesforce Inc(Salesforce公司);The Home Depot(家得宝公司)
Formal Foundations of Agentic Business Process Management
University of Oxford, UK(牛津大学,英国);SAP, Germany(德国SAP公司);Umeå University, Sweden(乌梅拉大学,瑞典);University of Mannheim, Germany(曼海姆大学,德国);Free University of Bozen-Bolzano, Italy(博兹纳自由大学,意大利)
StackPlanner: A Centralized Hierarchical Multi-Agent System with Task-Experience Memory Management
School of Computer Science, Peking University(北京大学计算机学院);National Engineering Research Center for Software Engineering, Peking University(北京大学软件工程国家工程研究中心);School of Public Affaris, Zhejiang University(浙江大学公共管理学院);School of Software & Microelectronics, Peking University(北京大学软件与微电子学院);GRG Banking Equipment Co., Ltd.(GRG银行设备有限公司);Center on Frontiers of Computing Studies, Peking University(北京大学计算前沿中心);Peking University Information Technology Institute (Tianjin Binhai)(北京大学信息技术研究院(天津滨海))
Agentic Business Process Management: A Research Manifesto
Free University of Bozen-Bolzano(博尔扎诺自由大学);University of Oxford(牛津大学);University of Tartu(塔尔图大学);IBM Research(IBM研究院);Umeå University(于默奥大学);paluno (Ruhr Institute for Software Technology), University of Duisburg Essen(帕卢诺(鲁尔软件技术研究所),杜伊斯堡-埃森大学);University of Ottawa(渥太华大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI));Saarland University(萨尔大学);The University of Melbourne(墨尔本大学);TUM School of Computation, Information, and Technology, TU Munich(慕尼黑工业大学计算、信息与技术学院);RMIT University(皇家墨尔本理工大学);Meta;University of St. Gallen(圣加仑大学)
SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents
The Chinese University of Hong Kong, China(香港中文大学);Shanghai Jiao Tong University, China(上海交通大学);Tsinghua University, China(清华大学);ByteDance, China(字节跳动)
Privacy-Aware Agent Collaboration for Dynamic VR Slice Management in 6G SD-RAN
CCAS Department, School of Engineering, NewGiza University (NGU)(计算机与软件工程学院,新吉扎大学);Electronics and Communications, Helwan Univ. Cairo, Egypt(电子与通信,开罗海威大学,埃及)
Collaborative Auto-Curricula Multi-Agent Reinforcement Learning with Graph Neural Network Communication Layer for Open-ended Wildfire-Management Resource Distribution