Source: https://seerepo.com/compare/mem0ai/mem0/vs/ray-project/ray
Markdown source: https://seerepo.com/compare/mem0ai/mem0/vs/ray-project/ray.md
Description: mem0 and ray share 3 technologies: FastAPI, Redis, and MongoDB. Both are written in Python.

# mem0 vs ray

mem0 and ray share 3 technologies: FastAPI, Redis, and MongoDB. Both are written in Python.

- [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.
- [ray-project/ray](https://seerepo.com/r/ray-project/ray): Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

## What they share and what sets them apart

- In common: FastAPI, Redis, MongoDB
- Only in mem0: Postgres, Supabase, OpenAI, PostHog, Anthropic, AWS S3
- Only in ray: Google, Google Cloud Storage

## Side by side

| | mem0 | ray |
|---|---|---|
| Size | 234,363 lines written, 636 code files | 1,514,135 lines written, 2,949 code files |
| Who writes it | 3.6% of its commits signed by AI. With Claude Code and Cursor | 3.3% of its commits signed by AI. With Claude Code, Gemini CLI, GitHub Copilot, Cursor, and Codex |
| Activity | Last push October 29, 2026, 2,650 commits, 68,064 stars | Last push October 31, 2026, 32,244 commits, 44,168 stars |
| Tests | 324 test files. 46.2% of its code files have a test that imports them | 2,145 test files. 9.1% 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, mem0 or ray?

ray, with 1,514,135 lines written in 2,949 code files; mem0 has 234,363 in 636.

The proof: [ray-project/ray's code at commit 45c4123](https://github.com/ray-project/ray/tree/45c41238576e946fba6b407698a25b959d94431e)

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

mem0, with 68,064 stars; ray has 44,168.

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

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

ray, with 2,145 test files; mem0 has 324.

The proof: [ray-project/ray's code at commit 45c4123](https://github.com/ray-project/ray/tree/45c41238576e946fba6b407698a25b959d94431e)

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

ray: its last push was on October 31, 2026, and mem0's on October 29, 2026.

The proof: [ray-project/ray's commits on GitHub](https://github.com/ray-project/ray/commits)

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

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

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

## Sources

- mem0ai/mem0: Read on October 30, 2026, at commit 26cdefb (https://github.com/mem0ai/mem0/tree/26cdefb46600c0fa5953c4b5ee5003c125539fc4)
- ray-project/ray: Read on October 31, 2026, at commit 45c4123 (https://github.com/ray-project/ray/tree/45c41238576e946fba6b407698a25b959d94431e)

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