← Agent building

rag-from-scratch

Demystify RAG by building it from scratch. Local LLMs, no black boxes - real understanding of embeddings, vector search, retrieval, and context-augmented generation.

AgentPick Score 22/100#427 in Agent building★ 1.6k GitHub starsMITUpdated 11 Mar 2026JavaScript

Ranked by AgentPick Score, our data score from public GitHub activity. Description is the project's own.

Topics: agents, ai-agents, educational, llm, node-llama-cpp, nodejs, rag, rag-chatbot, rag-pipeline, tutorial

Starter prompt

Try rag-from-scratch on one small, low-risk task: [task]. Tell me what worked, what didn't, and how long it took.
Your tool here? Reach developers comparing agent tools.Get featured →

More in Agent building

LangChain →

The agent engineering platform.

DSPy →

DSPy: The framework for programming—not prompting—language models

CopilotKit →

The Frontend Stack for Agents & Generative UI. React, Angular, Mobile, Slack, and more. Makers of the AG-UI Pr…

agentscope →

Build and run agents you can see, understand and trust.

Haystack →

Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Des…

LlamaIndex →

LlamaIndex is the document processing platform for AI

AgentPick Weekly

The week's new agent tools with a verdict on each, every week. Free. We'll email you a link to confirm, and you can unsubscribe any time. See our Privacy Policy.