Skip to main content

Flexible GraphRAG

Flexible GraphRAG is an open source AI context platform supporting a document processing pipeline (Docling, LlamaParse, or LiteParse), knowledge graph auto-building, ontologies, schemas, many LLM providers, GraphRAG and RAG, hybrid semantic search (fulltext, vector, property graph, RDF/SPARQL), AI query, and AI chat. The backend is Python with LlamaIndex and LangChain as peer frameworks. LlamaIndex is the default for each pipeline stage; LangChain can be selected per stage in environment configuration. The API is a REST FastAPI service. Angular, React, and Vue TypeScript frontends and an MCP server are included. The stack supports 14 data sources (10 with incremental auto-sync), 15 property graph databases, 4 RDF triple stores (Apache Jena Fuseki, Ontotext GraphDB, Oxigraph, Amazon Neptune RDF), 10 vector databases, OpenSearch / Elasticsearch / BM25 search, Alfresco, and Nuxeo. Databases and dashboards can be enabled with the provided Docker Compose layout. Optionally, the ingest pipeline, hybrid search, and AI query can run through customizable Langflow visual flows (12 custom Langflow components). As a further option, ingest can run on a CocoIndex (Rust engine) pipeline (PIPELINE_BACKEND=cocoindex) that reuses the same sources, targets, parsers and KG extractors, adding step-level memoization, automatic delete reconciliation, custom KG extractors, and entity resolution. A meeting-notes example is included.

Quick install (PyPI):

uv pip install flexible-graphrag

Then copy env-sample.txt to .env, set your LLM API key (e.g. OPENAI_API_KEY=...) and any other provider config, and run flexible-graphrag to start the API server. If you use ontology schemas, the schemas/ directory lives at the repository root (one level above flexible-graphrag/), so .env paths use ../schemas/... — matching env-sample.txt. For a PyPI install, copy schemas/ to the parent of your working directory so the same paths apply. See the RDF Ontology Examples and Configuration docs page for path options and examples. This gives you a LlamaIndex-only setup; for LangChain or mixed LlamaIndex/LangChain per-stage configuration see the Prerequisites, Setup, and Framework Config sections of the full README, or the Framework Configuration docs page.

Optional dependency groups (langchain, RDF extras, observability, and more) are available. For Docker services, frontend installs, source checkout setup, and optional extras (which involve extras-overrides.txt), refer to the Prerequisites and Setup sections of the full README and documentation linked below.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flexible_graphrag-0.8.0.tar.gz (877.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flexible_graphrag-0.8.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file flexible_graphrag-0.8.0.tar.gz.

File metadata

  • Download URL: flexible_graphrag-0.8.0.tar.gz
  • Upload date:
  • Size: 877.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for flexible_graphrag-0.8.0.tar.gz
Algorithm Hash digest
SHA256 c528a83e235bbd8f5fb9be480ace51a08cfac118c8d2c4c1382d92fd5974aa30
MD5 82b3a83d143f638ab7a9dac65b45fa01
BLAKE2b-256 ffda03a8aebe2c147007a1461f4aa1a4898ec777416908bd503a38ea9f4669cf

See more details on using hashes here.

File details

Details for the file flexible_graphrag-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: flexible_graphrag-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for flexible_graphrag-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f57a30228e391151e5f6382240ee823a7ac6dff404f223feba4a77752bc1e5d
MD5 31a035e25f0fc9667d3c5b43c6304a4c
BLAKE2b-256 ed5a28edd8dea97d63473830ad774cd380e53ddf2f4c8564c2f487e3b21959b0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page