agentleFS
mem0aimem0ai/mem0/server/AGENTS.md

mem0 / server

AGENTS.md67k starsChanged 3 months agoApache-2.0View on GitHub

FastAPI REST server wrapping the Python SDK. Docker only; there is no local non-Docker path. Never commit .env. Credentials for the compose services belong in .env.example as placeholders only.

  • Reads credentials

Trending

Less talk lately.about the whole repository

Dec 2025: 1 mentionJan 2026: 2 mentionsFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 21 mentionsJun 2026: 9 mentionsJul 2026: 6 mentionsAug 2026: 4 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the mem0ai/mem0 repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about mem0ai/mem0

The biggest 5 of 62 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 62

Talked about on GitHub, Bluesky and Hacker News (62 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 9

4 more on Bluesky

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use Docker Compose for local work.

    line 28
  2. Very specific:

    Never commit .env. Credentials for the compose services belong in .env.example as placeholders only.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Self-hosted server (server/)

FastAPI REST server wrapping the Python SDK. Docker only; there is no local non-Docker path.

Commands

# Production image
make build        # docker build -t mem0-api-server .
make run_local    # docker run -p 8000:8000 with .env

# Development stack (FastAPI + PostgreSQL/pgvector + Neo4j)
docker-compose up
ServicePort
mem0 API8888
PostgreSQL (pgvector)8432
Neo4j HTTP8474
Neo4j Bolt8687

Conventions

  • Framework: FastAPI on uvicorn, auto-reload in dev.
  • Stores: PostgreSQL with the pgvector extension, Neo4j 5.x with the APOC plugin.
  • Hot reload: the dev Dockerfile mounts both server/ and mem0/, so SDK edits take effect without a rebuild.
  • Use Docker Compose for local work. Do not add a "run it with uvicorn directly" path.
  • The server imports the Python SDK from the repo, so its conventions apply to any SDK code you touch: see ../mem0/AGENTS.md.

Never commit .env. Credentials for the compose services belong in .env.example as placeholders only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.