GenericAgent: A Self-Evolving LLM Agent Framework that Grows Skills from 3,300 Lines of Seed Code
Key Points
- 1Long-horizon large language model (LLM) agents face a fundamental limitation due to their context window size.
- 2As interactions extend, various forms of data, including tool descriptions, retrieved memories, and environmental feedback, rapidly accumulate.
- 3This accumulation within the context inevitably displaces vital information necessary for the agent's ongoing operation.
Long-horizon large language model (LLM) agents are fundamentally constrained by their limited context window. As interactions evolve over extended periods, an increasing volume of information accumulates, including detailed tool descriptions, retrieved memories, and raw environmental feedback. This accumulation frequently pushes out other crucial information necessary for effective agent operation, leading to a degradation in performance. To address this core limitation, the paper introduces GenericAgent, a novel LLM agent designed to be token-efficient and self-evolving, specifically targeting the challenges posed by contextual accumulation in long-horizon tasks.