Abstract
Large language model (LLM)-based agents are increasingly capable across a range of tasks, but their practical usage becomes prohibitively expensive as input sequence length grows. This challenge becomes even more severe in multimodal settings, where inputs may include not only natural language but also long, domain-specific sequences, such as biological data, or financial time series, that are not directly interpretable by the model. Passing these sequences to the LLM increases token counts and compute costs without meaningful gain, limiting access to such systems for broader communities. In many cases, these inputs require external tools to extract useful representations before being used by the agent. We address this challenge with a token-efficient multi-agent framework designed to reduce resource consumption and enable more affordable, scalable usage of agentic AI. Our approach introduces two core components. First, a Long-Sequence Compression (LSC) layer replaces raw input sequences with compact, semantically meaningful representations, significantly lowering token usage. Second, a Prompt-based Gate-Guided Memory (PGM) mechanism, inspired by gated recurrent networks, selectively retains relevant intermediate states and context across agent steps based on the current prompt. Integrated into a modular multi-agent architecture, LSC and PGM together reduce redundant context propagation while preserving the information necessary for complex reasoning. On biological sequence analysis and design tasks, LSC alone achieves over 80% reductions in token usage and inference time over long sequence processing, while the combination with PGM yields further savings with minimal performance tradeoffs. These results demonstrate that principled compression and memory control can make agentic AI systems more cost-effective and accessible, supporting broader, more equitable use across resource-constrained settings.
| Original language | English |
|---|---|
| Title of host publication | WWW Companion '26 |
| Subtitle of host publication | Companion proceedings of the ACM Web Conference 2026 |
| Place of Publication | New York, US |
| Publisher | Association for Computing Machinery |
| Pages | 853-856 |
| Number of pages | 4 |
| ISBN (Electronic) | 9798400723087 |
| DOIs | |
| Publication status | Published - 2026 |
| Event | 35th ACM Web Conference, WWW Companion 2026 - Dubai, United Arab Emirates Duration: 29 Jun 2026 → 3 Jul 2026 |
Conference
| Conference | 35th ACM Web Conference, WWW Companion 2026 |
|---|---|
| Country/Territory | United Arab Emirates |
| City | Dubai |
| Period | 29/06/26 → 3/07/26 |
Bibliographical note
Copyright the Author(s) 2026. Version archived for private and non-commercial use with the permission of the author/s and according to publisher conditions. For further rights please contact the publisher.Keywords
- Multi-Agent Systems
- Multi Modal Processing
- Social Good
- Cost- Efficient Web Computation
- Bio Data Analysis
Fingerprint
Dive into the research topics of 'Frugal agents: efficient bio reasoning via long-sequence compression and prompt-gated memory'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver