Mem0 provides memory for AI agents. pref0 provides preference learning. Both help agents personalize, but they solve different problems in different ways.
| pref0 | Mem0 | |
|---|---|---|
| What it stores | Structured preferences with confidence scores | Memories as natural language facts |
| How it learns | Extracts preferences from corrections and conversations | Stores facts from conversations |
| Confidence over time | Yes — preferences compound across sessions | No — memories are stored as-is |
| Data model | Key-value preferences with scores | Natural language memory entries |
| Integration | 2 REST endpoints | SDK with multiple methods |
| Best for | Learning how users want things done | Remembering facts about users |
Mem0 stores memories — facts like 'user works at Acme Corp' or 'user has a dog named Max.' pref0 stores preferences — structured learnings like 'prefers TypeScript over JavaScript' with a confidence score of 0.85. These are complementary concerns.
pref0's core differentiator is confidence scoring that compounds over time. A preference mentioned once starts at 0.40–0.70. The same preference across multiple sessions reaches 1.0. Mem0 stores memories without confidence scoring.
pref0 specifically watches for corrections — 'use X instead of Y' — as the highest-signal data. This is purpose-built for preference learning. Mem0 treats all conversation content equally as potential memories.
Yes. They're complementary. Use Mem0 for factual memory (user's name, company, past conversations) and pref0 for preference learning (how they want code written, communication style). Inject both into your agent's system prompt.
No. pref0 focuses specifically on preferences with confidence scoring. If you need general memory, Mem0 is the better tool. If you need preference learning, pref0 is purpose-built for it.
pref0 has 2 REST endpoints (track and profiles). Mem0 has an SDK with multiple methods. Both are straightforward, but pref0 is simpler if you only need preferences.
Your users are already teaching your agent what they want. pref0 makes sure the lesson sticks.