// 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

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ê.

// 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.

Baixe o OpenKB

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