{"full_name":"mem0ai/mem0","owner":"mem0ai","name":"mem0","shard":"1","url":"https://github.com/mem0ai/mem0","description":"The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.","homepage":"https://mem0.ai","topics":["ai","chatgpt","llm","python","rag","long-term-memory","memory","memory-management","state-management","ai-agents","agents","genai","agentic-memory","agentic-memory-system"],"tag_pages":["agents","ai","ai-agents","chatgpt","genai","llm","long-term-memory","memory","memory-management","python","rag","state-management"],"language":"Python","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/137054526?v=4","created_at":"2023-06-20T08:58:36Z","pushed_at":"2026-11-06T16:53:07Z","metrics":{"stars":69014,"forks":8215,"watchers":252,"issues":2384,"prs":5168,"releases":416,"issues_open":483,"issues_closed":1901,"prs_open":470,"prs_closed":2103,"prs_merged":2595,"discussions":168},"growth":{"day":{"stars":54,"forks":12,"base_day":"2026-11-15"},"week":{"stars":337,"forks":45,"base_day":"2026-11-09"}},"history":{"dates":["2026-11-09","2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[68677,68738,68811,68865,68881,68922,68960,69014],"forks":[8170,8178,8186,8193,8193,8198,8203,8215],"watchers":[254,254,253,252,252,252,252,252],"issues_open":[null,null,471,472,473,477,479,483],"prs_open":[null,null,462,464,466,466,466,470]},"boards":{},"same_owner":[],"issues":[{"number":5352,"title":"Workaround: Solving time-blindness, semantic conflicts, and missing CRUD in Mem0 OSS + Qdrant","comments":56,"created_at":"2026-06-03T05:01:36Z"},{"number":7283,"title":"Faithfulness check before memory write , interested in contributing a pluggable verification hook","comments":34,"created_at":"2026-09-11T09:57:30Z"},{"number":4956,"title":"ADD-only extraction in v3 may surface stale/contradictory facts for time-sensitive attributes","comments":24,"created_at":"2026-04-24T10:33:16Z"},{"number":5245,"title":"Silent memory loss when batch embedding partially fails in V3 add pipeline","comments":22,"created_at":"2026-05-24T12:41:17Z"},{"number":7452,"title":"bug(memory): delete_all() leaves the scope's session messages, which are re-sent to the LLM on the next add()","comments":17,"created_at":"2026-09-25T13:39:22Z"},{"number":4892,"title":"Bug: concurrent AsyncMemory writes corrupt Qdrant HNSW index ('index N is out of bounds')","comments":13,"created_at":"2026-04-19T22:54:15Z"},{"number":7376,"title":"RFC: memory export interop — portable bundles with proof and chain of custody","comments":12,"created_at":"2026-09-18T14:20:00Z"},{"number":5867,"title":"ADD-only memory extraction can create conflicting memories","comments":12,"created_at":"2026-06-25T15:56:47Z"}],"discussions":[{"number":7921,"title":"Memtru: reproducible checks for deleted agent memory returning after background work","comments":0,"category":"Show and tell","created_at":"2026-11-14T15:19:56Z"},{"number":7910,"title":"Chopper: a small open model that cuts only the needed sentences out of retrieved text","comments":0,"category":"Show and tell","created_at":"2026-11-13T09:03:12Z"},{"number":7902,"title":"mcp-slim: Zero-dependency MCP stdio proxy for Mem0 agents (-50% to -98% schema tokens & SecretGuard)","comments":0,"category":"Show and tell","created_at":"2026-11-12T05:36:01Z"},{"number":7897,"title":"Expiration boundary semantics: date-inclusive vs instant-exclusive — what breaks at the edges?","comments":2,"category":"Q&A","created_at":"2026-11-11T23:27:16Z"},{"number":7887,"title":"[RFC] Lineage tracking & permission inheritance on synthesized memory graphs","comments":0,"category":"Ideas","created_at":"2026-11-09T21:55:02Z"},{"number":7882,"title":"请问下mem0两个月没更新了，是停更了吗？","comments":1,"category":"General","created_at":"2026-11-09T11:19:50Z"},{"number":7851,"title":"Scoring LongMemEval-S retrieval rankings with a standalone -score driver (no tool in the loop)","comments":0,"category":"General","created_at":"2026-11-06T15:54:11Z"},{"number":7813,"title":"Cloud Alter Ego: a remote MCP connector that keeps your agent memory as Markdown files in your own cloud","comments":0,"category":"Show and tell","created_at":"2026-11-01T20:16:52Z"}],"latest_release":{"name":"Mem0 Node SDK (v3.3.1)","tag":"ts-v3.3.1","published_at":"2026-09-25T17:36:35Z","body":"**Bug Fixes:**\r\n- **Config (OSS):** `ConfigManager` no longer injects OpenAI's default `baseURL` and `model` into non-OpenAI LLM providers. The defaults now apply only to `openai` and `openai_structured`, so a DeepSeek, xAI, or other provider config without an explicit `baseURL` or `model` falls back to that provider's own defaults and env vars (`DEEPSEEK_API_BASE`, `XAI_API_BASE`, ...) instead of pointing at OpenAI with an OpenAI model name ([#7350](https://github.com/mem0ai/mem0/pull/7350))\r\n- **Vector Stores:** Turbopuffer filters now apply every operator (`eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`). Only the range operators were read before, so `eq`, `ne`, `in`, and `nin` were silently dropped. A `\"*\"` value now matches anything instead of nothing, an array value is treated as `in`, and an unsupported operator throws ([#6578](https://github.com/mem0ai/mem0/pull/6578))\r\n- **Vector Stores:** Turbopuffer `search()` with `euclidean_squared` now maps the unbounded squared distance to `1 / (1 + distance)` instead of `1 - distance`, which went negative and inverted ranking for any distance above 1 ([#6580](https://github.com/mem0ai/mem0/pull/6580))\r\n- **Packaging:** `pg`, `@types/pg`, and `natural` are now optional peer dependencies, and `pg` / `@types/pg` accept caret ranges instead of the exact `8.11.3` / `8.11.0` pins, so installing `mem0ai` no longer pulls in `pg` or conflicts with an app's own `pg` version. The PGVector store now imports `pg` only when it is used, so install it alongside `mem0ai` (`npm install pg`) if you use that store. `@types/jest` moved from peer dependencies to dev dependencies ([#7450](https://github.com/mem0ai/mem0/pull/7450))","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}