awslabs/graphrag-toolkit

Python toolkit for building graph-enhanced GenAI applications

Python

450

565 commits

updated Oct 19, 2026

See the code

README

GraphRAG Toolkit

PyPI - lexical-graph PyPI - graphrag-byokg License

Check out the graphrag-toolkit Docs found here: Start here!

The graphrag-toolkit is a collection of Python tools for building graph-enhanced Generative AI applications.

Lexical Graph

The lexical-graph provides a framework for automating the construction of a hierarchical lexical graph from unstructured data, and composing question-answering strategies that query this graph when answering user questions.

Lexical graph

Additional Resources

BYOKG-RAG

BYOKG-RAG is a novel approach to Knowledge Graph Question Answering (KGQA) that combines the power of Large Language Models (LLMs) with structured knowledge graphs. The system allows users to bring their own knowledge graph and perform complex question answering over it.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

amazon-neptune
amazon-opensearch-serverless
graph-database
graphrag
llama-index
mcp
postgresql

awslabs/graphrag-toolkit

Python toolkit for building graph-enhanced GenAI applications

Python

450

565 commits

updated Oct 19, 2026

See the code

README

GraphRAG Toolkit

PyPI - lexical-graph PyPI - graphrag-byokg License

Check out the graphrag-toolkit Docs found here: Start here!

The graphrag-toolkit is a collection of Python tools for building graph-enhanced Generative AI applications.

Lexical Graph

The lexical-graph provides a framework for automating the construction of a hierarchical lexical graph from unstructured data, and composing question-answering strategies that query this graph when answering user questions.

Lexical graph

Additional Resources

BYOKG-RAG

BYOKG-RAG is a novel approach to Knowledge Graph Question Answering (KGQA) that combines the power of Large Language Models (LLMs) with structured knowledge graphs. The system allows users to bring their own knowledge graph and perform complex question answering over it.

Security

See CONTRIBUTING for more information.

License

This project is licensed under the Apache-2.0 License.

amazon-neptune
amazon-opensearch-serverless
graph-database
graphrag
llama-index
mcp
postgresql

Significant stargazers

Mengxin Zhu

130 followers · starred May 2025

Jeev B

21 followers · starred Jun 2025

Flavio Miyamoto

38 followers · starred Jul 2025

Matteo Cacciola

18 followers · starred Apr 2025