# GraphRAG

Framework · https://godooo.ai/en/framework/graphrag

> GraphRAG is an open-source AI framework from Microsoft, launched in 2024, made for developers.

A pipeline that builds a knowledge graph from your text and uses it for retrieval-augmented generation.

Main jobs: Knowledge base (RAG). It is open source and free to use. You can use it on your own server, in the terminal and through an API.

## At a glance

- **Type:** [Framework](https://godooo.ai/en/browse#framework)
- **Made by:** [Microsoft](https://godooo.ai/en/org/microsoft)
- **Launched:** 2024
- **Galaxy:** [Models & APIs](https://godooo.ai/en/galaxy/builders)
- **Open source:** Yes · MIT
- **Source code:** [github.com/microsoft/graphrag](https://github.com/microsoft/graphrag)
- **GitHub stars:** 36,089
- **How you run it:** Self-host · Terminal · API
- **Made for:** Developers
- **Website:** [microsoft.github.io](https://microsoft.github.io/graphrag)

## What it can do

- **[Knowledge base (RAG)](https://godooo.ai/en/capability/knowledge-base)** — main job, _proposed by a machine, awaiting calibration_.
- **[Ask your documents](https://godooo.ai/en/capability/document-qa)** — supported, _proposed by a machine, awaiting calibration_.

## Alternatives

- **[LightRAG](https://godooo.ai/en/framework/lightrag)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents; runs offline
- **[RAGFlow](https://godooo.ai/en/product/ragflow)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG)
- **[AnythingLLM](https://godooo.ai/en/product/anythingllm)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); runs offline; no code needed
- **[Khoj](https://godooo.ai/en/product/khoj)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); runs offline; no code needed
- **[kotaemon](https://godooo.ai/en/product/kotaemon)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); runs offline; no code needed
- **[Langchain-Chatchat](https://godooo.ai/en/product/langchain-chatchat)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); runs offline
- **[PrivateGPT](https://godooo.ai/en/framework/privategpt)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); runs offline
- **[QAnything](https://godooo.ai/en/product/qanything)** (Open source, free): Also does: Ask your documents, Knowledge base (RAG); runs offline
- **[LlamaIndex](https://godooo.ai/en/framework/llamaindex)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents; runs offline
- **[MaxKB](https://godooo.ai/en/product/maxkb)** (Open source, free): Also does: Knowledge base (RAG), Ask your documents; no code needed
- **[NotebookLM](https://godooo.ai/en/product/notebooklm)** (Free plan + paid upgrades): Also does: Ask your documents, Knowledge base (RAG); no code needed
- **[Dify](https://godooo.ai/en/product/dify)** (Open source, free): Also does: Knowledge base (RAG); no code needed

## Connections

- **Applies:** [Retrieval-Augmented Generation (RAG)](https://godooo.ai/en/concept/rag), [Knowledge Graph](https://godooo.ai/en/concept/knowledge-graph)

## Questions

### What is GraphRAG?

GraphRAG is an open-source AI framework from Microsoft, launched in 2024, made for developers. A pipeline that builds a knowledge graph from your text and uses it for retrieval-augmented generation.

### Is GraphRAG free?

Yes. GraphRAG is open source (MIT) and free to use.

### Is GraphRAG open source?

Yes, under the MIT license. The source code is at https://github.com/microsoft/graphrag.

### Can GraphRAG run locally?

GraphRAG can be self-hosted on your own server.

### What can GraphRAG do?

Main jobs: Knowledge base (RAG). It can also do: Ask your documents.

### Who makes GraphRAG?

GraphRAG is made by Microsoft.

### What are open-source alternatives to GraphRAG?

Open-source ones: LightRAG, RAGFlow, AnythingLLM, Khoj, kotaemon, Langchain-Chatchat, PrivateGPT and QAnything. Others: NotebookLM.

## Sources

- [microsoft.github.io](https://microsoft.github.io/graphrag)
- [github.com](https://github.com/microsoft/graphrag)

---

Last updated 2026-09-24 · Markdown version of https://godooo.ai/en/framework/graphrag. Every page on this site has one: add .md to its address.
