What goes in Memex
The durable, cross-cutting context that every tool should know, and that no single repo can hold.
What follows you
Your preferences and how you like to work, decisions and the reasons behind them, corrections, people and plans, and stable background on your products and projects.
What lives with the code
Code-specific context, status updates and to-dos stay in your repo, CLAUDE.md or AGENTS.md. Agents are told to leave them out of Memex.
Three things you say
Memex is an MCP server that runs on your own Supabase project. Agents connect to it, and the instructions they follow are plain text in the repo.
Point an agent at the repo
It creates the tables, deploys the server and connects itself. You approve the steps that need an account.
One memory, every agent
An agent pushes what it knows that is worth keeping and pulls what the others learned, without duplicates. You decide, for each agent, what it may save.
Use it in your work
Search blends meaning with exact words, favors recent notes when you ask, and shows the current version of anything that was corrected.
Hands-off, if you want it
Ask any agent that can run scheduled tasks to keep you in sync. Say it once, and every morning it catches up on what your other agents saved and, if you choose, saves what it learned.
Stay current
Fetches what your other agents saved and gives you a short summary. Nothing is saved, so nothing needs approving.
Stay in sync
Your yes at setup is the standing approval. Each run it saves a few durable decisions, lessons and facts, and tells you exactly what it saved.
Built so it stays safe while you're not watching. The server itself caps an unattended run at a small number of short notes (10 by default, and you can change it), skips anything that looks like a secret, skips repeats of what it already saved (or what you retracted), and tags every note it saves. Agents are told to leave out anything taken from web pages or emails. If a save was wrong, "retract what you saved this morning" hides those notes, and only those, and they can be restored. Nothing is ever deleted.
How the pieces fit
Dreaming, if you turn it on
A nightly job reads what you saved since the last run and organizes it. It never deletes or rewrites what you wrote. Everything it changes is logged and can be undone.
- Tags, summaries and types for every memory, with relative dates like "next Friday" turned into real dates.
- Connections between memories: related, elaborates, supersedes, duplicate.
- Corrections win. When a later note corrects an earlier one, the old one is marked superseded, ranks lower in search, and the current version is shown next to it. If an agent later saves the old fact again, it is flagged as disputed and the correction is shown first.
- Overviews. When enough notes pile up about one topic, Dreaming writes a single note of the current picture: what it is, what was decided, where it stands. It's linked back to its sources and rewritten when new notes join.
- A short digest of what changed.
Your data, your keys
- Memories live in your own Supabase database. There is no Memex server run by anyone else.
- Costs are pennies a month: a small embeddings charge per memory, plus Dreaming if you turn it on.
- Anything that looks like a secret (keys, tokens, card or ID numbers) is flagged, never sent to a model, and hidden from search and sync.
- Agents are told to treat memories as evidence, never as instructions.
One thing to know: memories are sent to an embeddings provider so they can be searched by meaning, and to a model provider if you enable Dreaming. You choose the providers, and the repo says exactly what is sent.
Works with
Tested with Claude and Muse, reading and writing the same memory. Any agent that supports MCP over HTTP should work: Codex, Cursor, VS Code and others connect with a URL and a key.