#3939th of 94 in RAG, knowledge and search

ai-knowledge-graph

Turns documents into an interactive knowledge graph using an LLM

Releases and problems feed (RSS)

Stars
3.1k
License
Apache-2.0
Last commit
Sep 2026
Last release
Sep 2026
Language
Python
Stars, last 30 weeks+966
26 Apr 2026: 2,177 stars3 May 2026: 2,227 stars10 May 2026: 2,237 stars17 May 2026: 2,256 stars24 May 2026: 2,263 stars31 May 2026: 2,279 stars7 Jun 2026: 2,286 stars14 Jun 2026: 2,288 stars21 Jun 2026: 2,289 stars28 Jun 2026: 2,307 stars5 Jul 2026: 2,513 stars12 Jul 2026: 2,527 stars19 Jul 2026: 2,530 stars26 Jul 2026: 2,536 stars2 Aug 2026: 2,725 stars9 Aug 2026: 2,811 stars16 Aug 2026: 2,835 stars23 Aug 2026: 2,851 stars30 Aug 2026: 2,863 stars6 Sept 2026: 3,038 stars13 Sept 2026: 3,065 stars20 Sept 2026: 3,070 stars27 Sept 2026: 3,077 stars4 Oct 2026: 3,105 stars11 Oct 2026: 3,110 stars18 Oct 2026: 3,115 stars25 Oct 2026: 3,126 stars1 Nov 2026: 3,130 stars8 Nov 2026: 3,134 stars15 Nov 2026: 3,138 stars22 Nov 2026: 3,143 stars

2,177 on 26 Apr 20263,143 on 22 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Python CLI that splits text, PDF or DOCX input into chunks, has an OpenAI-compatible LLM extract typed subject-predicate-object triples, standardizes entity names, and adds capped inferred edges. Output is a self-contained HTML explorer plus JSON, CSV, GraphML and Cypher exports. Optional graph-chat answers questions with cited facts, and graph-serve runs a local web UI on port 8008.

Who it is for: Engineers building explorable knowledge graphs from documents with an LLM

Strengths

  • Every extracted edge keeps its source sentence; inferred edges record their method and are capped
  • Exports to JSON, CSV, GraphML (Gephi, yEd, Cytoscape) and a Neo4j Cypher script
  • Works with any OpenAI-compatible endpoint, including Ollama, LM Studio, vLLM, OpenAI and Gemini
  • On-disk LLM response cache makes re-running the same input free

Weaknesses

  • graph-serve has no authentication; it binds to 127.0.0.1 by default
  • Graph quality depends on the chosen LLM; reasoning models need a large max_tokens
  • Needs a reachable LLM endpoint to build new graphs; only samples browse without one
  • No Docker or compose files; install is via uv or pip

What it needs

  • GPU optional
  • Needs OpenAI-compatible LLM endpoint, Python 3.11+, networkx, jinja2, requests, FastAPI and uvicorn (web extra)
  • Models: Ollama, LM Studio, vLLM, OpenAI, Gemini
  • port 8008

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Known problems

Reported, then fixed by a linked change

Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.

Also in RAG, knowledge and search

See all 94
Also in RAG, knowledge and search
RankProjectScore
#37knowhereDocument parsing and retrieval backend that builds navigable memory for agents4.1k starsApache-2.068 out of 100
#38flashragPython toolkit for reproducing and building RAG pipelines on benchmarks3.6k starsMIT68 out of 100
#40edgequakeRust implementation of LightRAG that builds a knowledge graph from documents2.3k stars+53 (+2.3%) in 30 daysApache-2.067 out of 100
#41smart-second-brainObsidian plugin adding hybrid search, a topic graph and an AI agent1.4k starsMIT67 out of 100
#42llm-for-zoteroZotero plugin for chatting with papers and running an agent over your library3.6k stars+207 (+6.1%) in 30 daysAGPL-3.066 out of 100