Skip to content

v0.1.0 - Initial Release: A-RAG Framework

Pre-release
Pre-release

Choose a tag to compare

@Ayanami0730 Ayanami0730 released this 06 Feb 14:17
· 2 commits to main since this release

A-RAG v0.1.0 - Initial Release

A-RAG: Scaling Agentic Retrieval-Augmented Generation via Hierarchical Retrieval Interfaces

📄 Paper (arXiv:2602.03442) | 🌐 Website

Highlights

This is the initial public release of A-RAG, an agentic RAG framework featuring hierarchical retrieval interfaces that enable LLMs to autonomously access corpus information at keyword, sentence, and chunk levels.

  • 94.5% LLM-Acc on HotpotQA (GPT-5-mini backbone)
  • 89.7% LLM-Acc on 2WikiMultiHopQA (GPT-5-mini backbone)
  • 74.1% LLM-Acc on MuSiQue (GPT-5-mini backbone)

What's Included

  • 🔍 Hierarchical Retrieval Tools: keyword_search, semantic_search, chunk_read
  • 🤖 BaseAgent: ReAct-style agent loop with token budget management and context tracker
  • 📊 Evaluation Suite: Batch processing (batch_runner.py) and LLM-based evaluation (eval.py)
  • 🏗️ Index Builder: Sentence-level embedding index construction
  • ⚙️ OpenAI-Compatible API: Works with any OpenAI-compatible endpoint

Installation

Recommended: use uv

curl -LsSf https://astral.sh/uv/install.sh | sh
git clone https://github.com/Ayanami0730/arag.git
cd arag && uv sync --extra full

Roadmap

  • Baseline scripts for all compared methods (GraphRAG, HippoRAG2, LinearRAG, etc.)
  • Ablation interfaces (w/o keyword search, w/o semantic search, w/o chunk read)
  • Native Anthropic Claude and Google Gemini API support
  • Additional benchmark evaluation scripts