ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context
Andy Nguyen, Danh Doan, Hoang Pham, Bao Ha, Dat Pham, Linh Nguyen, Hieu Nguyen, Thien Nguyen, Cuong Do, Phat Nguyen, and Toan Nguyen

TL;DR
ByteRover introduces an agent-native memory system using hierarchical context trees curated by the same LLM that reasons, enabling efficient, self-contained long-term knowledge management without external infrastructure.
Contribution
It presents a novel agent-native memory architecture with hierarchical organization, provenance, and adaptive lifecycle, improving coherence and efficiency over external memory pipelines.
Findings
Achieves state-of-the-art accuracy on LoCoMo.
Demonstrates competitive results on LongMemEval.
Requires no external infrastructure or embedding services.
Abstract
Memory-Augmented Generation (MAG) extends large language models with external memory to support long-context reasoning, but existing approaches universally treat memory as an external service that agents call into, delegating storage to separate pipelines of chunking, embedding, and graph extraction. This architectural separation means the system that stores knowledge does not understand it, leading to semantic drift between what the agent intended to remember and what the pipeline actually captured, loss of coordination context across agents, and fragile recovery after failures. In this paper, we propose ByteRover, an agent-native memory architecture that inverts the memory pipeline: the same LLM that reasons about a task also curates, structures, and retrieves knowledge. ByteRover represents knowledge in a hierarchical Context Tree, a file-based knowledge graph organized as Domain,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
