English

Reasoner-Executor-Synthesizer: Scalable Agentic Architecture with Static O(1) Context Window

Information Retrieval 2026-03-25 v1 Artificial Intelligence

Abstract

Large Language Models (LLMs) deployed as autonomous agents commonly use Retrieval-Augmented Generation (RAG), feeding retrieved documents into the context window, which creates two problems: the risk of hallucination grows with context length, and token cost scales linearly with dataset size. We propose the Reasoner-Executor-Synthesizer (RES) architecture, a three-layer design that strictly separates intent parsing (Reasoner), deterministic data retrieval and aggregation (Executor), and narrative generation (Synthesizer). The Executor uses zero LLM tokens and passes only fixed-size statistical summaries to the Synthesizer. We formally prove that RES achieves O(1) token complexity with respect to dataset size, and validate this on ScholarSearch, a scholarly research assistant backed by the Crossref API (130M+ articles). Across 100 benchmark runs, RES achieves a mean token cost of 1,574 tokens regardless of whether the dataset contains 42,000 or 16.3 million articles. The architecture eliminates data hallucination by construction: the LLM never sees raw records. KEYWORDS LLM agents; agentic architecture; hallucination elimination; token optimization; context window; retrieval-augmented generation; deterministic execution; scholarly metadata; Crossref API; O(1) complexity.

Keywords

Cite

@article{arxiv.2603.22367,
  title  = {Reasoner-Executor-Synthesizer: Scalable Agentic Architecture with Static O(1) Context Window},
  author = {Ivan Dobrovolskyi},
  journal= {arXiv preprint arXiv:2603.22367},
  year   = {2026}
}
R2 v1 2026-07-01T11:33:56.559Z