Source: https://seerepo.com/r/HKUDS/LightRAG/built
Markdown source: https://seerepo.com/r/HKUDS/LightRAG/built.md
Description: LightRAG is a Python repo built with React, Vite, and FastAPI. It stores its data in Postgres, MongoDB, and Redis and uses AI through OpenAI and Anthropic.

# What is LightRAG built with?

LightRAG is a Python repo built with React, Vite, and FastAPI. It stores its data in Postgres, MongoDB, and Redis and uses AI through OpenAI and Anthropic. It has 338 files and 442,998 written lines, with 676 test files.

Read on October 31, 2026, at commit aaebfe1.

Repository: https://github.com/HKUDS/LightRAG

## Frontend

### The base

- **[React](https://seerepo.com/uses/react)**: [in package.json](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/package.json)
- **[Vite](https://seerepo.com/uses/vite)**: [in package.json](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/package.json)

## Backend

### The base

- **[FastAPI](https://seerepo.com/uses/fastapi)**: [in package.json](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/package.json)

### Data

- **[Postgres](https://seerepo.com/uses/postgres)**: 4 files · [lightrag/kg/pgtable_impl.py, line 58](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/kg/pgtable_impl.py#L58)
- **[MongoDB](https://seerepo.com/uses/mongodb)**: 3 files · [lightrag/kg/mongo_impl.py, line 70](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/kg/mongo_impl.py#L70)
- **[Redis](https://seerepo.com/uses/redis)**: 3 files · [lightrag/kg/redis_impl.py, line 18](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/kg/redis_impl.py#L18)

### Services

- **[OpenAI](https://seerepo.com/uses/openai)**: 7 files · [lightrag/llm/deprecated/siliconcloud.py, line 13](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/llm/deprecated/siliconcloud.py#L13)
- **[Anthropic](https://seerepo.com/uses/anthropic)**: 2 files · [lightrag/llm/anthropic.py, line 18](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/llm/anthropic.py#L18)

## Other repos with a similar stack

- [Significant-Gravitas/AutoGPT](https://seerepo.com/r/Significant-Gravitas/AutoGPT/built): React, FastAPI, Postgres, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/HKUDS/LightRAG/vs/Significant-Gravitas/AutoGPT)
- [datawhalechina/hello-agents](https://seerepo.com/r/datawhalechina/hello-agents/built): React, Vite, FastAPI, Postgres, Redis, OpenAI · [Compare](https://seerepo.com/compare/datawhalechina/hello-agents/vs/HKUDS/LightRAG)
- [NanmiCoder/MediaCrawler](https://seerepo.com/r/NanmiCoder/MediaCrawler/built): React, Vite, FastAPI, Postgres, MongoDB, Redis · [Compare](https://seerepo.com/compare/HKUDS/LightRAG/vs/NanmiCoder/MediaCrawler)
- [mem0ai/mem0](https://seerepo.com/r/mem0ai/mem0/built): FastAPI, Postgres, MongoDB, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/HKUDS/LightRAG/vs/mem0ai/mem0)
- [BerriAI/litellm](https://seerepo.com/r/BerriAI/litellm/built): React, FastAPI, Postgres, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/BerriAI/litellm/vs/HKUDS/LightRAG)
- [twentyhq/twenty](https://seerepo.com/r/twentyhq/twenty/built): React, Vite, Postgres, Redis, OpenAI, Anthropic · [Compare](https://seerepo.com/compare/HKUDS/LightRAG/vs/twentyhq/twenty)

## Frequently asked questions

### What language is LightRAG written in?

LightRAG is written in Python: 338 files and 442,998 written lines.

### What framework does LightRAG use?

LightRAG is built with React, Vite, and FastAPI.

The proof: [in package.json](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/package.json)

### What database does LightRAG use?

LightRAG stores its data in Postgres, MongoDB, and Redis.

The proof: [lightrag/kg/pgtable_impl.py, line 58](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/kg/pgtable_impl.py#L58)

### Does LightRAG use AI?

Yes. LightRAG uses AI through OpenAI and Anthropic.

The proof: [lightrag/llm/deprecated/siliconcloud.py, line 13](https://github.com/HKUDS/LightRAG/blob/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a/lightrag/llm/deprecated/siliconcloud.py#L13)

### Does LightRAG have tests?

Yes. LightRAG has 676 test files.

### Which repos have a stack like LightRAG's?

The ones that share most of its stack: Significant-Gravitas/AutoGPT, datawhalechina/hello-agents, and NanmiCoder/MediaCrawler.

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
