jiangxinke/Agentic-RAG-R1

Agentic RAG R1 Framework via Reinforcement Learning

54
/ 100
Established

Implements GRPO (Generalized Relevance Policy Optimization) to train language models with autonomous tool-calling and multi-step reasoning over retrieval actions, supporting an agent memory stack with backtracking and summarization. Integrates with ArtSearch for Wikipedia retrieval and TCRAG as a rollout generator, while offering LoRA tuning, quantization, and DeepSpeed distributed training (Zero 2/3) to efficiently fine-tune models up to 32B on 2 A100 GPUs. Includes a composite reward model combining accuracy, format, and RAG-specific RAGAS-based scoring for optimizing both answer quality and retrieval effectiveness.

393 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

393

Forks

46

Language

Python

License

Apache-2.0

Last pushed

Feb 16, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/jiangxinke/Agentic-RAG-R1"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.