AI and models · Edition No. 1 · 21 Aug 2026

microsoft/graphrag

Builds a knowledge graph from text, clusters it into nested communities, writes a summary for each level.

← AI and modelsRead the whole edition →

35.9k stars · MIT · v3.1.2 (2026-08-21) · Track this in Scout

Builds a knowledge graph from text, clusters it into nested communities, writes a summary for each level.

▶Repo detailsthe review · specs · pros & cons

What it is

A pipeline that uses an LLM to pull entities and relationships out of text, assembles them into a knowledge graph, clusters that graph into nested communities, and writes a readable summary for each community at several levels of zoom. It then answers questions using those summaries.

What it is good for. Read that description again as a product spec: a large body of text collapses into nested clusters, each with a generated title and summary a user can expand. Anyone building that has the pipeline described for them by Microsoft's research team. It also gives two things plain search never can — an entity graph for a "who and what is discussed here" view, and a defensible answer to "summarise this entire 500-message thread." Worth studying even if you never ship it, because its community-hierarchy step is the strongest published reference for that idea.

Stars35.9k
LicenceMIT
Latestv3.1.2 (2026-08-21)checked 7 Sep 2026
Written inPython
Setup effort
5 / 5
Payoff
5 / 5
Good
  • Produces the hierarchy and the human-readable summaries in one run
  • Global whole-corpus query mode is genuinely differentiating
  • MIT, Microsoft-maintained, released again on the day of this report
Watch for
  • Expensive — indexing one long document can mean thousands of LLM calls, so every import has a real cost
  • Operationally the heaviest thing on this page: config files, parquet artifacts, long-running jobs
  • Overkill for short chats; you'd need a cheap fallback path for small inputs
Screenshots
microsoft/graphrag: GitHub preview card

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.