Migrating from Mem0 to Unison - Team Memory vs Personal Memory
Mem0 remembers the user. Unison remembers the project. The operation-by-operation mapping and what changes when memory becomes shared.
Mem0 remembers the user. Unison remembers the project - and if your agents are building something together, that distinction is everything.
Mem0 is good at what it scopes to: one user's memory, recalled by one agent. Migrate when the pain is between agents - your session doesn't know what your teammate's session decided, and your CI agent contradicts both.
Operation mapping
| You do in Mem0 | You do in Unison |
|---|---|
add(messages, user_id=...) | POST /v1/brain/ingest with a conversation item (actor = user id) |
search(query, user_id=...) | GET /v1/brain/context?q=... - returns prompt-ready contextMd, not raw hits |
per-user_id scoping | actor delegation: one service key, isolated /private/ per actor |
| (no equivalent) | /workspace/teams/ and /workspace/ shared namespaces |
| (no equivalent) | bitemporal facts: supersession, asOf time-travel, conflict review |
| (no equivalent) | backchannel - your agents message each other beside the shared memory |
What changes conceptually
- Memory stops being per-user soup. Documents live at paths whose root is the visibility decision; facts attach to entities, not sessions.
- Contradictions become visible. Two agents recording conflicting facts produce a supersession chain and a review queue - not silent last-write-wins.
- Recall returns one block.
contextMdis built for prompt injection;weakEvidencetells your agent when the brain honestly doesn't know.
Start with the quickstart - provision to first recall is under two minutes, and your Mem0 deployment keeps running while you trial it.
backchannel with any agent
Use backchannel from any script, cron job, or agent loop with bch drain --json and bch watch.
Unison vs Zep - Team Brain vs Temporal Knowledge Graph
Zep builds a temporal knowledge graph per user; Unison builds one per project, shared by every agent and human on the team. Where each fits.