vishal-achhu

Agentic RAG — AI skill for Claude Code

AI community

A production-style Retrieval-Augmented Generation platform in Python.

How to install Agentic RAG

This entry records only its repository, not the path inside it, so there is no exact command to give. Open vishal-achhu/Agentic-RAG and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentic RAG does

A production-style Retrieval-Augmented Generation platform in Python. It runs **fully offline** (no API key, deterministic, CI-friendly) and switches to **Claude** for planning and answering when `ANTHROPIC_API_KEY` is set.

Alternatives in AI

  • Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
  • Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★
  • Peekaboo — Peekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, o 3.2k ★

README

🧠 Agentic RAG: Hybrid Retrieval, Tool-Using Agent, Guardrails & Evaluation

A production-style Retrieval-Augmented Generation platform in Python. It plans multi-step lookups, retrieves with fused lexical and semantic search, refuses to hallucinate, defends against prompt injection, and **measures its own quality** in CI. Runs **fully offline** (no API key, deterministic) and upgrades to **Claude** with one environment variable.

![Python](https://img.shields.io/badge/python-3.10%2B-blue) ![Tests](https://img.shields.io/badge/tests-32%20passing-brightgreen) ![API](https://img.shields.io/badge/API-FastAPI%20%2B%20SSE-009688) ![LLM](https://img.shields.io/badge/LLM-Claude%20%7C%20offline-orange)


✨ At a glance

What it is A question-answering backend over your documents: cited answers, streamed tokens, safety checks, metrics
Why it's different Most RAG demos stop at "embed, retrieve, prompt". This one adds an agent loop, guardrails, abstention, faithfulness scoring and an evaluation harness with a CI quality gate
Scale of work ~1,700 lines of Python (including tests), 18 modules, 32 automated tests, Docker, GitHub Actions
Dependencies Core retrieval (BM25, vector store, RRF, MMR, chunking, cache) is written from scratch with only NumPy. No LangChain or vector-DB lock-in

🎬 Demo (real output from this repo)

**Multi-part question: the agent decomposes it and searches twice**

$ python -m agentic_rag ask "Do you support SSO and what is the MFA policy for admins?"

A: Single sign-on through SAML 2.0 and OIDC is available on the Pro and Enterprise plans. [1]
   Multi-factor authentication is mandatory for all administrator accounts. [1]
Sources: [1] Nimbus Security Overview > Access control ...
(grounding=1.0  steps=2  4.5ms)

**Tool use: retrieves a price, then computes with a sandboxed calculator**

$ python -m agentic_rag ask "What is the monthly cos