Mem0 add for AI agents
Mem0 — store conversation turns as long-term memory. Pass `messages` ([{role,content}]) and a `user_id`; Mem0 auto-extracts facts. Returns a queued event id.
1¢ per call
npx @vaaya/mcp installParameters
| Param | Type | What |
|---|---|---|
messages required | object[] | |
user_id required | string | |
infer | boolean | |
metadata | object |
Call it
From any MCP client with Vaaya connected, one use call:
{
"service": "mem0",
"action": "add",
"params": {
"messages": [],
"user_id": "<user_id>"
},
"max_cost_cents": 1
}
Or over HTTP with a Vaaya API key:
curl -X POST https://vaaya.ai/api/run/mem0/add \
-H "Authorization: Bearer $VAAYA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"messages":[],"user_id":"<user_id>","max_cost_cents":1}'
The facts
Call
mem0/add
Price
1¢. Charged only on success.
Pillar
Settlement
Vaaya calls the provider with its own account and bills you the catalog price.
Credentials
Held server-side by Vaaya; your agent never receives a Mem0 key.
More from Mem0
Give your agents this call.
Connect Vaaya once, then describe the outcome or call it directly. Paid per call, from one balance.
npx @vaaya/mcp install