paper-with-me

Papers

Solving Context Window Overflow in AI Agents

2025-11-27 · Anton Bulle Labate, Valesca Moura de Sousa, Sandro Rama Fiorini, Leonardo Guerreiro Azevedo, Raphael Melo Thiago, Viviane Torres da Silva arxiv

Large Language Models (LLMs) have become increasingly capable of interacting with external tools, granting access to specialized knowledge beyond their training data - critical in dynamic, knowledge-intensive domains such as Chemistry and Materials Science. However, large tool outputs can overflow the LLMs' context window, preventing task completion. Existing solutions such as truncation or summarization fail to preserve complete outputs, making them unsuitable for workflows requiring the full data. This work introduces a method that enables LLMs to process and utilize tool responses of arbitrary length without loss of information. By shifting the model's interaction from raw data to memory pointers, the method preserves tool functionality, allows seamless integration into agentic workflows, and reduces token usage and execution time. The proposed method is validated on a real-world Materials Science application that cannot be executed with conventional workflows, and its effectiveness is demonstrated via a comparative analysis where both methods succeed. In this experiment, the proposed approach consumed approximately seven times fewer tokens than the traditional workflow.

📄 PDF Abstract BibTeX arXiv:2511.22729

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

KVMem: Virtualizing Million-Token Agent Workspaces on a Consumer GPU

2026-09-04 · Di Chai, Leye Wang, Zeshen Su, Zhiguo Xia 외 arxiv

Modern LLM agents operate in persistent workspaces whose accumulated history can exceed both GPU KV capacity and the model's native context window. Existing systems typically compact older context into summaries or retri…

Tool-Schema Compression Enables Agentic RAG Under Constrained Context Budgets

2026-05-24 · Furkan Sakizli arxiv

Agentic RAG systems that equip language models with dozens to hundreds of tool definitions face a critical resource conflict: tool schemas consume the same context window needed for retrieval-augmented generation. We pre…

Indexing the Unreadable: LLM-Native Recursive Construction and Search of Service Taxonomies

2026-05-28 · Wei Zheng, Yang Yan, Yiyang Shao, Jinyang Li 외 arxiv

The era of the Internet of Agents (IoA) is taking shape: LLM agents are expected to fulfill user goals by orchestrating fast-growing populations of Model Context Protocol (MCP) servers, Agent-to-Agent (A2A) endpoints, re…

When Refusals Fail: Unstable Safety Mechanisms in Long-Context LLM Agents

2025-12-02 · Tsimur Hadeliya, Mohammad Ali Jauhar, Nidhi Sakpal, Diogo Cruz arxiv

Solving complex or long-horizon problems often requires large language models (LLMs) to use external tools and operate over a significantly longer context window. New LLMs enable longer context windows and support tool c…

An Empirical Study of Harness Design for Coding Agents

2026-09-17 · Run-Ze Fan, Zihao Zhang, Simin Ma, Yebowen Hu 외 hf

Coding harnesses shape how autonomous coding agents translate model capabilities into long-horizon software-engineering performance, yet existing work typically evaluates harnesses as monolithic systems, leaving the effe…