
I built Sanatan Facts so AI learns the source, not a forward
In short: Sanatan Facts traces 623 Sanatana Dharma entries and 788 repeated claims to their texts, labels each source's basis and ships it as AI-ready data.
A verse lands in the family WhatsApp group every week. It has a confident Sanskrit line, a translation, and a source like "Vedas" or "Mahābhārata". Most weeks I can't find the line in any edition. Ask a chatbot about it and you often get the same line back, now with fluent commentary.
On 30 November 2026 I shipped Sanatan Facts. It is a free, crowd-sourced reference that traces what people commonly say about Sanatana Dharma back to the primary texts, puts the claim and the source side by side, and publishes all of it in formats a model can ingest. My claim is simple: you cannot prompt your way out of a bad corpus. Cultural accuracy in AI gets fixed upstream, in the open data, with provenance attached to every line.
The same reel is on YouTube. Narrated in my cloned voice.
What the site actually holds
Every object in the tradition gets exactly one entry: a person, a place, a text, a story, a verse, a concept, a festival. Each entry follows the same layout, which I call the Entry Standard: an answer box, a key-facts table, verses with references, the claims people repeat with a verdict, a "People also ask" block, labelled references and related entries. I copied the shape from a search results page on purpose. Readers and answer engines both look for the answer in the first lines and the facts in a predictable place.
The numbers below come from the repository on launch day.
| Part | Count |
|---|---|
| Dictionary entries | 623 |
| People / deities / places / texts | 126 / 82 / 62 / 77 |
| Stories / verses / concepts | 55 / 41 / 51 |
| Commonly repeated claims, each with a verdict | 788 |
| In-depth explainers | 14 |
| Databases for the content itself | 0 |
The claims are where it earns its keep. "33 crore gods" sits next to Bṛhadāraṇyaka Upaniṣad 3.9, which counts thirty-three. "The Vedas command sati" sits next to Ṛgveda 10.18.8, which tells the widow to rise and return to the living. A flattering misquote gets the same treatment as a hostile one: "dharma hiṃsā tathaiva ca" is not in the critical edition, however patriotic it sounds.
The field that matters is the basis
The part I'd steal for any domain is not the verdict. It is the basis label on each source. Every reference carries one of six kinds: scripture, traditional commentary, scholarship, reference work, living tradition, or contributor know-how.
That last pair exists because most people who know this tradition learned it from a guru, a grandmother or a temple, not a critical edition. Throwing that knowledge away would be wrong. Presenting it as scripture would be worse. So the contribution form asks one question in plain words: where does this come from? Choose "my teacher or family tradition" and you are welcome. The line is then published with a label saying it isn't from a written source. Choose "a book or scripture" and the form will not let you send it without naming the text and verse.
For a model, that label is the difference between testimony and text. Every JSON record carries a provenance block with the review status, a count of sources by basis, the contributors and the full review trail. Every Markdown file and line of the JSONL stream opens with the same curation statement. A training pipeline can filter to verified scripture-backed records, or keep the oral tradition and know exactly what it kept.
In words: a reader flags something, says where their knowledge comes from, the submission waits in a small Redis queue, a Claude agent on my laptop reviews the day's queue against the sources, and the decision and reason land on the entry, credited by name.
How I built it in a day
I built the whole thing in one Claude Code session. The site is static Astro on Vercel, 57 MB of HTML, Markdown, JSON and one tour video in total, with one small Redis for votes and submissions, and Resend for email. The content came from parallel research agents, each owning a slice: people, deities, places, texts, stories, verses, concepts. A schema validator gated every file they wrote. A coverage script then listed every entry that was referenced but did not exist, 186 at one point, and more agents filled them in until every related link resolved.
It also produced scars worth sharing. YAML read verdict: false as a boolean, so I renamed the verdict. My first seed concepts, including dharma, karma and yoga, were one-line stubs with no sources, which is embarrassing for exactly the entries that matter most, and they were rewritten last. The first navigation said "Myths checked". That frames sacred stories as fiction, and it went. Most contributors will be retired readers on phones, so dark mode stopped being the default and the text became Atkinson Hyperlegible with an A+ button that actually scales the whole page, after my first version scaled only body text.
What I'd tell anyone curating data for models
Three rules held up. First, separate what the text says from how a tradition reads it. They are different fields, and a model should see the seam. Second, label unwritten knowledge instead of excluding it. Coverage without honesty is noise, and honesty without coverage is a museum. Third, make the curation statement travel with the data. If the record gets copied into a dataset, the claim of what it is should be copied with it.
The site is deliberately not called a Sanatan Wikipedia. It is a curated, correctable reference, self-funded, and every contribution is credited to the person who made it. Every draft is marked as a draft, and every page asks one question with three big buttons: is this correct?
Open sanatanfacts.online, find an entry you know well, and tap ✅ or ❌. If you build retrieval or training sets, start with the dataset card and the JSONL stream.
Fix the corpus, label the basis, and let the provenance travel with every line.


