An Iterative Self-Correcting Agentic RAG System

Authors

  • Vinay Tiparadi Syracuse University
  • Narayan Krishnan Syracuse University
  • Chetanya Rathi Syracuse University
  • Hiren Manani Syracuse University
  • Saman Kumarawadu Syracuse University

DOI:

https://doi.org/10.32473/flairs.39.1.141838

Keywords:

Agentic RAG, Pre-Act Architecture,, Corrective RAG, Workflow Agent, LLM-based Router, Baseline RAG

Abstract

Traditional Retrieval-Augmented Generation (RAG) systems enhance Large Language Models (LLMs) with external knowledge but are limited by static, single-pass retrieval, making them less effective for complex, multi-step reasoning. This paper introduces a context-driven agentic RAG architecture that uses autonomous agents to dynamically manage retrieval, reasoning, and response generation. The system includes three specialized agents: a CorrectiveAgent for iterative, self correcting retrieval; a Pre-Act agent for query decomposition and structured reasoning; and a WorkflowAgent for task execution. An LLM-based router selects the most appropriate agent based on query context. The framework integrates web search tools and vector-based retrieval for up-to-date knowledge access. Evaluated using Gemini 2.5 Flash Lite, the routing mechanism achieved 97.96% accuracy on 49 queries. Further testing on 120 cases using DeepEval showed significant improvements over a standard RAG baseline, including higher Faithfulness (0.95 vs. 0.79), Answer Relevancy (0.42 vs. 0.24), and Contextual Relevancy (0.28 vs. 0.19). These results demonstrate that agentic RAG systems outperform traditional approaches, with potential for further gains using more advanced models or higher reasoning budgets.

Downloads

Published

06-05-2026

How to Cite

Tiparadi, V., Krishnan, N., Rathi, C., Manani, H., & Kumarawadu, S. (2026). An Iterative Self-Correcting Agentic RAG System. The International FLAIRS Conference Proceedings, 39(1). https://doi.org/10.32473/flairs.39.1.141838

Issue

Section

Special Track: Applied Natural Language Processing