Discover and explore top open-source AI tools and projects—updated daily.
Agentic RAG framework enhanced with reinforcement learning
Top 93.2% on SourcePulse
Agentic RAG-R1 is an open-source framework designed to enhance the reasoning capabilities of Agentic Retrieval-Augmented Generation (RAG) systems. It targets researchers and developers looking to build more autonomous and effective AI agents by leveraging reinforcement learning for improved decision-making in retrieval and reasoning processes. The primary benefit is a significant boost in both search depth and answer quality for complex query scenarios.
How It Works
The framework employs an agent memory stack to orchestrate a deliberation loop, supporting actions like planning, reasoning, backtracking, summarization, tool observation (e.g., wiki search), and concluding. It utilizes the GRPO (Generalized Relevance Policy Optimization) algorithm, inspired by DeepSeek-R1, to train the agent's choice of reasoning steps and retrieval actions. This approach aims to improve the agent's ability to autonomously decide when and what to retrieve, and how to integrate that information into its responses.
Quick Start & Requirements
conda
for environment management.
conda create -n AgenticRAG python=3.11 -y
conda activate AgenticRAG
pip install -r requirements.txt
requirements.txt
dependencies. An optional local instance of the ArtSearch
tool (for Wikipedia retrieval) is recommended..env_format
to .env
and filling in environment variables.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project is in an early stage, with "Inference Example Mode" noted as "coming soon." The roadmap indicates planned additions of more tools and features.
2 months ago
Inactive