---
title: "VectifyAI's OpenKB Turns Karpathy's Viral Idea Into an Open-Source RAG Killer"
subtitle: "OpenKB turns raw documents into a self-maintaining wiki using LLMs, skipping chunking and vector databases entirely"
url: "https://alphasignal.ai/news/vectifyai-s-openkb-turns-karpathy-s-viral-idea-into-an-open-source-rag-killer"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-06-18T04:36:07.000Z"
updated: "2026-06-18T07:13:41.663Z"
type: "Repo"
topics:
  - "Retrieval"
  - "Open Source"
subtopics:
  - "Rag"
  - "Document Understanding"
upvotes: 10
source_url: "https://github.com/VectifyAI/OpenKB"
comments: 0
truncated: true
---

# VectifyAI's OpenKB Turns Karpathy's Viral Idea Into an Open-Source RAG Killer

> OpenKB turns raw documents into a self-maintaining wiki using LLMs, skipping chunking and vector databases entirely

Andrej Karpathy posted a thread in early April 2026 describing how he now uses LLMs not to write code, but to compile knowledge. He described using LLMs to build personal knowledge bases for various topics of research interest, and the post racked up 59,000 likes and 106,000 bookmarks. Within days the post had spawned a GitHub Gist, a wave of community implementations, and serious debate about whether this approach makes RAG pipelines obsolete for personal use. VectifyAI moved fast. Their answer is [OpenKB](https://github.com/VectifyAI/OpenKB), an open-source CLI that turns that idea into a production-ready system.

## The problem with how RAG actually works

To understand why OpenKB matters, you need to understand the specific failure mode it targets. A typical RAG pipeline chunks documents, generates embeddings, stores them in a vector database, retrieves relevant chunks at query time, and feeds those chunks to the LLM to generate an answer. That workflow is mature and widely used, but it has a structural flaw. The knowledge itself does not really accumulate. Every question repeats the work of finding chunks, assembling context, and generating an answer.

Traditional RAG re-synthesizes from scratch every time, even for the same question on the same document. Token costs keep accumulating, and answer quality varies with prompt and context length. Karpathy's framing of this is essentially a compiler analogy: instead of having the LLM re-read your raw documents every time you ask a question, build a persistent, structured wiki once and keep it updated forever.

## What OpenKB actually builds

OpenKB is an open-source CLI that compiles raw documents into a structured, interlinked wiki-style knowledge base using LLMs, powered by PageIndex for vectorless long document retrieval. The idea is based on a concept described by Andrej Karpathy: LLMs generate summaries, concept pages, and cross-references, all maintained automatically. Knowledge compounds over time instead of being re-derived on every query.

The output is not a database or an index. It outputs the knowledge base as ordinary Markdown files instead of locking it inside a dedicated database. OpenKB outputs pure Markdown with `[[wikilinks]]`. It opens instantly in Obsidian Graph View. Compile hundreds of company documents and see at a glance how concepts connect, a visualization of knowledge structure that no RAG system can provide.

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [GitHub - VectifyAI/OpenKB: OpenKB: Open LLM Knowledge Base](https://github.com/VectifyAI/OpenKB)
- [OpenKB: An Open-Source LLM Knowledge Base - PageIndex Blog](https://pageindex.ai/blog/introducing-openkb)
- [Andrej Karpathy on X: LLM Knowledge Bases](https://x.com/karpathy/status/2039805659525644595)
- [Vectorless RAG: How PageIndex Works (2026 Guide)](https://www.buildfastwithai.com/blogs/vectorless-rag-pageindex-guide)
- [OpenKB: Compiling Documents into a Continuously Updated LLM Knowledge Base](https://knightli.com/en/2026/05/17/openkb-llm-knowledge-base/)
