Integration · Developer
AI agents for Mem0
Long-term memory for agents with the Mem0 Platform.
- Actions
- 9
- Read
- 6
- Write
- 3
Actions
What your agents can do in Mem0
Long-term memory for agents with the Mem0 Platform: save what a person says (Mem0 extracts the facts worth keeping), search a person's or an agent's memories by meaning, list, read, correct and delete memories, and see how a memory changed over time.
Read 6
Look things up. Nothing changes.
Check a memory save
Reads the background job that add_memories started, by its event_id: status (PENDING, RUNNING, SUCCEEDED or FAILED), the memories it added, updated or deleted in results, and error when it failed.
Search memories
Finds the memories most relevant to a question, by meaning and keywords, within one person's (user_id), agent's or run's memories (give at least one).
List memories
Lists the memories stored for one person (user_id), agent or run (give at least one), newest first, optionally only some categories, those containing keywords, or those created between two dates.
Get a memory
Reads one memory by its ID: the memory text, whose it is (user_id, agent_id), categories, metadata, when it was made and changed, and its expiration date.
Get a memory's history
Lists how one memory changed over time, oldest first: each entry's event (ADD, UPDATE or DELETE), old_memory, new_memory and when it happened, in result.
List people and agents with memories
Lists the users, agents, apps and runs that have memories in this project, each with its name (the ID you used), type and how many memories it has, with totals per type.
Write 3
Create, change or send.
Add memories
Saves a conversation (or a single message) to memory.
Correct a memory
Replaces a memory's text, its metadata or its expiration date, when a fact has changed or was wrong (like a new address).
Delete a memoryDeletes data
Deletes one memory for good, for example when a person asks you to forget something.
A person can approve first
Any write action can be set to wait for a person's approval before it runs, so an agent asks before it changes anything. Actions that delete data ask first by default.
Connection
How it connects
Connect it once in the console, then give it to the agents and workflows that need it.
Paste an API key from your Mem0 account.
What you enter
- API key
Kept safe
- Credentials are stored encrypted with your organization's own keys.
- They are opened only by the process that makes the call, at the moment it runs, and never go into a prompt or the browser.
- Calls go only to the tool's own servers.
Ideas
Ideas to start with
Starting points made only from the actions above. Mix them with any other tool your agents can use.
- 01
Ask about your Mem0 data
Ask a question in plain words. The agent can check a memory save, search memories or list memories in Mem0, then answers with what it found.
- 02
Let an agent update Mem0
Have the agent add memories or delete a memory in Mem0 as part of a larger task. Turn on approval and a person signs off on each change first.
- 03
Share what it finds in Slack
Give one agent Mem0 and Slack: it can check a memory save in Mem0 and post a summary to a Slack channel in the same run.
FAQ
Mem0 and MyDeepAgents
Can MyDeepAgents connect to Mem0?
Yes. The Mem0 connector has 9 actions: 6 read and 3 make changes. Your agents can call them as tools, and your workflows can run them as steps.
How do I connect Mem0?
Paste an API key from your Mem0 account. You'll need: API key. Credentials are stored encrypted with your organization's own keys and are opened only at the moment of a call.
Can an agent change data in Mem0 without asking?
Only if you let it. Each of the 3 actions that change data can be set to wait for a person's approval before it runs, and the one that deletes data asks first by default.
Can I use Mem0 in workflows as well as agents?
Yes. Every Mem0 action also works as a step in a workflow, and the same connection serves your agents and your workflows.
Early access
Put Mem0 to work
Connect it in a few minutes, give an agent the actions it needs, and decide which changes wait for a person.