LibreAI / RAG & Wissen / graphrag
// rag · microsoft/graphrag

graphrag

graphrag ist ein Open-Source-Projekt aus der Kategorie RAG & Wissen von microsoft (microsoft/graphrag auf GitHub). Es hat 36.264 Sterne auf GitHub und 3.835 Forks, wird unter der Lizenz MIT veröffentlicht und wurde zuletzt am 8. Oktober 2026 auf GitHub aktualisiert.

Microsoft's graph-based RAG: index a corpus into a knowledge graph, then query it with an LLM

★ 36,3 Tsd. Sterne⑂ 3,8 Tsd. ForksMITaktualisiert Okt 2026
▦ Visual — das README dieses Projekts enthält keinen einbettbaren Screenshot,
darum hier ein Platzhalter. Die Anleitung unten ist trotzdem vollständig.
// projektdaten

Projektdaten

GitHub-Sterne
36.264
Forks
3.835
Lizenz
MIT
Zuletzt auf GitHub aktualisiert
8. Oktober 2026
Kategorie
RAG & Wissen
Eintragstyp
Vollständige Installationsanleitung
Offizielle Website
Official site
// so funktioniert es

So funktioniert es

  1. Clarify your goal

    Decide what you want to achieve with graphrag and check the README on GitHub for requirements before installing.

  2. Get the code

    Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).

  3. Install and configure

    Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.

  4. Run your first task

    Work through the README's quickstart example end to end, then adapt it to your own project or data.

// funktionen

Warum es so beliebt ist

Knowledge-graph indexing

An LLM extracts entities, relationships and claims from your documents into a structured graph during indexing.

Global and local search

Query modes cover both corpus-wide sensemaking questions (global search over graph communities) and specific entity questions (local search).

Prompt tuning

Includes tooling to tune the extraction and summarization prompts to your domain for better index quality.

Modular pipeline

The indexing pipeline is configurable, so you can adapt chunking, extraction and embedding steps to your data.

Documented quickstart

A maintained docs site walks through the CLI quickstart, configuration and responsible-AI considerations.

Research-grade method

Published by Microsoft Research as a methodology for enhancing LLM outputs with knowledge-graph memory structures.

Advertisement
// selbst ausführen

Führe es selbst aus

  1. Clone the repository

    Get the GraphRAG source and documentation.

    git clone https://github.com/microsoft/graphrag.git
    cd graphrag
  2. Install the package

    Install GraphRAG from PyPI into a fresh Python environment.

    pip install graphrag
  3. Initialize and index a corpus

    Create a project, drop documents into its input folder, add your LLM key to the generated .env, then run indexing and a first query.

    graphrag init --root ./ragtest
    # add your documents to ./ragtest/input and your API key to ./ragtest/.env, then:
    # graphrag index --root ./ragtest  (see the docs quickstart)
// anwendungsfälle

Was du damit bauen kannst

Advertisement
// häufige fragen

Häufige Fragen

Who maintains graphrag?

graphrag is maintained by the microsoft organization/account on GitHub, together with open-source contributors, in the public repository microsoft/graphrag.

Is graphrag free to use?

Yes — the code is open source under the MIT license. You can use, modify and redistribute it under that license's terms.

Does graphrag need a paid API key?

Yes — GraphRAG calls an LLM (and usually an embedding model) during indexing and querying, so you need a paid provider API key, and Microsoft warns indexing large corpora can be expensive; start small.

How does graphrag compare to standard vector RAG (e.g. LlamaIndex/LangChain chunking)?

Vector RAG is cheaper and simpler for lookup questions; GraphRAG's graph index handles global, sensemaking questions better but costs more to build and maintain.

How do I get started with graphrag?

Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.

// weiter entdecken

Ähnliche Tools

RAG & Wissen

llm-graph-builder

Build Neo4j knowledge graphs from unstructured data using LLMs — then chat with your graph.

★ 5,3 Tsd. SterneApache-2.0
Anleitung ansehen →
RAG & Wissen

code-graph-rag

RAG for your monorepo: query, understand and edit multi-language codebases with a knowledge graph.

★ 5,2 Tsd. SterneMIT
Anleitung ansehen →
RAG & Wissen

WeKnora

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

★ 31,9 Tsd. SterneUnknown
Anleitung ansehen →
RAG & Wissen

MinerU

MinerU — turns PDFs and Office documents into LLM-ready Markdown and JSON for agents and RAG pipelines, Apache-2.0 plus terms

★ 82,5 Tsd. SterneApache-2.0 + terms
Anleitung ansehen →
RAG & Wissen

autoflow

Graph RAG conversational knowledge base built on TiDB Serverless vector storage

★ 3,0 Tsd. SterneApache-2.0
Anleitung ansehen →
RAG & Wissen

textbook-to-note

Self-hosted rag & knowledge: turn your own pdf textbooks into an ai-searchable knowl.

★ 104 SterneMIT
Anleitung ansehen →
// alternativen

Alternativen im Bereich RAG & Wissen

Die anderen Projekte der Kategorie RAG & Wissen mit den meisten Sternen im LibreAI-Katalog — die realistische Auswahl, falls graphrag nicht das Richtige ist.

// mehr in rag

Mehr in RAG & Wissen

Verwandte Projekte der Kategorie RAG & Wissen im Katalog, die graphrag bei den Sternen am nächsten stehen — zum Weiterstöbern auf beiden Seiten.

Hol dir graphrag

Kostenlos und offen — hol dir den Quellcode, gib dem Repository einen Stern und leg los.