Source: https://seerepo.com/compare/666ghj/BettaFish/vs/HKUDS/LightRAG
Markdown source: https://seerepo.com/compare/666ghj/BettaFish/vs/HKUDS/LightRAG.md
Description: BettaFish and LightRAG share 4 technologies: Redis, Postgres, MongoDB, and OpenAI. Both are written in Python.

# BettaFish vs LightRAG

BettaFish and LightRAG share 4 technologies: Redis, Postgres, MongoDB, and OpenAI. Both are written in Python.

- [666ghj/BettaFish](https://seerepo.com/r/666ghj/BettaFish): 微舆：人人可用的多Agent舆情分析助手，打破信息茧房，还原舆情原貌，预测未来走向，辅助决策！从0实现，不依赖任何框架。
- [HKUDS/LightRAG](https://seerepo.com/r/HKUDS/LightRAG): [EMNLP2025] LightRAG: Simple and Fast Retrieval-Augmented Generation

## What they share and what sets them apart

- In common: Redis, Postgres, MongoDB, OpenAI
- Only in BettaFish: Django, Flask
- Only in LightRAG: React, Vite, FastAPI, Anthropic

## Side by side

| | BettaFish | LightRAG |
|---|---|---|
| Size | 58,909 lines written, 157 code files | 442,998 lines written, 338 code files |
| Who writes it | 0.7% of its commits signed by AI. With Codex and Claude Code | 19.8% of its commits signed by AI. With Claude Code, Codex, GitHub Copilot, Cursor, and Jules |
| Activity | Last push October 16, 2026, 903 commits, 42,555 stars | Last push October 29, 2026, 8,260 commits, 40,452 stars |
| Tests | 15 test files. 11.5% of its code files have a test that imports them | 676 test files. 66% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, BettaFish or LightRAG?

LightRAG, with 442,998 lines written in 338 code files; BettaFish has 58,909 in 157.

The proof: [HKUDS/LightRAG's code at commit aaebfe1](https://github.com/HKUDS/LightRAG/tree/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a)

### Which has more GitHub stars, BettaFish or LightRAG?

BettaFish, with 42,555 stars; LightRAG has 40,452.

The proof: [666ghj/BettaFish on GitHub](https://github.com/666ghj/BettaFish)

### Which has more tests, BettaFish or LightRAG?

LightRAG, with 676 test files; BettaFish has 15.

The proof: [HKUDS/LightRAG's code at commit aaebfe1](https://github.com/HKUDS/LightRAG/tree/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a)

### Which was updated more recently, BettaFish or LightRAG?

LightRAG: its last push was on October 29, 2026, and BettaFish's on October 16, 2026.

The proof: [HKUDS/LightRAG's commits on GitHub](https://github.com/HKUDS/LightRAG/commits)

### Which has more commits signed by AI, BettaFish or LightRAG?

LightRAG: an AI signed 19.8% of its commits, with Claude Code, Codex, GitHub Copilot, Cursor, and Jules; in BettaFish, 0.7%.

The proof: [the commits each tool signed in HKUDS/LightRAG](https://seerepo.com/r/HKUDS/LightRAG/ai)

## Sources

- 666ghj/BettaFish: Read on October 31, 2026, at commit b67928f (https://github.com/666ghj/BettaFish/tree/b67928ff1ce515dd7672408221fb1e9500d0972d)
- HKUDS/LightRAG: Read on October 31, 2026, at commit aaebfe1 (https://github.com/HKUDS/LightRAG/tree/aaebfe1bb8d55deb6a4304d357a3bf4c92fcd40a)

## 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.
