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, also copy the rdf/schemas/ directory from the repository to your working directory. 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.1.tar.gz (551.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.6.1-py3-none-any.whl (680.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flexible_graphrag-0.6.1.tar.gz
Algorithm Hash digest
SHA256 f25c2d2ebbf5329391525cd2c11629449fa8dcdb36ab559b01add61b90072cc2
MD5 2fef7d01b185df1b0e1c5aafc97d1663
BLAKE2b-256 b9d6cccce11103549ac18fda6fd8665f9d248336fec442233fc05c303219268a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flexible_graphrag-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a89d3b1632fdb85ac53a52671b73d695eb7b31f63df797eecbe7d760a08234c
MD5 16234a6ae21493cf0df31bc15723c1cd
BLAKE2b-256 184fecc3adb269772f9c23a6a774d954874e9b50b4d30126c50c552c446f6cbd

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