Connections
Cerebro items connect to each other. A connection says what the relationship is, not just that there is one: “Juan Pérez is a client of Acme Web” helps an agent; “Juan Pérez, related, Acme Web” barely does.
What a connection looks like
Section titled “What a connection looks like”GET /v1/items/{ref} returns the item’s connections in relations (up to 60, newest first):
"relations": [ { "verb": "requested", "direction": "in", "ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40", "type": "person", "title": "Juan Pérez", "createdBy": "agent" }, { "verb": null, "direction": "in", "ref": "notebook:9e2b5d71-4a8c-4e3f-b6d0-2c7a1f5e8b93", "type": "notebook", "title": "Volume pricing", "createdBy": "user" }]| Field | Meaning |
|---|---|
verb |
The verb key (requested, client_of, works_on…). Can be null: the connection exists and the Cerebro hasn’t given it a verb yet. |
direction |
out if it goes from the item you are reading to the other one; in if it comes from the other one. |
ref, type, title |
The other item. |
createdBy |
user (the person) or agent (the Cerebro or an external agent). |
A person being in a chat group isn’t a connection: it comes separately, in the group’s fields.members and in the
person’s fields.groups (GET /v1/items/{ref}). A group does connect with other items like any
other, in relations and with links.
The verb vocabulary
Section titled “The verb vocabulary”Verbs are a closed vocabulary. Read it with GET /v1/verbs: each verb has its key, its Spanish
(es) and English (en) name, and the type pairs it can join (pairs, each with from and to).
{ "verb": "client_of", "es": "es cliente de", "en": "is a client of", "pairs": [ { "from": ["person"], "to": ["project", "subproject"] }, { "from": ["person"], "to": ["person"] } ] }Between two people, works_with is only for the same company. With someone from another company, say what they are:
client_of (they buy from or hire the other), prospect_of (still an offer), supplier_of, advisor_of,
collaborates_with (they share work and neither sells to the other), partner_of, investor_of, mentor_of,
recruiter_of or worked_with (former colleagues). They read from from to to: in client_of, the client is from.
Between a person and a project, the verb says how far the deal has gone: contact_of (“is a contact for”: they have
only been written to and haven’t replied), prospect_of (the work was offered and they replied) or client_of (they
already bought or hired). On its own, meemoo never sets a stronger verb than the emails show: someone who hasn’t replied
is not left as a client or a prospect. You can still set whichever you know to be true.
The vocabulary can grow: the meemoo team edits it. Read it instead of hard-coding it.
Connecting when you write
Section titled “Connecting when you write”When you save a memory with POST /v1/memories (or remember over MCP) you can ask for up to 8
connections in links:
"links": [ { "ref": "person:6f1d2c3a-8b4e-4f7a-9c21-5d8e7a1b3c40", "verb": "related_to" } ]- The connection is stored in the direction the verb reads (with
requested, the person requested the task), whichever of the two is new. Without a verb, it goes from the new item to theref. - The verb is optional. A verb that isn’t in the vocabulary returns 400.
- A verb that exists but doesn’t join those two types is saved without a verb, and the Cerebro picks the right one later.
- Every
refinlinksmust exist and be yours; otherwise 404.
Besides what you ask for, the Cerebro connects the new item to what it mentions on its own, like everything else. See How your writes are organized.