// rag · microsoft/graphrag

graphrag

graphrag es un proyecto de RAG y conocimiento de código abierto de microsoft (microsoft/graphrag en GitHub). Tiene 36.264 estrellas en GitHub y 3.835 bifurcaciones, se publica bajo la licencia MIT y se actualizó por última vez en GitHub el 8 de octubre de 2026.

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

★ 36,3k estrellas⑂ 3,8k bifurcacionesMITactualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
36.264
Bifurcaciones
3.835
Licencia
MIT
Última actualización en GitHub
8 de octubre de 2026
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  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.

// características

Por qué gusta tanto

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
// ejecútalo

Ejecútalo tú mismo

  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)
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

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.

// sigue explorando

Herramientas similares

RAG y conocimiento

llm-graph-builder

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

★ 5,3k estrellasApache-2.0
Ver la guía →
RAG y conocimiento

code-graph-rag

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

★ 5,2k estrellasMIT
Ver la guía →
RAG y conocimiento

WeKnora

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

★ 31,9k estrellasUnknown
Ver la guía →
RAG y conocimiento

MinerU

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

★ 82,5k estrellasApache-2.0 + terms
Ver la guía →
RAG y conocimiento

autoflow

Graph RAG conversational knowledge base built on TiDB Serverless vector storage

★ 3,0k estrellasApache-2.0
Ver la guía →
RAG y conocimiento

textbook-to-note

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

★ 104 estrellasMIT
Ver la guía →
// alternativas

Alternativas en RAG y conocimiento

Los demás proyectos de RAG y conocimiento con más estrellas del catálogo de LibreAI: la lista realista de alternativas si graphrag no es lo que buscas.

// más en rag

Más en RAG y conocimiento

Proyectos de RAG y conocimiento cercanos en el catálogo, los más próximos en estrellas a graphrag: sigue explorando a ambos lados.

Consigue graphrag

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.