Context as Infrastructure: Knowledge Compilation for Retrieval in Agentic Systems with Harnesses
On the map: Retrieval-augmented generation → Agentic RAG, agents and memory
also in 1 more
Abstract (arXiv)
Retrieval-augmented generation is becoming agentic. A search harness writes queries, reads results, reformulates, and decides when to stop. This largely solves accuracy: a harness with only BM25/grep and MiniMax M3 answers 85% of BrowseComp-Plus and 91% on multi-hop FRAMES in our runs, without compiled or vector indexes. It exposes a context problem: an undisciplined loop repeats queries, rereads documents, and fills the window with unused passages. The missing layer is knowledge compilation: a configurable ingestion pipeline where LLMs enrich documents with context no chunk contains alone--navigation hierarchies with claim-evidence leaves, entity graphs, timelines, mind maps, ontologies, wikis, and memory. Compilation is not a better retriever: under a competent harness, structural artifacts gave no detectable accuracy gain on FRAMES, and a PageIndex-style outline degraded at scale. It is a supply layer. A navigation tree whose leaves are claim-evidence pairs--the mechanism we measure--cuts query tokens by 91% when evidence suffices and adds 1.9% when it does not, a 38% average reduction; this implies a 2% break-even sufficiency rate and a measured rate near 43%. A decision gate cuts latency from 140 s to 30 s, though substitution's token saving is bought with retrieval rounds and carries its own latency cost. Other artifacts--ontology, graph, wiki, timeline, mind map, memory--pay off in deployment (governance, integration, onboarding, temporal orientation, continuity) where accuracy benchmarks cannot see them. We describe RAGFlow's pipeline and harness (open source at https://github.com/infiniflow/ragflow), which turns the loop into five disciplined stations and keeps the context entering the model the smallest sufficient set; together they form an agent-native database: a store that hands the agent compiled, governed context instead of a ranked list of passages.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agentic RAG, agents and memory, one of 15 directions in Retrieval-augmented generation. Builds on 16 of its 35 references that are in the map. Submitted 30 Oct 2026.
Builds on
16 of 35 references.
Closest ancestors · 1
Same direction, newest first
Other references · 15
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,990
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,978
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,566
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 990
- 2023Enabling Large Language Models to Generate Text with Citationscited by 673
- 2020Knowledge Graphscited by 641
- 2024Adaptive-RAG: Learning to Adapt Retrieval-Augmented Large Language Models through Question Complexitycited by 490
- 2021QA-GNN: Reasoning with Language Models and Knowledge Graphs for Question Answeringcited by 399
3 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Retrieval as Reasoning: Self-Evolving Agent-Native Retrieval via LLM-Wiki
- 2026AgenticRAG: Agentic Retrieval for Enterprise Knowledge Bases
- 2026Knowledge-as-Skill: A Structural Design for Autonomous Knowledge-Base Use by LLM Agents
- 2026ACE-GraphRAG: Agentic Context Engineering for Hierarchical GraphRAG
- 2026ByteRover: Agent-Native Memory Through LLM-Curated Hierarchical Context
- 2026LongSeeker: Elastic Context Orchestration for Long-Horizon Search Agents
- 2026Agent Retrieval Bench: Evaluating Repository Context Retrieval for Coding Agents
- 2025DeepSieve: Information Sieving via LLM-as-a-Knowledge-Router