Skip to main content
Add persistent memory to your computer use agents with Mem0. The agent remembers user preferences, learns from past interactions, and gets better over time.

Setup

.env

Example

Managing memories

How it works

  1. Search - Before each task, query Mem0 for relevant memories
  2. Inject - Add memories as context in the prompt
  3. Execute - The AI agent acts with full context of past preferences
  4. Store - Save new interactions so future tasks benefit
Each 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