RAG Learning Academy

April 3, 2026 · View on GitHub

License: MIT CI Python 3.10+

A structured, multi-agent learning environment for mastering Retrieval-Augmented Generation (RAG) — powered by Claude Code.

Inspired by Claude Code Game Studios, reimagined as an interactive learning guide for RAG systems.

RAG Learning Academy demo

What Is This?

RAG Learning Academy transforms Claude Code into a personal RAG tutor with 20 specialized AI agents, 22 interactive slash commands, and a 9-module curriculum that takes you from "what is RAG?" to production deployment.

Every concept is paired with a hands-on exercise. Every exercise is paired with evaluation metrics. You learn by building.

Quick Start

git clone https://github.com/TakaGoto/rag-learning-academy.git
cd rag-learning-academy
claude                         # Open Claude Code
/start                         # Begin your learning journey

That's it. No API keys, no pip install, no setup. Dependencies get installed when you need them (the first hands-on lesson will guide you).

What's Inside

20 Specialist Agents

Agents don't auto-route — they answer directly when asked, and Claude will suggest the right specialist when a question goes deep into their domain.

TierCountRoleModel
Directors3Curriculum, Architecture, Researchopus
Domain Leads5Embedding, Retrieval, Indexing, Evaluation, Integrationopus
Specialists12Chunking, Vector DB, Reranking, Prompt Engineering, Hybrid Search, Document Parsing, Metadata, Query Analysis, Deployment, Evaluation Metrics, Graph RAG, Multimodalsonnet

22 Slash Commands

CommandWhat It Does
/startAssess your level, pick a track, get a working pipeline
/lessonStart or continue a lesson (checkpoint quizzes between modules)
/quizTest your understanding
/buildBuild a RAG component step by step
/evaluateRun metrics on your pipeline
/debug-ragDiagnose common RAG failures
/compareCompare two approaches with live side-by-side output diffs
/benchmarkBenchmark pipeline performance
/architectureDesign a RAG system for a use case
/paper-reviewWalk through a research paper
/code-reviewGet feedback on your RAG code
/glossaryLook up RAG terminology
/challengeTake on a hands-on challenge
/explainDeep-dive into any concept (supports ELI5 mode)
/roadmapView progress, badges, streaks, and export GitHub badges
/triageNot sure where to go? Get routed to the right skill
/audit-contentCheck materials for outdated references
/recapQuick summary of what you covered last session
/sandboxSpin up a minimal RAG pipeline instantly
/break-itLearn by debugging intentionally broken pipelines
/fixSkip the teaching, diagnose and fix your pipeline
/journalWrite notes about what clicked or confused you

9-Module Curriculum

Each lesson is tagged core or optional. The core path (~8.5 hours) gets you to a working, evaluated RAG system. Optional lessons add depth when you're ready.

#ModuleLessonsCoreKey Topics
1Foundations44What is RAG, architecture, RAG vs fine-tuning
2Document Processing52Parsing, chunking strategies, metadata
3Embeddings52Models, vector spaces, similarity, fine-tuning
4Vector Databases52Chroma, Pinecone, pgvector, indexing
5Retrieval Strategies51Dense, sparse, hybrid, reranking, MMR
6Generation52Prompt engineering, grounding, citations
7Evaluation52RAGAS, retrieval/generation metrics
8Advanced Patterns50Agentic RAG, Graph RAG, CRAG, multimodal
9Production50Deployment, caching, monitoring, scaling

Core path: ~8.5 hours | Full curriculum: ~31 hours

8 Milestones + 4 Proficiency Levels

The curriculum is broken into milestones — concrete checkpoints that mark real capability, not just lessons read.

#MilestoneYou Can Now...
1First LightBuild a working RAG system from scratch
2Data WranglerTurn any document into retrieval-ready chunks
3Vector NavigatorStore and search embeddings effectively
4Retrieval EngineerFind the right information for any query
5Prompt ArchitectGenerate grounded, cited answers
6Quality GuardianMeasure everything and improve with data
7Pattern MasterGo beyond basic RAG when it's warranted
8Production ReadyDeploy, monitor, and scale a RAG system

Complete milestones to earn proficiency levels:

LevelMilestonesWhat It Means
RAG Explorer1-2Can build a basic pipeline and process documents
RAG Practitioner3-5Can design retrieval systems with proper search and prompting
RAG Engineer6-7Can evaluate, optimize, and apply advanced patterns
RAG Architect8 + bonusCan deploy, scale, and maintain production systems

See milestones.md for full requirements and bonus milestones.

3 Guided Projects

LevelProjectWhat You Build
StarterSimple Q&ABasic RAG pipeline over documents
IntermediateMulti-Source HybridHybrid search + reranking + citations
AdvancedAgentic RAGSelf-correcting RAG with routing and tools

Progress Dashboard

Run make dashboard to generate an HTML progress page showing your milestones, proficiency level, module completion, and quiz scores.

Tech Stack

No API keys required to start. The defaults work out of the box:

ComponentDefault (zero config)Optional Upgrade
LLMClaude Code (you're already running it)Ollama (local, needs 8-16GB RAM)
Embeddingsall-MiniLM-L6-v2 (local, no key)OpenAI text-embedding-3-small
Vector DBChromaDB (local, no setup)Pinecone, pgvector, Qdrant
FrameworkLangChainLlamaIndex
EvaluationRAGASCustom metrics
DocsPyPDF, BeautifulSoupUnstructured, pdfplumber

Running models locally? Ollama is free but needs 8-16GB RAM for LLMs. Close heavy apps before running. If your machine slows down, switch to the API path. Local embedding models (all-MiniLM-L6-v2) are lightweight and run fine on most machines.

Project Structure

rag-learning-academy/
├── CLAUDE.md                    # Master config, voice & tone, agent behavior
├── .claude/
│   ├── settings.json            # Hooks, permissions
│   ├── agents/                  # 20 specialist agents
│   ├── skills/                  # 22 slash commands
│   ├── hooks/                   # Freshness checks, validation scripts
│   ├── rules/                   # Path-scoped coding standards
│   └── docs/
│       ├── curriculum/          # 9-module learning path (core/optional tagged)
│       ├── reference/           # Glossary, roster, milestones, standards
│       └── templates/           # Architecture, eval, project templates
├── src/                         # Your RAG code goes here
├── scripts/                     # Dashboard generator, utilities
├── projects/                    # Guided build projects
├── tests/                       # 616 structural + content tests
├── data/                        # Sample documents (6 files incl. 1,247-line chunking doc)
└── progress/                    # Your learning progress + dashboard

Learning Tracks

Run /start and you'll be assessed into one of three tracks:

TrackScoreModulesLevel EarnedEst. Hours
Beginner0-31 → 4RAG Explorer15-25
Intermediate4-63 → 7RAG Practitioner25-40
Advanced7-106 → 9RAG Engineer30-45

Not sure where to go? Run /triage to get routed based on your situation.

Content Freshness

Academy materials are actively monitored so nothing goes stale:

  • Weekly CI — checks PyPI versions, deprecated patterns, MTEB model health, review cycles (details)
  • Monthly CI — content age report, creates GitHub issues for stale files
  • On-demand — run /audit-content for a deep review with web search verification
  • Frontmatter — every content file has last_reviewed, review_cycle, and staleness_risk metadata

Philosophy

"Understand → Build → Evaluate → Iterate"

  • Agents teach, they don't just code for you
  • Every concept comes with a hands-on exercise
  • Every exercise has evaluation criteria
  • You choose your path — agents advise, you decide
  • The tone is conversational and direct — like learning from a smart friend, not reading a textbook

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines on:

  • Reporting bugs and requesting features
  • Development setup and running tests (make ci)
  • Pull request process and checklist
  • Content guidelines and voice & tone
make ci    # Run lint + shellcheck + 616 tests before submitting a PR

Credits

Architecture inspired by Claude Code Game Studios by Donchitos.

License

MIT