FishMem

Quickstart

Write and recall your first memory.

The fastest path is the hosted API, which is mem0-compatible — point an existing mem0 client at FishMem, or call the REST endpoints directly.

1. Get an API key

Create a project key in the dashboard. Keep it server-side; it looks like fm_....

2. Add a memory

curl https://fishmem.com/v1/memories \
  -H "Authorization: Bearer fm_..." \
  -H "Content-Type: application/json" \
  -d '{
    "messages": [{"role": "user", "content": "I prefer dark mode and write TypeScript."}],
    "user_id": "alex"
  }'

FishMem extracts the durable facts from the message rather than storing the raw text.

3. Search it back

curl https://fishmem.com/v1/memories/search \
  -H "Authorization: Bearer fm_..." \
  -H "Content-Type: application/json" \
  -d '{"query": "what does alex like?", "user_id": "alex", "top_k": 5}'

That's the whole loop: add during a conversation, search before you answer. Next, see how scoping keeps memories isolated per user and agent.

On this page