graphrag vs llama_index
graphrag and llama_index share 10 technologies: azure-storage-blob, pyarrow, azure-search-documents, lancedb, azure-identity, litellm, nltk, jinja2, markitdown, and Pydantic. Both are written in Python.
What they share and what sets them apart
microsoft
graphrag
A modular graph-based Retrieval-Augmented Generation (RAG) system
Python36.6kRead on November 7, 2026, at commit 34b2b67What is graphrag built with?Only in graphrag
In common
- azure-storage-blob
pyarrow
- azure-search-documents
lancedb
- azure-identity
litellm
nltk
- jinja2
- markitdown
- Pydantic
run-llama
llama_index
LlamaIndex is the document processing platform for AI
Python52.8kRead on November 5, 2026, at commit 444fdf0What is llama_index built with?Only in llama_index
starlette
- aiomysql
- aiosqlite
- async-lru
- asyncpg
- ibm-db
- pgvecto-rs
pgvector
psycopg
psycopg2-binary
- pyzmq
- Redis
weaviate-client
oracledb
- DuckDB
- pymilvus
- SQLite
- tablestore
chromadb
falkordb
- MySQL
pinecone
clickhouse-connect
- gcsfs
pyiceberg
pymochow
- pymysql
- pyobvector
- s3fs
- tcvectordb
typesense
- ElevenLabs
- anyio
- graphql-core
tornado
- AIOHTTP
- Ray
- soupsieve
- tinycss2
- ipywidgets
- matplotlib-inline
prompt-toolkit
matplotlib
- Rich
- SQLAlchemy
- argon2-cffi
Googlegoogle-auth-httplib2
google-auth-oauthlib
- cryptography
- pyjwt
- msal
- einops
firecrawl-py
- guardrails-ai
llama-index-core
- mem0ai
OpenAIopencv-python
- PaddlePaddle
- tavily-python
- torch
- transformers
- ibm-watsonx-ai
cohere
- LangChain
- tiktoken
- MCP
sentence-transformers
dashscope
- fastembed
- flagembedding
- sentencepiece
- ModelScope
- Ollama
- openvino
- scikit-learn
- tritonclient
- vLLM
- datasets
- exa-py
- flashrank
- hnswlib
langfuse
mlx
- mlx-lm
nomic
optimum
- paddleocr
peft
presidio-analyzer
tokenizers
- beautifulsoup4
- bleach
markupsafe
mistune
- nbformat
- newspaper3k
- xlrd
pillow
- bs4
- html2text
unstructured
- defusedxml
lxml
pymupdf
- filetype
- docx2txt
- markdownify
docling
- lxml-html-clean
- nbconvert
- pdf2image
- pdfplumber
pypdf
pypdf2
tinytag
- youtube-transcript-api
- jsonschema-specifications
marshmallow
- referencing
- rfc3339-validator
docling-core
- annotated-types
- jsonschema
- pydantic-core
- opentelemetry-api
opentelemetry-semantic-conventions
prometheus-client
psutil
- python-json-logger
- boto3
- docker
- Alibaba Cloud
- OpenTelemetry
Side by side
graphragllama_index
SizeLines written by people and agents, without generated ones; code files, without tests.
graphrag51,789 lines written449 code files
llama_index473,236 lines written2,055 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
graphrag2.6% of its commits signed by AIWith GitHub Copilot
llama_index0.2% of its commits signed by AIWith Claude Code, Cursor, and GitHub Copilot
ActivityFrom GitHub and its history, on the day SeeRepo read it.
graphragLast push November 2, 2026499 commits36,582 stars
llama_indexLast push November 5, 20267,963 commits52,820 stars
TestsThe files that test the code, and the share of code files a test imports.
graphrag129 test files
llama_index1,607 test files46.5% of its code files have a test that imports them
Frequently asked questions
Which is bigger, graphrag or llama_index?
llama_index, with 473,236 lines written; graphrag has 51,789.
Which has more GitHub stars, graphrag or llama_index?
llama_index, with 52,820 stars; graphrag has 36,582.
The proof: run-llama/llama_index on GitHub
Which has more tests, graphrag or llama_index?
llama_index, with 1,607 test files; graphrag has 129.
Which was updated more recently, graphrag or llama_index?
llama_index: its last push was on November 5, 2026, and graphrag's on November 2, 2026.
The proof: run-llama/llama_index's commits on GitHub
Which has more commits signed by AI, graphrag or llama_index?
graphrag: an AI signed 2.6% of its commits, with GitHub Copilot; in llama_index, 0.2%.
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

