Make your agent feed meemoo
An agent is more useful when what it learns isn’t lost when the conversation ends. These patterns work the same with
the API (POST /v1/memories) and with MCP (remember).
1. Save what lasts, with its source
Section titled “1. Save what lasts, with its source”Worth saving: a decision, a commitment or promise, a preference, a new person and who they are, an outcome, a date to
remember. Always send source: which app it came from (source.app), the link if there is one (source.url) and when
it happened (source.occurredAt). It goes into the memory’s footer.
curl -X POST "https://meemoo.tech/api/v1/memories?wait=true" \ -H "Authorization: Bearer $MEEMOO_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "kind": "notebook", "notebookKind": "thought", "title": "Billing with Stripe", "content": "We decided to bill with Stripe starting in December.", "links": [{ "ref": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815" }], "source": { "app": "Slack", "url": "https://acme.slack.com/archives/C01/p1731600000", "occurredAt": "2026-11-14T15:00:00Z" } }'const res = await fetch("https://meemoo.tech/api/v1/memories?wait=true", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEEMOO_TOKEN}`, "Content-Type": "application/json", }, body: JSON.stringify({ kind: "notebook", notebookKind: "thought", title: "Billing with Stripe", content: "We decided to bill with Stripe starting in December.", links: [{ ref: "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815" }], source: { app: "Slack", url: "https://acme.slack.com/archives/C01/p1731600000", occurredAt: "2026-11-14T15:00:00Z" }, }),});const memory = await res.json();import osimport requests
res = requests.post( "https://meemoo.tech/api/v1/memories", params={"wait": "true"}, headers={"Authorization": f"Bearer {os.environ['MEEMOO_TOKEN']}"}, json={ "kind": "notebook", "notebookKind": "thought", "title": "Billing with Stripe", "content": "We decided to bill with Stripe starting in December.", "links": [{"ref": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815"}], "source": {"app": "Slack", "url": "https://acme.slack.com/archives/C01/p1731600000", "occurredAt": "2026-11-14T15:00:00Z"}, },)memory = res.json()2. Search before writing, and add with about
Section titled “2. Search before writing, and add with about”If the fact is about something that already exists, add it there. Search for it first (search);
if it shows up, send its ref in about:
{ "about": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40", "content": "Juan prefers calls before 10 am.", "source": { "app": "Gmail" } }Even if you don’t search, meemoo doesn’t duplicate projects, notebooks, trips or events with the same name, and it merges people by name, alias or email. Searching first lets you pick the right item. See How your writes are organized.
3. People, with their profile
Section titled “3. People, with their profile”For a new person, use kind: "person" with their name in title and what you know in content. Labeled lines fill in
their profile:
{ "kind": "person", "title": "Juan Pérez", "content": "CTO at Acme. Met him at the Bogotá trade fair.\nCompany: Acme\nRole: CTO\nCity: Bogotá\njuan@acme.com", "source": { "app": "Gmail" } }A WhatsApp group or a Slack channel is not a person: it’s a chat group (kind: "group"). meemoo creates the ones from
the chats the person follows on its own, with their members. What someone said in a group is saved on that person, not
on the group.
4. Tasks where they belong
Section titled “4. Tasks where they belong”A task needs in: the project, trip or event it goes into. With due (and dueTime) it starts with a date. Use
links to connect it to the person it involves:
{ "kind": "task", "title": "Call Juan", "content": "Confirm the proposal.", "in": "project:0b7e4a52-3c19-4d8f-a6e2-91f4c7d3b815", "due": "2026-12-01", "dueTime": "09:30", "links": [{ "ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40" }] }5. Events: one idempotency key per event
Section titled “5. Events: one idempotency key per event”If your agent reads events from another system (emails, tickets, messages) and may read the same one again, send an
idempotencyKey derived from the event’s id at its source (for example gmail:<message-id>). Sending the same key twice
returns the same memory instead of duplicating it. On POST /v1/memories the Idempotency-Key header works too.
6. Many at once: the batch
Section titled “6. Many at once: the batch”To load many memories, use POST /v1/memories/batch: up to 50 per call, each with its
idempotencyKey. Everything is validated before saving: if one is wrong, it returns 400 saying which
(memories[3]: …) and saves none. Fix it and send the whole batch again; the keys prevent duplicates. Each memory counts
as one write for the day.
7. What not to save
Section titled “7. What not to save”Don’t save small talk, things that are only true for a few minutes, or passwords, API keys, card numbers or other secrets. The Cerebro is memory, not a vault.