For a graph-based RAG framework, the first results are supermemoryai/supermemory (Supermemory is a knowledge graph engine and vector database orchestrator with hybrid indexing, directly matching the need for a tool that combines knowledge graphs with RAG to query documents), microsoft/graphrag and hkuds/lightrag (LightRAG is a graph-based retrieval framework that explicitly combines knowledge graph construction with dense vector embeddings and hybrid retrieval graph + vector, directly enabling the document querying over a collection with LLM integration that this search seeks). docker/genai-stack and infiniflow/ragflow round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Open-source frameworks and tools for building retrieval-augmented generation pipelines using structured knowledge graph data sources.
Supermemory is an artificial intelligence memory management platform designed to provide autonomous agents with persistent, long-term knowledge bases. It functions as a centralized repository that synchronizes multimodal data, enabling agents to maintain context and historical information across complex, multi-session workflows. By serving as a knowledge graph engine and vector database orchestrator, the platform ensures that information remains accessible and relevant for automated tasks. The system distinguishes itself through its hybrid indexing approach, which combines vector similarity s
Supermemory is a knowledge graph engine and vector database orchestrator with hybrid indexing, directly matching the need for a tool that combines knowledge graphs with RAG to query documents.
GraphRAG is a data processing pipeline and retrieval engine designed to transform unstructured text into interconnected knowledge graphs. By utilizing language models to extract entities and relationships, it builds structured representations of information that enable context-aware retrieval for downstream applications. The system distinguishes itself through hierarchical graph clustering and large-scale data synthesis, which organize massive document corpora into multi-level structures. This approach allows for both vector-based semantic searches and graph-based traversals, providing a comp
GraphRAG is a pipeline and retrieval engine that transforms unstructured text into knowledge graphs using LLMs and supports both vector semantic search and graph traversal for hybrid retrieval, making it a comprehensive and direct match for building a knowledge-graph-powered RAG system over documents.
LightRAG is a graph-based retrieval framework designed to build retrieval-augmented generation pipelines. It structures unstructured text into knowledge graphs, enabling multi-hop reasoning and complex query synthesis across large document collections. By integrating dense vector embeddings with structured knowledge graphs, the system facilitates both similarity-based and relationship-aware information retrieval. The framework distinguishes itself through a dual-level retrieval strategy that combines low-level keyword matching with high-level semantic graph traversal to capture both specific
LightRAG is a graph-based retrieval framework that explicitly combines knowledge graph construction with dense vector embeddings and hybrid retrieval (graph vector), directly enabling the document querying over a collection with LLM integration that this search seeks.
This project is a containerized development stack and application framework for building retrieval-augmented generation systems. It provides a dockerized AI sandbox that integrates local model runtimes, knowledge graphs, and vector stores to enable the creation of contextual chatbots. The stack is distinguished by its graph-based vector store, which combines structured knowledge graphs with vector indices for both semantic and structural data retrieval. It allows for local model hosting with CPU or GPU acceleration, enabling generative tasks without reliance on external cloud APIs. The frame
This containerized stack integrates knowledge graphs with vector indices and local LLMs to build retrieval-augmented generation systems, hitting all your required features from document ingestion to hybrid graph–vector querying.
This project is a comprehensive retrieval-augmented generation platform designed for building, managing, and deploying knowledge-based AI applications. It provides a unified environment for organizing datasets, configuring conversational chat assistants, and developing autonomous agents that execute multi-step reasoning workflows. By integrating document intelligence with advanced retrieval pipelines, the platform enables the creation of grounded, verifiable responses supported by traceable citations. The platform distinguishes itself through deep document understanding and sophisticated know
RAGFlow is a comprehensive RAG platform that combines knowledge graph capabilities (GraphRAG) with vector retrieval and LLM integration, directly matching the need for a knowledge-graph-enhanced document querying system.
This project is a retrieval augmented generation framework designed to build pipelines that connect unstructured data and knowledge graphs with large language models. It functions as a vector database orchestrator for indexing text and multimodal content, as well as a system for translating natural language queries into structured database commands. The framework integrates a hybrid retrieval engine that combines dense vector search with sparse keyword matching to increase the precision of retrieved contexts. It further enhances reasoning and relationship mapping through a graph-augmented ret
All-in-RAG is a RAG framework that explicitly connects unstructured data with knowledge graphs, integrates vector and hybrid retrieval, and supports LLM-based generation and natural-language-to-structured-query translation, covering the key capabilities of a knowledge-graph RAG system.
Embedchain is an LLM memory management framework and RAG orchestration engine designed to provide AI agents with a persistent storage layer. It functions as a long-term memory pipeline that extracts facts from unstructured interactions and stores them as permanent knowledge base entries to retain user preferences and interaction history across sessions. The system employs a hybrid vector database interface that combines semantic embeddings with traditional keyword search. It utilizes an entity-linking knowledge graph to connect related information points and applies temporal ranking to distin
Embedchain is a RAG orchestration engine that combines hybrid vector search with an entity-linking knowledge graph and fact extraction pipelines, making it a direct fit for building a knowledge-graph-augmented RAG system that can ingest and query over documents.
This project is a multi-model database system designed to store and manage information as documents, graphs, and key-value pairs within a single engine. It functions as a graph database and knowledge graph platform, providing the infrastructure to build, query, and visualize structured data models. By integrating vector search capabilities, the system serves as a vector database that supports retrieval-augmented generation for artificial intelligence applications. The platform distinguishes itself through a unified query language that allows users to perform document lookups, graph traversals
ArangoDB is a multi-model database providing graph storage, vector search, and unified querying, but it is a database backend rather than a complete knowledge-graph RAG framework that combines document ingestion, LLM integration, and hybrid retrieval out of the box.
QASystemOnMedicalKG is a medical knowledge graph question answering system designed to retrieve disease-centered information from a structured data store. It functions as both a constructor for building medical knowledge graphs and a retrieval system that extracts answers regarding symptoms, causes, and treatments. The system employs a pipeline that converts unstructured medical web data into a graph database using dictionary-based entity segmentation. It utilizes query-based intent classification to parse natural language inputs and maps these queries to specific nodes and edges within the g
This repository builds a medical knowledge graph and answers questions by mapping queries to graph nodes, but it does not incorporate vector embeddings, LLM-based generation, or hybrid retrieval, so it is a knowledge graph QA system rather than a full knowledge graph RAG system as requested.
The algorithm is a distributed recommendation engine pipeline designed to construct and serve personalized content timelines. It functions as a multi-stage orchestration layer that aggregates candidate content from diverse social graphs and high-dimensional embedding spaces, processing user interaction data to deliver a unified, ranked experience. The system utilizes a high-performance machine learning serving infrastructure to execute deep learning models that predict engagement probabilities in real-time. It distinguishes itself through a hybrid retrieval strategy that combines graph-traver
This is a recommendation engine for social media timelines, not a framework for building knowledge graphs and performing retrieval-augmented generation over arbitrary documents, so it does not match the core capability sought.
This project is a comprehensive framework for developing, orchestrating, and deploying autonomous agents. It provides a structured environment for building agents that utilize reasoning loops to perform multi-step tasks, manage state through graph-based workflows, and interact with external tools. By mapping unstructured model outputs into typed schemas, the framework ensures reliable integration with downstream application logic. The platform distinguishes itself through a focus on production-grade reliability and security. It incorporates hybrid memory systems that combine vector embeddings
This repository is a framework for building autonomous agents with graph-based workflows and hybrid memory, but it is not itself a knowledge graph RAG system for document querying—it lacks explicit knowledge graph construction and graph-based retrieval over documents, making it a neighbouring category rather than the tool you're looking for.
This platform serves as a comprehensive environment for managing private language models, document knowledge bases, and automated agent workflows within secure local infrastructure. It functions as a document-aware workspace that enables users to ingest diverse file formats into searchable repositories, ensuring that all data processing and model inference remain within private, local environments to maintain data sovereignty. The system distinguishes itself through a modular agentic engine that allows for the definition of custom skills and external tool execution. By utilizing a multi-model
AnythingLLM is a document-aware RAG platform with vector-based retrieval and LLM integration, but it does not include knowledge graph construction or graph-based querying, so it is a RAG system without the graph component this search specifically requires.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| supermemoryai/supermemory | 27.3K | TypeScript | MIT | |
| microsoft/graphrag | 36.6K | Python | MIT | |
| hkuds/lightrag | 40.6K | Python | MIT | |
| docker/genai-stack | 5.3K | Python | CC0-1.0 | |
| infiniflow/ragflow | 93.7K | Go | Apache-2.0 | |
| datawhalechina/all-in-rag | 4K | Python | — | |
| embedchain/embedchain | 58.8K | Python | Apache-2.0 | |
| arangodb/arangodb | 14.3K | C++ | NOASSERTION | |
| liuhuanyong/qasystemonmedicalkg | 7.4K | Python | — | |
| twitter/the-algorithm | 74K | Scala | AGPL-3.0 |