Turn every document into one AI knowledge base. This open-source tool gathers PDFs, Word files, presentations, spreadsheets, and web pages in one place so AI can analyze their contents and uncover links across documents. - Automatically searches for relevant details when you ask a question - Returns source links alongside answers - Connects and analyzes information across documents - Runs locally without sending data outside your machine - Fully open source, turning your files into an AI ‘second brain.’ Source:

Teams building RAG systems often struggle with poor retrieval accuracy across scattered files and lost document context. OpenKB is an open-source tool that gathers local documents and compiles them into an interlinked wiki. It converts entire file collections into a structured AI knowledge base without sending data outside your environment.

Wiki Compilation Without a Vector DB

Standard RAG pipelines run fresh searches over individual chunks on every query, so knowledge never compounds. OpenKB follows the wiki-compilation pattern highlighted by Andrej Karpathy, automatically generating cross-references and concept pages across documents as knowledge grows. Instead of reassembling fragments at query time, the tool continuously updates the knowledge base itself.

It uses PageIndex tree indexing to reason over long document context without a Vector DB, and it processes charts, diagrams, and images alongside text through multimodal parsing.

Multi-Format Support and Layered Architecture

The tool ingests common workplace formats out of the box. It converts PDF, Word, PowerPoint, Excel, Markdown, and HTML files into a structured wiki while syncing extracted entities and concepts under the Google OKF specification.

Internally, OpenKB separates a foundation layer that builds the knowledge graph from a generator layer that applies it. Workflows cover one-off Q&A, multi-turn chat, and custom Skill Factory extraction. Users can also run commands and persist sessions from the CLI.

Built for Strict Data Security and Long-Term Knowledge

Organizations bound by strict data governance rules can run the entire pipeline inside isolated local infrastructure thanks to its open-source license. OpenKB flags contradictory statements across documents and attaches explicit source links to its answers.

It fits both individual researchers building a personal second brain and teams designing an internal knowledge platform. Unlike stateless retrieval setups that discard work after each query, OpenKB lets knowledge accumulate over time.

Summary

  • Uses PageIndex tree indexing instead of a Vector DB to track long-document context and process multimodal content
  • Compiles documents into an evolving wiki with automatic cross-references and concept pages rather than running stateless RAG lookups
  • Runs locally as a fully open-source tool across PDF, Word, Excel, and other standard document formats without external data transfer