qmetrics.net

Neo4j GraphRAG Python

Official Neo4j graph RAG package for Python

Python library for building graph retrieval-augmented generation apps on Neo4j. Supports knowledge-graph construction, vector indexes, and multiple retriever types.

Overview

Neo4j GraphRAG for Python is the first-party library for building graph retrieval augmented generation applications with Neo4j and Python. It targets developers who want a maintained integration between generative AI workflows and a Neo4j graph database.

The package supports knowledge graph construction through customizable pipelines or a simplified knowledge-graph pipeline abstraction, including ingestion from text and PDFs. APOC core must be present on the Neo4j instance for some graph-building features. Users can create and populate vector indexes, run similarity search via retrievers such as VectorRetriever, and combine vector search with graph traversal or hybrid retrieval patterns.

Optional pip extras connect to several LLM and embedding providers, external vector stores including Weaviate, Pinecone, and Qdrant, and experimental knowledge-graph builder components with NLP and fuzzy matching helpers. Examples assume a running Neo4j instance with connection credentials supplied in code.

Install from PyPI or conda-forge into a virtual or Conda environment. Documentation and blog posts walk through populated graphs, retriever usage, and enrichment of vector search with graph operations. An experimental namespace holds features intended for evaluation rather than production.

Key features

  • Graph RAG application building on Neo4j
  • Knowledge graph construction pipelines
  • SimpleKGPipeline for streamlined graph builds
  • Vector index creation and similarity search
  • Multiple retriever types beyond vector search
  • Hybrid retrieval and graph traversal patterns
  • Optional LLM and embedding provider extras
  • External vector store integrations

Use cases

  • Question answering over a knowledge graph
  • Enriching vector search with graph context
  • Building graphs from text or PDFs
  • Retriever workflows on existing Neo4j data
  • Hybrid RAG over vector and graph stores

Tags

Similar software

PageIndex

Reasoning-based document retrieval without vector indexes

PageIndex builds a hierarchical tree index from PDFs and answers questions by having a language model reason over that structure instead of embedding chunks in a vector database.

  • Tree index built from PDF layout
  • LLM reasoning over the index for retrieval
  • Local SDK with pluggable chat models
PythonDetails →
★ 40.9k⟳ yesterdayMIT

Composio

SDK and CLI for connecting AI agents to many apps

Composio equips AI agents with large sets of pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox. SDKs ship for TypeScript and Python with adapters for common agent frameworks.

  • Pre-authenticated app toolkits
  • Per-user agent sessions
  • Runtime tool discovery and execution
TypeScriptCLIDetails →
★ 31.4k⟳ todayMIT

PageAgent

In-page JavaScript GUI agent for web applications

Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.

  • Single-script or npm integration
  • DOM-based page manipulation
  • Bring-your-own LLM configuration
TypeScriptWeb, Browser extensionDetails →
★ 29.8k⟳ 16 days agoMIT
Open Source Alternative to:Claude in Chrome

AI SDK

TypeScript toolkit for AI applications and agents

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

  • Unified provider API
  • Vercel AI Gateway support
  • Text and structured output
TypeScriptDetails →
★ 28.4k⟳ todayApache-2.0

Stagehand

SDK for AI-driven browser automation

Stagehand gives agents Playwright-style browser control with natural-language act, observe, and extract helpers. It ships for TypeScript, Python, and Go with local Chrome or hosted cloud browsers.

  • Playwright-style page methods
  • Natural-language act and extract
  • Self-healing action adaptation
TypeScriptCLIDetails →
★ 26.2k⟳ todayMIT

turbovec

In-process TurboQuant vector index for Python and Rust

An in-process vector index for Python and Rust that compresses embeddings to 2 or 4 bits per dimension and searches the compressed form with SIMD kernels.

  • 2-bit and 4-bit TurboQuant compression
  • SIMD search on compressed vectors
  • Incremental add and remove without rebuild
RustDetails →
★ 17.5k⟳ 1 month agoMIT