AI Powered Knowledge Graph Generator
2.5k
Stars
354
Forks
13
Open issues
3
Contributors
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.
Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.
AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.
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.
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.
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.
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.
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.
not documented in README
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.
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
- 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
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.
Newsletter
Get analyses like this every Monday
Free weekly digest of the most interesting open-source discoveries.
Languages
Information
- Language
- Python
- License
- Apache-2.0
- Last updated
- 6mo ago
- Created
- 16mo ago
- Analyzed with
- anthropic/claude-haiku-4-5
Stars over time
Contributors over time
Top 100 contributors only — repos with more will plateau at 100.
Open issues
Consider using parallel leiden in icebug
Switch to xllamacpp for valid JSON outputs
Exploring deeper collaboration / co-founder opportunity
Suggestion: support Gemini LLM Provider in the config file.
Use with gpt-5
Top contributors
Recent releases
Similar repos
| Repository | Stars | Week Δ | Language | Score | Updated |
|---|---|---|---|---|---|
|
|
2.5k | +15 | Python | 7/10 | 6mo ago |
|
|
1.2k | — | Python | 8/10 | 4mo ago |
|
|
28.6k | — | Python | 8/10 | 1d ago |
|
|
2.9k | — | Python | 8/10 | 1d ago |
|
|
1.1k | — | Python | 8/10 | 2mo ago |
|
|
3.2k | — | Python | 7/10 | 8h ago |
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 (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 (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 (3k stars) appears to focus on wiki-style knowledge generation. Different use case emphasis but overlapping knowledge extraction theme.
