// rag · VectifyAI/OpenKB

OpenKB

OpenKB é um projeto de RAG e conhecimento de código aberto de VectifyAI (VectifyAI/OpenKB no GitHub). Tem 4.759 estrelas no GitHub e 495 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 22 de julho de 2026.

OpenKB compiles your documents into a persistent, interlinked wiki knowledge base — no vector DB

★ 4,8 mil estrelas⑂ 495 forksApache-2.0atualizado jul 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
VectifyAI/OpenKB
Estrelas no GitHub
4.759
Forks
495
Licença
Apache-2.0
Última atualização no GitHub
22 de julho de 2026
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  1. Gather your documents

    Collect the papers, docs, or URLs you want compiled into one knowledge base.

  2. Install and initialize

    Install OpenKB from PyPI, create a folder, and run the init command, choosing your LLM model.

  3. Add documents

    Add files, a whole directory, or a URL; OpenKB compiles them into wiki pages with cross-links.

  4. Query and chat

    Ask questions with cited answers, chat interactively, or generate outputs like skills and slide decks.

// recursos

Por que as pessoas gostam tanto

Compiled wiki, not chunk RAG

Documents become summary, concept, and entity pages with cross-references that accumulate over time; contradictions get flagged.

Vectorless long-document retrieval

PageIndex tree indexing handles long PDFs by reasoning over a hierarchical index — no vector database required.

Broad format support

PDF, Word, Markdown, PowerPoint, HTML, Excel, CSV, text, and URLs, with native handling of figures, tables, and images.

Query and chat with sessions

One-off cited answers or multi-turn chat over the wiki, with persisted sessions you can resume.

Skill Factory and generators

Distill redistributable agent skills from the wiki, visualize an interactive knowledge graph, or generate single-file HTML slide decks.

Obsidian-compatible and OKF-ready

The wiki is plain Markdown with wikilinks that opens in Obsidian, and pages follow Google's Open Knowledge Format specification.

Advertisement
// execute você mesmo

Execute você mesmo

  1. Clone the repository

    Clone for a source install, or simply install from PyPI in the next step.

    git clone https://github.com/VectifyAI/OpenKB.git
    cd OpenKB
  2. Install OpenKB

    Install the package (or `pip install -e .` from the clone for development).

    pip install openkb
  3. Initialize and query

    Create a knowledge base, add a document, and ask your first question (set your LLM API key in .env first).

    openkb init
    openkb add paper.pdf
    openkb query "What are the main findings?"
// casos de uso

O que você pode criar

  • Turn a folder of research papers into a searchable, cross-linked wiki
  • Maintain a team knowledge base that stays current as new documents are added
  • Ask cited questions over very long PDFs that exceed model context windows
  • Distill a book's worth of material into a portable agent skill
Advertisement
// perguntas frequentes

Perguntas frequentes

Who maintains OpenKB?

VectifyAI, the team behind PageIndex; OpenKB is powered by PageIndex's open-source vectorless retrieval.

Is OpenKB free?

Yes, it is Apache-2.0 licensed. You pay only for the LLM API usage of the provider you configure (OpenAI, Claude, Gemini, and others via LiteLLM); some subscription providers can authenticate via OAuth instead of a key.

Does it need a paid API key?

It needs an LLM — usually your own API key set in .env. PageIndex runs locally by default; the optional PageIndex Cloud features need a separate key.

How does it compare to traditional RAG tools?

RAG rediscovers knowledge from chunks on every query and nothing accumulates. OpenKB compiles knowledge once into a persistent wiki with cross-references already built, then keeps it current as documents are added.

How do I get started?

Run `pip install openkb`, then `openkb init` in a fresh folder, `openkb add <file>`, and `openkb query` or `openkb chat`.

// continue explorando

Ferramentas semelhantes

RAG e conhecimento

llm-wiki-agent

A personal knowledge base that builds itself — drop in sources, get a persistent interlinked wiki.

★ 3,6 mil estrelasMIT
Ver o guia →
RAG e conhecimento

wenlan

Agent-fed knowledge base that distills learnings into cited wiki pages.

★ 79 estrelasApache-2.0
Ver o guia →
RAG e conhecimento

WeKnora

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

★ 31,9 mil estrelasUnknown
Ver o guia →
RAG e conhecimento

Starcat

Turn your GitHub stars into a searchable AI knowledge base.

★ 184 estrelasMIT
Ver o guia →
RAG e conhecimento

FastGPT

A knowledge-base platform with visual AI workflows — build Q&A systems on your own documents

★ 29,8 mil estrelasNOASSERTION
Ver o guia →
RAG e conhecimento

autoflow

Graph RAG conversational knowledge base built on TiDB Serverless vector storage

★ 3,0 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em RAG e conhecimento

Os outros projetos de RAG e conhecimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se OpenKB não for o ideal para você.

  • MarkItDown★ 193,5 mil

    MarkItDown — Microsoft tool that converts PDFs, Office files, images and more to clean Markdown for LLMs, MIT

  • Dify★ 157,8 mil

    Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or…

  • ragflow★ 91,6 mil

    RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context…

  • PaddleOCR★ 90,8 mil

    Lightweight OCR toolkit turning PDFs and images into structured, LLM-ready data in 100+ languages

  • MinerU★ 82,5 mil

    MinerU — turns PDFs and Office documents into LLM-ready Markdown and JSON for agents and RAG pipelines, Apache-2.0 plus terms

// mais em rag

Mais em RAG e conhecimento

Projetos de RAG e conhecimento próximos no catálogo, os mais próximos em estrelas de OpenKB: continue explorando dos dois lados dele.

  • AutoRAG★ 5,1 mil

    An agent that finds anything on your computer — federated search over your files, in place.

  • infinity★ 4,7 mil

    AI-native database for hybrid search across dense, sparse, and tensor vectors plus full text

  • code-graph-rag★ 5,2 mil

    RAG for your monorepo: query, understand and edit multi-language codebases with a knowledge graph.

  • ragapp★ 4,4 mil

    RAGApp: deploy a RAG app over your documents with Docker — configure it like a custom GPT

  • llm-graph-builder★ 5,3 mil

    Build Neo4j knowledge graphs from unstructured data using LLMs — then chat with your graph.

  • ragent★ 4,2 mil

    Ragent (容纳智能体): a production-grade Java Agentic RAG platform with hybrid retrieval and an admin console

Baixe o OpenKB

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.