Source: https://seerepo.com/r/mem0ai/mem0/built
Markdown source: https://seerepo.com/r/mem0ai/mem0/built.md
Description: mem0 is a Python repo built with FastAPI. It stores its data in Postgres, Supabase, Redis, and MongoDB and stores files in AWS S3.

# What is mem0 built with?

mem0 is a Python repo built with FastAPI. It stores its data in Postgres, Supabase, Redis, and MongoDB, stores files in AWS S3, uses AI through OpenAI and Anthropic, and measures its use with PostHog. It has 636 files and 234,363 written lines, with 324 test files.

Read on October 27, 2026, at commit 26cdefb.

Repository: https://github.com/mem0ai/mem0

## Backend

### The base

- **[FastAPI](https://seerepo.com/uses/fastapi)**: [in package.json](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/package.json)

### Data

- **[Postgres](https://seerepo.com/uses/postgres)**: 3 files · [mem0-ts/src/oss/src/vector_stores/pgvector.ts, line 1](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/vector_stores/pgvector.ts#L1)
- **Supabase**: 2 files · [mem0-ts/src/oss/src/storage/SupabaseHistoryManager.ts, line 1](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/storage/SupabaseHistoryManager.ts#L1)
- **[Redis](https://seerepo.com/uses/redis)**: 2 files · [mem0-ts/src/oss/src/vector_stores/redis.ts, line 7](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/vector_stores/redis.ts#L7)
- **MongoDB**: 1 file · [mem0-ts/src/oss/src/vector_stores/mongodb.ts, line 1](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/vector_stores/mongodb.ts#L1)

### Services

- **[OpenAI](https://seerepo.com/uses/openai)**: 23 files · [integrations/vercel-ai-sdk/src/mem0-types.ts, line 2](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/integrations/vercel-ai-sdk/src/mem0-types.ts#L2)
- **[Anthropic](https://seerepo.com/uses/anthropic)**: 3 files · [integrations/vercel-ai-sdk/src/mem0-types.ts, line 3](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/integrations/vercel-ai-sdk/src/mem0-types.ts#L3)
- **[PostHog](https://seerepo.com/uses/posthog)**: 2 files · [mem0/memory/telemetry.py, line 9](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0/memory/telemetry.py#L9)
- **AWS S3**: 1 file · [mem0-ts/src/oss/src/vector_stores/s3_vectors.ts, line 6](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/vector_stores/s3_vectors.ts#L6)

## Other repos with a similar stack

- [Stirling-Tools/Stirling-PDF](https://seerepo.com/r/Stirling-Tools/Stirling-PDF/built): FastAPI, Postgres, Supabase, PostHog, AWS S3 · [Compare](https://seerepo.com/compare/mem0ai/mem0/vs/Stirling-Tools/Stirling-PDF)
- [datawhalechina/hello-agents](https://seerepo.com/r/datawhalechina/hello-agents/built): FastAPI, Postgres, Redis, OpenAI · [Compare](https://seerepo.com/compare/datawhalechina/hello-agents/vs/mem0ai/mem0)
- [ruvnet/ruflo](https://seerepo.com/r/ruvnet/ruflo/built): Postgres, Supabase, MongoDB, OpenAI · [Compare](https://seerepo.com/compare/mem0ai/mem0/vs/ruvnet/ruflo)
- [NanmiCoder/MediaCrawler](https://seerepo.com/r/NanmiCoder/MediaCrawler/built): FastAPI, Postgres, Redis, MongoDB · [Compare](https://seerepo.com/compare/mem0ai/mem0/vs/NanmiCoder/MediaCrawler)
- [open-webui/open-webui](https://seerepo.com/r/open-webui/open-webui/built): FastAPI, Postgres, Redis · [Compare](https://seerepo.com/compare/mem0ai/mem0/vs/open-webui/open-webui)
- [langflow-ai/langflow](https://seerepo.com/r/langflow-ai/langflow/built): FastAPI, Redis, OpenAI · [Compare](https://seerepo.com/compare/langflow-ai/langflow/vs/mem0ai/mem0)

## Frequently asked questions

### What language is mem0 written in?

mem0 is written in Python: 636 files and 234,363 written lines.

### What framework does mem0 use?

mem0 is built with FastAPI.

The proof: [in package.json](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/package.json)

### What database does mem0 use?

mem0 stores its data in Postgres, Supabase, Redis, and MongoDB.

The proof: [mem0-ts/src/oss/src/vector_stores/pgvector.ts, line 1](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/vector_stores/pgvector.ts#L1)

### Does mem0 use AI?

Yes. mem0 uses AI through OpenAI and Anthropic.

The proof: [integrations/vercel-ai-sdk/src/mem0-types.ts, line 2](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/integrations/vercel-ai-sdk/src/mem0-types.ts#L2)

### What services does mem0 use?

mem0 stores files in AWS S3 and measures its use with PostHog.

The proof: [mem0-ts/src/oss/src/vector_stores/s3_vectors.ts, line 6](https://github.com/mem0ai/mem0/blob/26cdefb46600c0fa5953c4b5ee5003c125539fc4/mem0-ts/src/oss/src/vector_stores/s3_vectors.ts#L6)

### Does mem0 have tests?

Yes. mem0 has 324 test files.

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

The ones that share most of its stack: Stirling-Tools/Stirling-PDF, datawhalechina/hello-agents, and ruvnet/ruflo.

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