Setup
Example
Managing memories
How it works
- Search: before each task, query Mem0 for relevant memories
- Inject: add memories as context in the prompt
- Execute: the AI agent acts with full context of past preferences
- Store: save new interactions so future tasks benefit
user_id maintains its own separate memory, so you can run multiple users or contexts (e.g. "work" vs "personal").
Learn more
Mem0 Docs
Memory API reference
Computer Use API
Orgo completions endpoint