GenericAgent: A Token-Efficient Self-Evolving LLM Agent via Contextual Information Density Maximization (V1.0)
On the map: LLM agents and tool use → Agent memory systems
also in 1 more
Abstract (arXiv)
Long-horizon large language model (LLM) agents are fundamentally limited by context. As interactions become longer, tool descriptions, retrieved memories, and raw environmental feedback accumulate and push out the information needed for decision-making. At the same time, useful experience gained from tasks is often lost across episodes. We argue that long-horizon performance is determined not by context length, but by how much decision-relevant information is maintained within a finite context budget. We present GenericAgent (GA), a general-purpose, self-evolving LLM agent system built around a single principle: context information density maximization. GA implements this through four closely connected components: a minimal atomic tool set that keeps the interface simple, a hierarchical on-demand memory that only shows a small high-level view by default, a self-evolution mechanism that turns verified past trajectories into reusable SOPs and executable code, and a context truncation and compression layer that maintains information density during long executions. Across task completion, tool use efficiency, memory effectiveness, self-evolution, and web browsing, GA consistently outperforms leading agent systems while using significantly fewer tokens and interactions, and it continues to evolve over time. Project: https://github.com/lsdefine/GenericAgent
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Agent memory systems, one of 16 directions in LLM agents and tool use. Builds on 33 of its 41 references that are in the map. First posted on arXiv 18 Apr 2026.
Builds on
33 of 41 references.
Closest ancestors · 6
Same direction, newest first
- 2025TeleMem: Building Long-Term and Multimodal Memory for Agentic AI12 Dec
- 2025LifelongAgentBench: Evaluating LLM Agents as Lifelong Learners17 May
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory28 Apr
- 2025In Prospect and Retrospect: Reflective Memory Management for Long-term Personalized Dialogue Agents11 Mar
- 2025A-MEM: Agentic Memory for LLM Agents17 Feb
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agents27 Feb
Other references · 27
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,191
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,808
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,737
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,002
- 2023ExpeL: LLM Agents Are Experiential Learnerscited by 876
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 841
- 2024Executable Code Actions Elicit Better LLM Agentscited by 564
15 more
- 2023MemoryBank: Enhancing Large Language Models with Long-Term Memorycited by 556
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2025LLMs Get Lost In Multi-Turn Conversationcited by 429
- 2025BrowseComp-ZH: Benchmarking Web Browsing Ability of Large Language Models in Chinesecited by 145
- 2025EvolveR: Self-Evolving LLM Agents through an Experience-Driven Lifecyclecited by 137
- 2024WebCanvas: Benchmarking Web Agents in Online Environmentscited by 121
- 2024Agent-Pro: Learning to Evolve via Policy-Level Reflection and Optimizationcited by 94
- 2025AgentEvolver: Towards Efficient Self-Evolving Agent Systemcited by 85
- 2024Why Does the Effective Context Length of LLMs Fall Short?cited by 63
- 2025FLEX: Continuous Agent Evolution via Forward Learning from Experiencecited by 52
- 2025Building Self-Evolving Agents via Experience-Driven Lifelong Learning: A Framework and Benchmarkcited by 45
- 2025Context as a Tool: Context Management for Long-Horizon SWE-Agentscited by 43
- 2025SOP-Bench: Complex Industrial SOPs for Evaluating LLM Agentscited by 23
- 2025Rethinking Stateful Tool Use in Multi-Turn Dialogues: Benchmarks and Challengescited by 12
- 2026RealFin: How Well Do LLMs Reason About Finance When Users Leave Things Unsaid?cited by 9
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolutioncited by 18
- 2026MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systemscited by 13
- 2026Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Taskscited by 8
- 2026Living-Harness Is an Interactive-Agent Evolvercited by 4
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioceptioncited by 3
- 2026FinEvo-Bench: A Longitudinal Benchmark for Self-Evolving Agents in Professional Financial Workflowscited by 3
- 2026ACE: Pluggable Adaptive Context Elasticizer across Agentscited by 2
- 2026When Agents Evolve, Institutions Followcited by 1
- 2026TopoClaw: A Human-Centric and Topology-Aware Agent Operating Systemcited by 1
- 2026Safe to Check, Unsafe to Use: Relinking at the Compression Boundary of LLM Agentscited by 0
- 2026FinEvo-Bench: A Longitudinal Benchmark for Self-Evolving Agents in Professional Financial Workflows6 Aug 2026
- 2026Living-Harness Is an Interactive-Agent Evolver29 Jul 2026
- 2026ACE: Pluggable Adaptive Context Elasticizer across Agents30 Jun 2026
- 2026LLM Agents Are Latent Context Managers: Eliciting Self-Managed Context via State Proprioception29 Jun 2026
- 2026Safe to Check, Unsafe to Use: Relinking at the Compression Boundary of LLM Agents19 Jun 2026
- 2026Claw-SWE-Bench: A Benchmark for Evaluating OpenClaw-style Agent Harnesses on Coding Tasks10 Jun 2026
- 2026MOSS: Self-Evolution through Source-Level Rewriting in Autonomous Agent Systems21 May 2026
- 2026SkillsVote: Lifecycle Governance of Agent Skills from Collection, Recommendation to Evolution18 May 2026
- 2026TopoClaw: A Human-Centric and Topology-Aware Agent Operating System15 May 2026
- 2026When Agents Evolve, Institutions Follow30 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Learning What to Remember and What to Internalize in LLM Self-Evolution via Adaptive Memory-Parameter Coordination
- 2026Memory for Autonomous LLM Agents:Mechanisms, Evaluation, and Emerging Frontiers
- 2026EvoMemBench: Benchmarking Agent Memory from a Self-Evolving Perspective
- 2026From Storage to Experience: A Survey on the Evolution of LLM Agent Memory Mechanisms
- 2026Self-Consolidation for Self-Evolving Agents
- 2026Metis: Bridging Text and Code Memory for Self-Evolving Agents
- 2025Beyond Training: Enabling Self-Evolution of Agents with MOBIMEM
- 2025MemEvolve: Meta-Evolution of Agent Memory Systems