Mem: create, search and organize notes and collections, and read the tasks, projects and follow-ups Mem derives.
Mem ships in the w6w first-party pack. It declares 26 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.
io.w6w.memMem is an AI note-taking workspace. This app drives its v2 API from a workflow.
Create, read, replace, trash, restore and permanently delete notes (markdown, first line is the title); search them by relevance, including content attached to them; find related notes; organize them into collections; hand raw text to Mem It and let Mem file it; and read the tasks, projects and follow-ups Mem extracts from your notes.
A Mem API key acts as its owner on all of their notes. The legacy v0/v1 routes and calendar, session, audio and agent endpoints are not part of this app.
Three routes to the same 26 actions. The Workflow tab is generated from Mem's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.
collection-delete Delete a collection. Mem's reference does not say what happens to the notes in it.
collection-remove-note Unlink a note from a collection. The note itself is kept.
collection-update Change a collection's title and/or description. Fields left empty are not sent.
follow-up-get Fetch one follow-up. The vendor wraps it as {follow_up}; this action returns the follow-up itself.
follow-up-list List follow-ups Mem has recorded, optionally by status, task or project.
mem-it Hand Mem raw text (a transcript, an email, a web clip) and let it decide what to save and how to organize it. The response is only an acknowledgement; the resulting notes appear asynchronously. Costs 40 complexity tokens of Mem's 200-per-minute budget.
note-create Create a note from markdown. The first line of the content becomes the title. Optionally link it to collections by ID or by exact (case-insensitive) title.
note-delete Permanently delete a note. This cannot be undone; use Trash Note for a recoverable removal.
note-extended-search Search notes and the content attached to them (PDF, images, audio recordings, calendar events, emails), with relevance or date sorting and a cursor.
note-get Fetch one note with its full markdown content and current version (needed by Update Note). A trashed note is returned with trashed_at set.
note-list List notes with cursor pagination, newest-updated first by default. Optionally filter by collection, date range and content kind, and include full markdown content.
note-related-list Find notes related to a given note, with a similarity score and the collections each belongs to.
note-restore Restore a trashed note. A note removed with Delete Note cannot be restored.
note-search Relevance-ranked search over notes by a text query, with collection, date and content-kind filters. Paged by offset; pass snapshotId back to keep paging a stable result set.
note-update Replace a note's whole markdown body. Needs the exact version the edit is based on (from Get Note or the last write); a stale version is rejected by Mem. A trashed note must be restored first.
A workflow step names the app and the action, and the editor fills in the
connection when you pick one. This is the Step shape from the
workflow spec, carrying Mem's real ids.
{
"manifestVersion": "2",
"name": "mem-example",
"steps": [
{
"id": "collection-add-note",
"uses": {
"app": "io.w6w.mem",
"action": "collection-add-note",
"connection": "conn_YOUR_CONNECTION_ID"
},
"with": {
"collection_id": "<collection_id>",
"note_id": "<note_id>"
}
}
]
}collection-add-note collection-create collection-get collection-list collection-move-note +21 more actions available
Every app-specific value here is a blank you have to fill in. An
app action is reached through the connection that authenticates it, so the
address is a connection id, not the app id — and connections belong to your account,
so a public page cannot know yours. Create one for Mem, then fill in
the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the
parameters that action declares. The call itself is real — the shape is transcribed
from the studio's own snippet builder, which prints the same kind of blanks — but
nothing in it is specific to Mem. The Workflow tab is where this app's
real ids are.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { W6wClient, isActionRun } from "@w6w/sdk";
// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();
const envelope = await client.run({
urn: "conn_YOUR_CONNECTION_ID",
action: "collection-add-note",
payload: {
collection_id: "<value>",
note_id: "<value>",
},
});
if (isActionRun(envelope)) console.log(envelope.value); npm install -g @w6w/cli w6w run conn_YOUR_CONNECTION_ID --action collection-add-note --payload '{"collection_id":"<value>","note_id":"<value>"}' Give an AI agent Mem — without giving it Mem's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.
One tool call{
"name": "w6w_invoke",
"arguments": {
"ref": "app:io.w6w.mem#collection-add-note",
"input": {
"collection_id": "<collection_id>",
"note_id": "<note_id>"
}
}
}
Every tool names its target with a single ref. The
app: form above doesn't name a connection at all — the
host resolves which of the caller's Mem connections to sign
with, and refuses rather than guesses when the answer is ambiguous.
The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.
Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.
Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.
Mem's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.
The MCP surface is part of the hosted platform. Mem itself is MIT, and the runtime that executes it is source-available (FSL).
Mem declares its own checks, so its health is a property of the app rather than something the host guesses at.
The 'API' component of status.mem.ai. Unauthenticated and unsigned.