Free GitHub Course Teaches Production-Agentic-RAG-Course Through 7-Week arXiv Paper Curator Build
The jamwithai repository delivers a hands-on curriculum that moves from Docker infrastructure to agentic RAG with LangGraph and a Telegram bot, skipping tutorials in favor of production-grade implemen
A developer behind the jamwithai handle has published a complete, free curriculum on GitHub that walks learners through building a production-grade research assistant from scratch. The repository structures the work as a seven-week project called the arXiv Paper Curator, replacing isolated tutorials with a single evolving codebase that mirrors how professional teams ship RAG systems.
Seven Weeks From Infrastructure to Agentic RAG
The course begins with containerized infrastructure — Docker Compose, FastAPI, PostgreSQL, OpenSearch, Apache Airflow, and Ollama — and ends with a LangGraph-driven agent that rewrites queries, grades retrieved documents, enforces guardrails, and exposes a Telegram bot for mobile access. Each week ships as a tagged release (week1.0 through week7.0) so learners can clone the exact state of the codebase at any milestone.
Week 1: Containerized Foundation
The first milestone spins up five services with a single docker compose up command. FastAPI serves async REST endpoints on port 8000, PostgreSQL 16 stores paper metadata, OpenSearch 2.19 provides the search engine with dashboards, Airflow 3.0 orchestrates workflows, and Ollama runs local LLMs. A Jupyter notebook guides verification of every health endpoint before moving on.
Week 2: Automated arXiv Ingestion
An Airflow DAG fetches new papers daily from the arXiv API with rate limiting and retry logic. Docling parses the PDFs into structured text, and a metadata fetcher orchestrates the pipeline end to end. The result is a searchable corpus of academic papers stored in PostgreSQL and ready for indexing.
Week 3: BM25 Keyword Search First
Instead of jumping straight to vector search, the course builds a production BM25 implementation on OpenSearch. Learners define index mappings, tune relevance scoring, and write Query DSL that combines filters, boosting, and pagination — the same foundation that established search teams rely on before adding semantic layers.
Week 4: Chunking Strategy and Hybrid Retrieval
Intelligent chunking prepares documents for dense embeddings. The hybrid search layer merges BM25 scores with semantic similarity, and the notebook demonstrates how chunk boundaries affect recall. This week also introduces the Jina embeddings API for vector generation.
Week 5: End-to-End RAG With Local LLM
A complete retrieval-augmented generation pipeline emerges: hybrid search feeds context to a local model served by Ollama, responses stream token by token, and a Gradio interface provides a chat UI. The system answers research questions by grounding answers in the indexed arXiv corpus.
Week 6: Observability and Caching for Production
Langfuse traces every retrieval and generation step, exposing latency, token counts, and relevance signals in a dashboard. Redis caches frequent queries to cut latency and cost. The week treats monitoring and caching as first-class engineering concerns rather than afterthoughts.
Week 7: Agentic RAG With LangGraph and Telegram
The final milestone replaces the linear pipeline with a LangGraph state machine. Agents decide whether to retrieve, rewrite the query, grade documents for relevance, or refuse out-of-domain requests. A Telegram bot wraps the agent so the research assistant works from a phone. The architecture diagram shows decision nodes, guardrails, and full reasoning traces for debugging.
Running Any Week Locally
git clone --branch week3.0 https://github.com/jamwithai/arxiv-paper-curator
cd arxiv-paper-curator
uv sync
docker compose down -v
docker compose up --build -dPrerequisites are Docker Desktop, Python 3.12+, the UV package manager, and at least 8 GB of RAM with 20 GB of free disk space. The .env.example file supplies defaults for OpenSearch, arXiv API, and service connections; users add a free Jina embeddings key and Langfuse credentials to enable the full stack.
Each week also publishes a companion blog post on the jamwithai Substack that explains design decisions and production patterns behind the code. The repository carries an MIT license and has accumulated over ten thousand stars since its first release.
Related reading
- Awesome-REA: 1000+ Reverse Engineering Resources on GitHub
- DeepSeek Open Sources DeepInfer Engine for Faster, Cheaper Inference
- Inditex Tech Releases 40 Open‑Source Tools Used by Zara’s Team
Sources
Related news
Open SourceDecoding AI Releases Open-Source Course for Building a Second Brain AI Assistant with LLMOpsThe second-brain-ai-assistant-course teaches developers to build production-ready agentic RAG systems using ZenML, Opik, Comet, Unsloth, MongoDB, and Hugging Face.·same source: github.com
Open SourceHarness-1: A 20B Search Agent That Moves State Out of the ModelHarness-1 achieves frontier-level retrieval with a 20B model by offloading working memory to an external harness, trained on just 899 SFT trajectories and 3,453 RL queries.·by shared tag
Open SourceFive Open-Source No-Code Platforms for Building LLM Agents Including AutoAgentA roundup of five open-source no-code platforms — AutoAgent, AnythingLLM, LangChain Open Agent Platform, Sim, and Dify — that let teams build LLM, RAG, and AI agent systems without writing code.·by shared tag
- Open SourcePixelRAG replaces HTML parsing with visual page retrievalPixelRAG is an open-source framework that uses page screenshots instead of HTML parsing to prevent data loss in RAG pipelines.·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.