Open source AI context platform: document processing, knowledge graph auto-building, ontologies, GraphRAG/RAG, hybrid search (vector, property graph, RDF/SPARQL, fulltext), 13 LLM providers, 15 property graph DBs, 4 RDF triple stores, 10 vector DBs, LlamaIndex + LangChain, FastAPI, MCP server
Project description
Flexible GraphRAG
Flexible GraphRAG is an open source AI context platform supporting a document processing pipeline (Docling or LlamaParse), 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 13 data sources (9 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, and Alfresco. Services and dashboards can be enabled with the provided Docker Compose layout.
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.
- Repository: github.com/stevereiner/flexible-graphrag
- Full README: README.md on GitHub
- Documentation: stevereiner.github.io/flexible-graphrag
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flexible_graphrag-0.6.3.tar.gz.
File metadata
- Download URL: flexible_graphrag-0.6.3.tar.gz
- Upload date:
- Size: 553.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee8d3dbe228db6b5bec1a2897b1c7e57e508d48ad049e54e87cd785d64dd7eaf
|
|
| MD5 |
a5ad003d7fd47a52d9305e6e390cbb97
|
|
| BLAKE2b-256 |
9f0c6b298eead7a78ff7d5b1688a25d58e51cb1fe7b9ff1f8b4b3f0ab1b0d97f
|
File details
Details for the file flexible_graphrag-0.6.3-py3-none-any.whl.
File metadata
- Download URL: flexible_graphrag-0.6.3-py3-none-any.whl
- Upload date:
- Size: 682.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edba0624afeacd20dffb52ced528cac0afb8357f1c2afd9eb2d299239169199b
|
|
| MD5 |
6ced02de634061adf47359a6dab5591e
|
|
| BLAKE2b-256 |
3b98768309bc4dc44762e27daf5b3e678e12ddfbf39b2a8700c1e9a5a1b2b7d4
|