Mgeeeek
ed5ee7b9ff
fix(plugin): deterministic mem0 user_id resolution
...
Hooks previously fell back to $USER when MEM0_USER_ID wasn't set,
producing a different user_id on every machine for the same person.
Result: a single account with memories scattered across many user
buckets, none of which can see each other.
Resolution priority (same in bash and python):
1. MEM0_USER_ID env var (explicit override)
2. ~/.mem0/identity.json cache (pinned to MEM0_API_KEY fingerprint)
3. Derived: "mem0-" + sha256(MEM0_API_KEY)[:12]
4. Fallback: $USER, else "default"
Same MEM0_API_KEY across machines now yields the same user_id without
the user having to set MEM0_USER_ID by hand on every laptop.
Resolver shipped as two tiny files instead of a shared module:
_identity.sh -- sourced by bash hooks, exports MEM0_RESOLVED_USER_ID
_identity.py -- imported by on_pre_compact.py, exposes resolve_user_id()
Hook integration:
on_user_prompt.sh -- sources resolver, USER_ID interpolated into rubric
on_session_start.sh -- emits an "Active user_id: <X>" header before the
bootstrap text, so the agent's MCP search_memories/add_memory calls
use the same bucket the hooks write to (closes the agent-side half
of the symptom)
on_pre_compact.py -- replaces inline env lookup with resolve_user_id()
Existing memories under previous $USER values are not auto-migrated.
The cache file regenerates on key rotation (fingerprint mismatch).
CI nudge in pyproject.toml because path filters in ci.yml exclude
plugin-only PRs but build_mem0/build_embedchain are required.
Manual verification: same key on different $USER values resolves to
identical user_id; MEM0_USER_ID override bypasses cache and key
derivation; cache invalidates on key change; bash and python
implementations produce identical output for all four priority levels.
2026-05-08 20:58:08 +05:30
Mragank Shekhar
9043fbf61e
chore(release): bump mem0ai to 2.0.2 (py) and 3.0.3 (ts) ( #5078 )
2026-05-08 01:27:23 +05:30
Gabriel Stein
58304fc939
refactor(plugin): hand mem0 search decisions to the agent ( #4992 )
...
Co-authored-by: Mgeeeek <ms8939@bennett.edu.in >
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-07 20:41:39 +05:30
Kartik
bd9d27ff50
docs: changelog updates, version bump in mem0-ts and pyproject ( #4976 )
2026-04-25 23:06:57 +05:30
Kabir Kohli
cfb5f1776e
chore(security): bump vulnerable dependencies to patched versions ( #4835 )
2026-04-21 01:27:13 +05:30
Saket Aryan
fb224083e4
chore(release): promote Python SDK to 2.0.0 and TS SDK to 3.0.0 ( #4860 )
2026-04-16 17:13:50 +05:30
Saket Aryan
50db9e428d
chore(release): bump SDK versions to next beta ( #4859 )
2026-04-16 16:23:50 +05:30
Saket Aryan
5d40592e42
chore: version bump to beta1 ( #4827 )
2026-04-14 18:05:22 +05:30
soumil-rathi
a488e19044
feat(oss): port v3 pipeline with hybrid search, entity extraction, and additive scoring ( #4805 )
...
Co-authored-by: Soumil Rathi <soumilrathi@gmail.com >
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com >
Co-authored-by: chaithanyak42 <chaithanya.kumar42a@gmail.com >
Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai >
2026-04-14 18:00:58 +05:30
Saket Aryan
92b958c1cc
chore: bump Python SDK to v2.0.0b0 and Node SDK to v3.0.0-beta.0 ( #4810 )
2026-04-13 15:51:33 +05:30
Gabriel Stein
9d82e2329d
refactor(telemetry): sample OSS hot-path events at 10% to reduce PostHog volume ( #4771 )
2026-04-11 16:25:38 +05:30
Kartik
6984958138
chore: sat release ( #4702 )
2026-04-06 16:55:08 +05:30
Kartik
1bfaaf8750
chore: release ( #4657 )
2026-04-01 23:44:09 +05:30
Kartik
b8a5ca1b70
chore: bump mem0ai and mem0-ts versions to 1.0.9/2.4.4 and update changelog ( #4585 )
2026-03-28 22:42:21 +05:30
Kartik
4482228383
chore: fix failing CI lint errors ( #4584 )
2026-03-28 21:45:47 +05:30
Anchi Li
e280665578
fix: remove README.md from wheel shared-data ( #4052 )
2026-03-28 20:57:51 +05:30
Kartik
e8004b93db
chore: updating the sdk version and changelog ( #4561 )
...
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-26 22:21:31 +05:30
Gabriel Stein
3c2683c1b5
feat: add Mem0 plugin for Claude Code and Cursor ( #4518 )
2026-03-25 14:45:59 -07:00
Utkarsh
305ce7b6b3
feat: add Apache AGE graph store support ( #4448 )
...
Co-authored-by: utkarsh240799 <utkarsh240799@users.noreply.github.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-20 20:27:48 +05:30
Kartik
6663b738d5
refactor: fix webhook create/update serialization, add payload types, and MEMORY_CATEGORIZED event ( #4429 )
...
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com >
2026-03-19 22:26:17 +05:30
Kartik
7539463f50
refactor: improve Ollama embedder, normalize model names, add error handling, update tests ( #4403 )
2026-03-18 23:34:35 +05:30
Kartik
15218d4a7f
chore: bump mem0-ts to 2.4.1, pyproject to 1.0.6, update changelog with bug fixes ( #4361 )
...
Co-authored-by: Saket Aryan <saketaryan2002@gmail.com >
2026-03-16 22:49:31 +05:30
Kartik
fa5c85f9f6
chore: bump protobuf dependency to 5.29.6 and extend upper bound to 7.0.0 ( #4326 )
2026-03-14 10:58:58 -07:00
Saket Aryan
34c797d285
fix: disable ph telemetry still calls posthog ( #4203 )
2026-03-04 03:55:34 +05:30
Mragank Shekhar
a140829395
chore: update user facing timestamp for a memory ( #4066 )
2026-02-18 03:27:46 +05:30
Saket Aryan
69a832dc58
chore: add update project options ( #3947 )
2026-02-03 10:55:43 +05:30
Saket Aryan
dba7f0458a
(version-bump): update the project version to v1.0.2 ( #3902 )
2026-01-13 13:01:38 +05:30
Prateek Chhikara
3b84a234e1
Updates to python sdk ( #3749 )
2025-11-13 14:22:39 -08:00
Faizan Habib
9ef644b95e
Add Apache Cassandra vector store support ( #3578 )
2025-10-17 23:48:49 +05:30
Tarun Jain
1090784302
[feat add]FastEmbed embedding for local embeddings ( #3552 )
2025-10-16 22:52:22 +05:30
Parshva Daftari
394203d1b5
Mem0 1.0.0 ( #3545 )
2025-10-16 15:50:20 +05:30
yashikabadaya
fbf3bd640c
support dependency openai 2.x ( #3533 )
2025-10-03 21:50:49 +05:30
Parshva Daftari
346d89d244
Added azure mysql for mem0 ( #3531 )
2025-10-02 21:41:03 +05:30
Vishaal LS
445286a138
fix: update license information in README and pyproject.toml ( #3522 )
2025-09-30 13:58:08 -07:00
Parshva Daftari
ed5a1e9fc6
Update version to 0.1.118 ( #3505 )
2025-09-26 02:03:37 +05:30
Andy Kwok
6b5582f474
Feat: Mem0 vector store backend integration for Neptune Analytics ( #3453 )
...
Signed-off-by: Andy Kwok <andy.kwok@improving.com >
2025-09-17 19:26:03 +05:30
Parshva Daftari
d48b1832c7
Fixes ollama and updates openai dependency ( #3452 )
2025-09-12 01:39:39 +05:30
Swarnaprakash Udayakumar
e3f0277cb9
feat(vector-store): Add Valkey vector store support ( #3272 )
2025-09-10 04:01:53 +05:30
Parshva Daftari
5e8d5e4664
Release 0.1.117 ( #3411 )
2025-09-03 23:09:00 +05:30
Sheharyar Ahmad
3d0ece1bcf
Refactor PGVector to Use Internal Connection Pools and Context Managers ( #3373 )
2025-08-29 19:06:39 +05:30
VikramIyer125
6237a6acb9
Adding weaviate, faiss, pgvector, chroma, redis, elasticsearch, milvus vector store to openmemory ( #3366 )
...
Co-authored-by: Vikram Iyer <vikramiyer@mac.local.meter >
2025-08-27 01:47:39 +05:30
David A. Torres
4487785cec
feature: add Azure Identity for Azure OpenAI and Azure AI Search authentication ( #3262 )
2025-08-21 02:00:27 +05:30
Parshva Daftari
c8ee17b884
Fix dependency and tests and updated docstring ( #3337 )
2025-08-19 02:12:24 +05:30
Josh Hayes
3a1eff425b
feat(vector-store): Add Databricks Mosaic AI vector store support ( #3325 )
2025-08-18 22:20:33 +05:30
Siddhartha Sahu
a6a3928091
Add support for graph memory using Kuzu ( #2934 )
2025-08-16 02:22:31 +05:30
Saket Aryan
5e895c240a
Update version to 0.1.116 ( #3312 )
2025-08-14 00:06:34 +05:30
Parshva Daftari
7159221d2e
Restrict package version ( #3305 )
2025-08-12 16:53:21 -05:00
Parshva Daftari
23d31a830b
Added support for python 3.12 ( #3295 )
2025-08-12 15:01:41 -05:00
Parshva Daftari
57a16aeb4b
Updated psycopg -> 3 ( #3271 )
2025-08-04 14:46:44 -07:00
Saket Aryan
37ee3c5eb2
docs: Update for new Project API and deprecation notices ( #3212 )
2025-07-24 15:16:47 +05:30