$npx skillfedfor your agent

graph-retriever

Retriever combining unstructured similarity and structured document traversal.

With conditionsPyPI Python ModulesReleased Apr 2025187.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — graph_retriever-0.8.0-py3-none-any.whl
v0.8.0 · released 2025-04-04 · Python >=3.10 · 4 runtime deps: immutabledict, numpy, pytest, typing-extensions

Yes, if you need hybrid retrieval combining vector similarity with metadata graph traversal. The low install friction, permissive license, and active repository make it a reasonable choice for RAG applications. However, the package is in Beta with limited recent activity (last release April 2025), so verify that your vector store is supported and test thoroughly before production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later; you must have an existing vector store instance to wrap.
  • Low friction installation with a small, stable dependency footprint: immutabledict, numpy, pytest, and typing-extensions.
  • The package is in Beta status and has not released since April 2025, so maintenance activity is limited but the repository remains active.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes, but no reciprocal licensing is required.

last release 2025-04-04 (497 days) · last repo commit 2025-05-05 · 91 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 187,078 downloads/mo, #9,971 on PyPI

Verify before relying

pip install graph-retriever

from graph_retriever import GraphRetriever

retriever = GraphRetriever(
    store=your_vector_store,
    edges=[("mentions", "id"), "entities"]
)
results = retriever.invoke("your query")
  • Which vector store implementations are currently supported beyond the examples shown in the description.
  • Whether the package works with vector stores outside the LangChain ecosystem.
  • Performance characteristics and scalability limits for large graphs or high-cardinality metadata.
Same gist for agents: .md · .json

What it is and what it does

Graph Retriever is a Python library that extends vector stores with graph-based retrieval capabilities. It wraps existing vector stores to enable traversal of metadata relationships—such as following mentions or entity links—alongside traditional similarity search. This hybrid approach lets you retrieve documents based on both semantic similarity and structured connections in your metadata.

The library is designed for Retrieval-Augmented Generation (RAG) applications where you want to combine the strengths of vector search (finding semantically similar content) with graph traversal (following explicit relationships between documents). It supports Python 3.10 and later and depends on immutabledict, numpy, pytest, and typing-extensions. A separate LangChain integration package is available for applications already using LangChain.

Use it for

  • Retrieve documents by following entity mentions and relationships in knowledge graphs alongside semantic similarity.
  • Build RAG systems that navigate document metadata hierarchies to surface contextually related content.
  • Combine vector search with structured metadata properties to refine retrieval results in domain-specific applications.
  • Extend existing vector stores with graph traversal without replacing the underlying store infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need hybrid retrieval combining vector similarity with metadata graph traversal.

The low install friction, permissive license, and active repository make it a reasonable choice for RAG applications. However, the package is in Beta with limited recent activity (last release April 2025), so verify that your vector store is supported and test thoroughly before production use.

Install

graph-retriever on PyPI

Before you install

Low friction installation with a small, stable dependency footprint: immutabledict, numpy, pytest, and typing-extensions. The package is in Beta status and has not released since April 2025, so maintenance activity is limited but the repository remains active.

Requires Python 3.10 or later; you must have an existing vector store instance to wrap.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes, but no reciprocal licensing is required.

Quickstart

pip install graph-retriever

from graph_retriever import GraphRetriever

retriever = GraphRetriever(
    store=your_vector_store,
    edges=[("mentions", "id"), "entities"]
)
results = retriever.invoke("your query")

Verify before relying

  • Which vector store implementations are currently supported beyond the examples shown in the description.
  • Whether the package works with vector stores outside the LangChain ecosystem.
  • Performance characteristics and scalability limits for large graphs or high-cardinality metadata.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
immutabledictnumpypytesttyping-extensions
MaintenanceAging 497 days since the last release
Last repo commit
First released
Downloads187,078 / month, #9,971 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Scientific/Engineering :: Information AnalysisTopic :: Software Development :: Libraries :: Python Modules

Evidence: graph_retriever-0.8.0-py3-none-any.whl

Tags

Capabilities
graph RAG retrievalvector store metadata traversalhybrid similarity and graph searchstructured document retrievalRAG with relationship navigationvector search with metadata edges
Topics
raggraph-traversalvector-retrieval
PyPI keywords
RAGgraph RAG

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “graph RAG retrieval”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also langchain-graph-retriever · ragstack-ai-knowledge-store · neo4j-graphrag · nucliadb-utils · graphrag · llama-index-vector-stores-faiss · langchain-milvus · kuzu · farm-haystack · real-ladybug

Further reading