Skip to main content

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.

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

flexible_graphrag-0.6.2.tar.gz (552.2 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.6.2-py3-none-any.whl (681.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flexible_graphrag-0.6.2.tar.gz
  • Upload date:
  • Size: 552.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.8

File hashes

Hashes for flexible_graphrag-0.6.2.tar.gz
Algorithm Hash digest
SHA256 f68d0c0e5564c2d73dd0f334e9b88ade883dca37ae05f6f60a8570adb1df3a2c
MD5 9a4bf7f9c7ee8528111280a158df817b
BLAKE2b-256 733264c0c0408ac587cd352e292a201e2ff61c9a6cd031b2705a4ff86cc76d70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flexible_graphrag-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2571dc3a0f369c64bec8c6726221a9f76ab07dab167ada508cbedeec5735dbe1
MD5 2afab5511520f73569278b6061529604
BLAKE2b-256 44069707a7ec5a850ff0b4888c854c342fad9bc40c23e7d9eecbcf758a613f75

See more details on using hashes here.

Supported by

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