English

InfiAgent: An Infinite-Horizon Framework for General-Purpose Autonomous Agents

Artificial Intelligence 2026-01-07 v1 Multiagent Systems

Abstract

LLM agents can reason and use tools, but they often break down on long-horizon tasks due to unbounded context growth and accumulated errors. Common remedies such as context compression or retrieval-augmented prompting introduce trade-offs between information fidelity and reasoning stability. We present InfiAgent, a general-purpose framework that keeps the agent's reasoning context strictly bounded regardless of task duration by externalizing persistent state into a file-centric state abstraction. At each step, the agent reconstructs context from a workspace state snapshot plus a fixed window of recent actions. Experiments on DeepResearch and an 80-paper literature review task show that, without task-specific fine-tuning, InfiAgent with a 20B open-source model is competitive with larger proprietary systems and maintains substantially higher long-horizon coverage than context-centric baselines. These results support explicit state externalization as a practical foundation for stable long-horizon agents. Github Repo:https://github.com/ChenglinPoly/infiAgent

Keywords

Cite

@article{arxiv.2601.03204,
  title  = {InfiAgent: An Infinite-Horizon Framework for General-Purpose Autonomous Agents},
  author = {Chenglin Yu and Yuchen Wang and Songmiao Wang and Hongxia Yang and Ming Li},
  journal= {arXiv preprint arXiv:2601.03204},
  year   = {2026}
}
R2 v1 2026-07-01T08:52:57.112Z