vaaya / tools / mem0 / add

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 install

Parameters

ParamTypeWhat
messages requiredobject[]
user_id requiredstring
inferboolean
metadataobject

Call it

In a connected MCP client, pass the service, action, and inputs to use:

{
  "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}'

Service details

Call

mem0/add

Price

1¢. Provider errors are not charged.

Category

Storage

Provider

Mem0 · mem0.ai

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

Try this action.

Use the example above in your application, or connect an agent and describe the task. Charges appear in your Vaaya account.

npx @vaaya/mcp install