agentleFS
mem0aimem0ai/mem0/tests/AGENTS.md

mem0 / tests

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

pytest suite for the mem0/ package. Tests for other packages live with those packages: mem0-ts/ (jest), cli/python/tests/ (pytest), cli/node/ (vitest), and each directory under integrations/.

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

Files
AGENTS.md

Python SDK tests (tests/)

pytest suite for the mem0/ package.

Commands

make install_all    # optional deps; several tests need them
make test           # pytest tests/
make test-py-3.9    # pin a Python version (3.9 through 3.12)

pytest tests/llms/test_openai.py::test_generate_response   # single test

Conventions

  • Files are named test_<module>.py.
  • Provider tests mirror the source tree: tests/<category>/<provider_name>/.
  • pytest-mock for mocks, pytest-asyncio for the async surface.
  • Ruff line length 120, matching mem0/. See ../mem0/AGENTS.md.
  • Mock the provider SDK, never the code under test. A test that asserts the implementation back at itself is worse than no test.
  • Bug fixes need a regression test that fails without the fix. Write it first and watch it fail.

Tests for other packages live with those packages: mem0-ts/ (jest), cli/python/tests/ (pytest), cli/node/ (vitest), and each directory under integrations/.

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.