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

# BettaFish vs mem0

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

- [666ghj/BettaFish](https://seerepo.com/r/666ghj/BettaFish): 微舆：人人可用的多Agent舆情分析助手，打破信息茧房，还原舆情原貌，预测未来走向，辅助决策！从0实现，不依赖任何框架。
- [mem0ai/mem0](https://seerepo.com/r/mem0ai/mem0): The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

## What they share and what sets them apart

- In common: Redis, Postgres, MongoDB, OpenAI
- Only in BettaFish: Django, Flask
- Only in mem0: FastAPI, Supabase, PostHog, Anthropic, AWS S3

## Side by side

| | BettaFish | mem0 |
|---|---|---|
| Size | 58,909 lines written, 157 code files | 234,363 lines written, 636 code files |
| Who writes it | 0.7% of its commits signed by AI. With Codex and Claude Code | 3.6% of its commits signed by AI. With Claude Code and Cursor |
| Activity | Last push October 16, 2026, 903 commits, 42,555 stars | Last push October 29, 2026, 2,650 commits, 68,064 stars |
| Tests | 15 test files. 11.5% of its code files have a test that imports them | 324 test files. 46.2% 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 mem0?

mem0, with 234,363 lines written in 636 code files; BettaFish has 58,909 in 157.

The proof: [mem0ai/mem0's code at commit 26cdefb](https://github.com/mem0ai/mem0/tree/26cdefb46600c0fa5953c4b5ee5003c125539fc4)

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

mem0, with 68,064 stars; BettaFish has 42,555.

The proof: [mem0ai/mem0 on GitHub](https://github.com/mem0ai/mem0)

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

mem0, with 324 test files; BettaFish has 15.

The proof: [mem0ai/mem0's code at commit 26cdefb](https://github.com/mem0ai/mem0/tree/26cdefb46600c0fa5953c4b5ee5003c125539fc4)

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

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

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

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

mem0: an AI signed 3.6% of its commits, with Claude Code and Cursor; in BettaFish, 0.7%.

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

## Sources

- 666ghj/BettaFish: Read on October 31, 2026, at commit b67928f (https://github.com/666ghj/BettaFish/tree/b67928ff1ce515dd7672408221fb1e9500d0972d)
- mem0ai/mem0: Read on October 30, 2026, at commit 26cdefb (https://github.com/mem0ai/mem0/tree/26cdefb46600c0fa5953c4b5ee5003c125539fc4)

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