EveryDev.ai
Subscribe
Home
Tools

3,864+ AI tools

  • New
  • Trending
  • Featured
  • Compare
  • Arena
Categories
  • Agents2782
  • Coding1973
  • Infrastructure825
  • Projects603
  • Marketing598
  • Research520
  • Analytics468
  • Design462
  • MCP419
  • Testing346
  • Security323
  • Data305
  • Integration224
  • Prompts220
  • Communication210
  • Extensions196
  • Learning179
  • Voice175
  • Commerce160
  • DevOps135
  • Web95
  • Finance31
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. post-graph-rag
    post-graph-rag icon

    post-graph-rag

    Retrieval-Augmented Generation

    An open-source Graph RAG library that runs entirely on PostgreSQL, using bi-temporal supersession to close contradicted facts and controlled predicate vocabularies to make graph edges queryable.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully open-source under Apache 2.0. Free to use, modify, and distribute.

    Engagement

    Available On

    Windows
    macOS
    Linux
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Retrieval-Augmented GenerationKnowledge ManagementAI Development Libraries

    Alternatives

    AutoFlowRAG TechniquesFluree
    Developer
    Chandan RajahLondon, United Kingdom

    Listed Sep 2026

    About post-graph-rag

    post-graph-rag is an open-source Python library developed by Chandan Rajah that brings Graph RAG (Retrieval-Augmented Generation) natively to PostgreSQL, using pgvector for HNSW similarity search and a property graph stored as two tables. It is available on PyPI under the Apache 2.0 license and installable with a single pip install post-graph-rag command.

    What It Is

    post-graph-rag extracts entities and relations from documents using an LLM, stores them as a property graph alongside pgvector embeddings, and answers questions by fusing vector similarity, graph traversal, and full-text search. Its defining architectural bet is that no separate vector store or graph engine is needed — PostgreSQL handles all three, giving a single consistency model, one backup, and transactions that span the knowledge graph and application tables simultaneously. The underlying graph storage layer, post-graph, is also available as a standalone library.

    The Two Core Problems It Solves

    Most Graph RAG systems treat extracted relations as timeless assertions. When one document says two people are allies and a later document says they became rivals, both edges land in the graph as co-equal current facts. post-graph-rag addresses two structural gaps that recur across existing systems:

    • Supersession from document order: A later assertion closes an earlier one rather than coexisting with it. The project page reports that indexing the d'Artagnan trilogy in publication order closed 13 relationships that later books contradicted — resolved from document order alone, with no dates extracted from the prose. This is described as a capability no comparable system (GraphRAG, LightRAG, Graphiti) currently offers.
    • Controlled predicate vocabularies: Free-text LLM-extracted edge labels are unqueryable. The project page reports that an unconstrained extraction run produced 395 distinct predicates across 705 relations, with 74% used exactly once. A configured vocabulary reduced this to 44 distinct predicates with 94% adherence, enabling WHERE relation_type = 'worked_with' queries to return meaningful results.

    Architecture and Retrieval Design

    The retrieval pipeline fuses three channels using Reciprocal Rank Fusion (RRF):

    • Entity vector search followed by configurable multi-hop graph traversal (default 2 hops, configurable per query)
    • Relation embedding search — relations carry their own embeddings so they can be found by similarity rather than only by traversal
    • Lexical/BM25 search over relations

    Community summarisation follows Microsoft GraphRAG's pattern: the entity graph is clustered using Leiden (with deterministic label-propagation fallback), each cluster is summarised by an LLM, and each report is stored as a vertex with its own embedding. This enables corpus-level "what are the main themes?" queries via vector similarity rather than enumeration.

    Temporal grounding is carried through to the synthesis prompt — each relation's validity period is rendered inline — which the project page identifies as the single largest performance lever, reporting a +38.4 point improvement on temporal-reasoning questions in an ablation study.

    Benchmark Results

    The project page reports benchmark results against Zep's published Graphiti numbers on the full 500-question LongMemEval set. According to the project's own evaluation, post-graph-rag with gemini-3.6-flash scored 94.0% overall against Zep/Graphiti's 71.2% with gpt-4o, with the widest margins on temporal-reasoning (96.2% vs 62.4%) and multi-session (90.2% vs 57.9%). The project page notes qualifications: different judge panels, different model generations, and one excluded question. On the ECT-QA earnings-call benchmark, the project reports 0.807 Correct under element-wise scoring against published figures of 0.599 for TG-RAG, 0.405 for GraphRAG, and 0.406 for LightRAG.

    Setup Path

    The dependency list is minimal: PostgreSQL with the pgvector extension, any OpenAI-compatible endpoint (including local ones), and the Python package. The library supports multi-tenant realms with optional schema-per-tenant isolation, configurable chunking, gleaning passes for improved recall, and seven runnable example scripts covering quickstart, supersession, bi-temporal audit, multi-tenant spaces, incremental indexing, community exploration, and retrieval modes.

    Update: Version 1.10.0 and Recent Activity

    The GitHub repository was last pushed on 2026-09-10. Version 1.10.0 added exploration support through three engine calls: a hierarchical topic tree via recursive supergraph clustering (community_levels), opt-in retrieval telemetry for coverage tracking (least_explored_communities, dark_entities), and a changes_since delta API using database-clock watermarks for exactly-once polling. Version 1.8.0 fixed a document key bug where using only source collapsed entire corpora onto one key. Version 1.13.0 added per-document stats and graph views. The architecture paper is available at arXiv:2608.24921, with a revision covering LongMemEval and ECT-QA evaluations described as in preparation.

    post-graph-rag - 1

    Community Discussions

    Be the first to start a conversation about post-graph-rag

    Share your experience with post-graph-rag, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully open-source under Apache 2.0. Free to use, modify, and distribute.

    • Full Graph RAG pipeline on PostgreSQL
    • Bi-temporal supersession
    • Controlled predicate vocabularies
    • Multi-hop graph traversal
    • Community summarisation

    Capabilities

    Key Features

    • Bi-temporal supersession: later documents close earlier contradicted facts
    • Controlled predicate vocabularies for queryable graph edges
    • Runs entirely on PostgreSQL with pgvector — no separate graph engine or vector store
    • Three-channel retrieval fused by RRF: entity vector search, relation embedding search, lexical BM25
    • Configurable multi-hop graph traversal (default 2 hops, per-query override)
    • Community summarisation via Leiden clustering with per-community LLM reports
    • Entity resolution by canonical name and alias merging across documents
    • Gleaning passes for improved relation recall on dense text
    • Multi-tenant realms with optional schema-per-tenant isolation
    • Validity intervals and as-of temporal filtering
    • Exploration support: topic tree, coverage telemetry, change delta polling
    • Append-only audit tables and trigger-based shadow logging
    • Negated relation handling (stored with negated flag, not as inverted predicate)
    • Relation provenance tracking with distinct-contributor weight
    • Seven runnable example scripts
    • Full evaluation harness included in repository

    Integrations

    PostgreSQL
    pgvector
    OpenAI-compatible LLM endpoints
    Gemini (gemini-3.6-flash, gemini-embedding-001)
    MiniMax-M2.7
    DeepSeek-V3.2
    LiteLLM / LLM routers
    igraph + leidenalg (community detection)
    PyPI
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate post-graph-rag and help others make informed decisions.

    Developer

    Chandan Rajah

    Chandan Rajah builds post-graph-rag, a high-precision Graph RAG library native to PostgreSQL, and post-graph, the standalone graph-on-PostgreSQL layer underneath it. The projects focus on temporal correctness in knowledge graphs — closing contradicted facts from document order, enforcing queryable predicate vocabularies, and keeping the entire stack in one transactional database. Both are open-source under Apache 2.0.

    London, United Kingdom
    Read more about Chandan Rajah
    WebsiteGitHub
    1 tool in directory

    Similar Tools

    AutoFlow icon

    AutoFlow

    An open-source Graph RAG-based conversational knowledge base tool built on TiDB Vector Storage, LlamaIndex, and DSPy.

    RAG Techniques icon

    RAG Techniques

    A comprehensive open-source collection of 42+ advanced Retrieval-Augmented Generation (RAG) tutorials and implementations using LangChain, LlamaIndex, and PydanticAI.

    Fluree icon

    Fluree

    Fluree is an enterprise AI data platform built on a verifiable knowledge graph database, enabling governed, traceable, and AI-ready data for agents, apps, and analytics.

    Browse all tools

    Related Topics

    Retrieval-Augmented Generation

    RAG Systems that enhance LLM outputs by retrieving relevant information from external knowledge bases, combining the power of generative AI with information retrieval for more accurate and contextual responses.

    120 tools

    Knowledge Management

    AI-powered systems for organizing, discovering, and accessing collective team knowledge with intelligent search, tagging, and contextual recommendations across knowledge bases and wikis.

    155 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    308 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions