robert-mcdermott

robert-mcdermott/ai-knowledge-graph

Python Apache-2.0 AI & ML

AI Powered Knowledge Graph Generator

2.5k stars
354 forks
slow
GitHub +15 / week

2.5k

Stars

354

Forks

13

Open issues

3

Contributors

0.6.3 28 Dec 2025

AI Analysis

This Python tool extracts structured knowledge from unstructured text by using LLMs to identify Subject-Predicate-Object triplets and visualizes them as interactive graphs. It serves domain experts, researchers, and knowledge engineers who need to build semantic representations from large documents—not general-purpose software for casual users, but a specialized pipeline for knowledge extraction and graph construction workflows.

AI & ML Developer Tool Discovery value: 6/10
Documentation 8/10
Activity 8/10
Community 7/10
Code quality 5/10

Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.

Overall score 7/10

AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.

knowledge-graph llm-extraction semantic-analysis entity-linking graph-visualization
Actively maintained Well documented Apache-2.0 licensed Niche/specialized use case Beginner friendly Production ready
Deep Analysis · Based on README and public signals
2w ago

LLM-powered knowledge graph extraction from unstructured text with entity standardization and inference

ai-knowledge-graph is a Python tool that converts unstructured documents into interactive knowledge graphs by extracting Subject-Predicate-Object triplets using LLMs. It targets users who need to structure textual information into queryable relationship networks, such as researchers, knowledge workers, and teams building internal knowledge bases. The project uses any OpenAI-compatible API (local Ollama, commercial services, or self-hosted), includes entity standardization and relationship inference, and outputs interactive HTML visualizations. Adoption and production usage are not documented.

Origin

Created March 2025, this is a young project (15 months old as of June 2026) in the knowledge graph extraction space. The broader ecosystem includes established tools like Graphiti and ScrapeGraphAI, but this project appears focused on simplicity and LLM flexibility rather than competing on feature breadth.

Growth

The project gained 2,312 stars over approximately 15 months, averaging roughly 150 stars/month early on, but recent 7-day growth is 1 star, suggesting growth has plateaued or stabilized. Last push was 2025-12-28 (approximately 6 months prior to evaluation date), indicating the project is maintained but not in active development mode. The modest, stable trajectory suggests a niche but conscious user base rather than viral adoption.

In production

adoption not verified. No documented case studies, company testimonials, integration examples, or deployment evidence in README. The demo (Industrial-Revolution Knowledge Graph) demonstrates capability but not production usage. No mentions of user communities, plugins, or downstream integrations.

Code analysis
Architecture

Based on README, the system operates in three phases: (1) text chunking and SPO triplet extraction via LLM, (2) entity standardization using LLM or heuristics to normalize entity names across chunks, and (3) relationship inference (transitive rules and cross-community linking). Appears to use configurable OpenAI-compatible endpoints and outputs interactive HTML graphs. Implementation details not inspectable from metadata alone.

Tests

not documented in README

Maintenance

Last commit 2025-12-28 is 6 months old as of 2026-06-29. Project is not abandoned but not in active development. No indication of recent issue resolution or release cycle. Appears to be in stable maintenance mode rather than actively evolving.

Honest verdict

ADOPT IF: you need a lightweight, configurable knowledge graph extractor for internal documents, are comfortable with LLM API costs and latency, and want to self-host with local models (Ollama) or integrate with existing LLM services. The three-phase pipeline (extraction, standardization, inference) is well-suited to messy unstructured text. AVOID IF: you require production-grade reliability, comprehensive error handling, enterprise support, or verified high-volume usage — no adoption evidence or SLA claims exist. MONITOR IF: you are considering knowledge graph extraction as a broader category and want to track whether this project gains traction as a lightweight alternative to heavier frameworks.

Independent dimensions

Mainstream potential

3/10

Technical importance

6/10

Adoption evidence

1/10

Risks
  • Adoption is not documented; unclear if production deployments exist or how well it scales beyond demo examples
  • Last commit is 6 months old; no recent activity to assess bug fixes, dependency updates, or feature requests
  • Test coverage and error handling not documented; quality assurance profile unknown
  • LLM cost and hallucination risk not discussed in README; accuracy/reliability claims absent
  • Small team/single-author appearance (inferred from repo name) may limit support and long-term maintenance
Prediction

Likely to remain a stable, niche tool for users seeking lightweight knowledge graph extraction. Unlikely to achieve mainstream adoption (>10k stars) without significant marketing, production hardening, or killer-app use case. May be absorbed into larger frameworks or superseded by more comprehensive solutions if not actively maintained.

0 found this helpful

Newsletter

Get analyses like this every Monday

Free weekly digest of the most interesting open-source discoveries.

Languages

Python
65.1%
HTML
34.9%

Information

Language
Python
License
Apache-2.0
Last updated
6mo ago
Created
16mo ago
Analyzed with
anthropic/claude-haiku-4-5

Stars over time

Loading…

Contributors over time

Top 100 contributors only — repos with more will plateau at 100.

Loading…

Similar repos

stair-lab

stair-lab/kg-gen

kg-gen is a Python library for extracting knowledge graphs from unstructured...

1.2k Python AI & ML
getzep

getzep/graphiti

Graphiti is a framework for building temporal context graphs that track how...

28.6k Python AI & ML
VectifyAI

VectifyAI/OpenKB

OpenKB is an open-source CLI system that compiles raw documents into a...

2.9k Python AI & ML
InternScience

InternScience/GraphGen

GraphGen is a framework for synthetic data generation guided by knowledge...

1.1k Python AI & ML
SamurAIGPT

SamurAIGPT/llm-wiki-agent

An AI-powered personal knowledge management system that automatically ingests...

3.2k Python AI & ML
vs. alternatives
Graphiti

Graphiti (28k stars) is roughly 10x more adopted and likely more feature-rich. Both extract relationships from text, but Graphiti's adoption suggests broader use cases or better marketing. This project may be simpler or more lightweight, but README does not claim differentiation.

ScrapeGraphAI

ScrapeGraphAI (27k stars) focuses on web scraping + graph extraction. Overlaps on relationship extraction but targets different input (web) vs. unstructured text. Both use LLMs but serve distinct niches.

OpenKB

OpenKB (2.7k stars) is closer in scale and likely also targets knowledge base construction. Direct feature comparison not evident from README alone.

LLM-wiki-agent

LLM-wiki-agent (3k stars) appears to focus on wiki-style knowledge generation. Different use case emphasis but overlapping knowledge extraction theme.