Home Projects rag-from-scratch
rag-from-scratch
JavaScript

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.

by pguso · GitHub
Stars
Forks
License
Created
Last commit
Category
Language
Likely
Self-hostable
agentsai-agentseducationalMITJavaScriptSelf-hostable
View on GitHub
In plain words

Understand and build a system for Retrieval-Augmented Generation from scratch without relying on external services.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
rag-from-scratch — GitHub preview card
📈 Star history
2k1k
2026-07-202026-08-31
📈 Track rag-from-scratch

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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

rag-from-scratch has 1.6k stars on GitHub. It has been forked 193 times. rag-from-scratch is written mainly in JavaScript. It has been in active development since 2025. rag-from-scratch is available under the MIT license. Its main topics are agents, ai-agents, educational, llm.

Frequently asked questions

What is 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.

Is rag-from-scratch open source?

rag-from-scratch is an open-source project. It is released under the MIT license.

Is rag-from-scratch free?

Yes. rag-from-scratch is free and open source — you can use, modify and self-host it.

What license does rag-from-scratch use?

rag-from-scratch is available under the MIT license.

What language is rag-from-scratch written in?

rag-from-scratch is written mainly in JavaScript.

🏅 Maintainer of this project?
olud.ai badge — rag-from-scratch

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=pguso-rag-from-scratch)](https://olud.ai/project/pguso-rag-from-scratch.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.