Reef
me.reefwith由 reefwith.me 发布官方发布者v1.0.1更新于 Oct 24, 2026
Shared, living memory for you and your people — coves your AI assistant can read and write.
概览
Reef 是一个仅限邀请的远程共享记忆服务,让 AI 助手在多次对话之间读写按权限划分的“cove”记忆空间。
- 可以做什么
- 加载助手可见页面的索引,含路径、标题、标签和一句话描述
- 按路径读取指定页面,并在页面正文内搜索,遵循同样的访问规则
- 把值得保留的事实暂存为带日期的收件箱条目,再整理成正式页面并标出过时或矛盾的内容
- 写入并版本化页面,附带说明上传文件
- 在展示确切文本和可读者名单后,把内容移入共享 cove
- 适用场景
- 适合希望助手在不同对话之间记住事实,或与伴侣、家庭、小型项目、客户共享一份刻意整理、经过筛选的记忆,而不必每次重新交代背景的场景。
- 运行要求
- 需要把服务商的远程 MCP 连接器添加到 Claude、ChatGPT 桌面版或 Codex 等客户端。必须持有邀请,并用受邀邮箱通过 OAuth 登录。另有可选的 Python 与 Node.js 命令行包,可通过环境变量指定其他服务器地址或无头访问令牌。
安装
在 SourceWeft 中
- 打开 控制台中的 Reef,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/me.reefwith%2Freef/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"reef": {
"type": "http",
"url": "https://reefwith.me/mcp"
}
}
}README
reef
Shared, living memory for you and the people you share your life with — and for the AI assistants you both already use.
[PyPI] [npm] [Python] [MCP] [Live]
Your assistant forgets you between conversations. reef gives it a memory that lasts — and one your partner, your household, or your project can share.
- Ask once. Tell your assistant the boiler is a Vaillant. Next month, in a different conversation, it still knows.
- Share on purpose. Your private notes stay private. A shared cove holds only what you deliberately put there.
- Bring your own assistant. Claude, ChatGPT desktop, or Codex. reef is a remote MCP connector, not another chat app.
Try it
You need an invitation — reef is invite-only. Once you have one:
To use it from an assistant instead, add https://reefwith.me/mcp as a remote
MCP connector and sign in with the address you were invited on.
In Claude Code, the plugin carries that connector and three commands with it:
/reef:recall answers from memory rather than from guesswork,
/reef:remember files something away, and /reef:whats-new reports what the
other people's assistants have been writing.
There is a browser app too, at reefwith.me/app. Use it to read and edit pages without an assistant.
How memory is organised
Memory lives in coves. You get one private cove the first time you sign in. You can create any number of shared ones — a household, a school circle, an accountant, a small project.
You name shared coves for yourself. Your name for a cove is yours alone.
Two households can each have a family without either knowing the other
exists, and nobody can take a name from anybody else.
Sharing is deliberate and permanent. Moving something out of your private cove takes two steps. First your assistant shows you the exact text and names everyone who will be able to read it. Only then does it move.
Writing private content into a shared cove any other way is refused — not discouraged, refused. And there is no un-sharing.
How your assistant reads it
reef loads an index first, then pages — the LLM Wiki pattern, adapted for shared, permissioned memory.
- The assistant calls
load_indexand gets a map of every page it may see: path, title, tags, and a one-line description. No page bodies. - It reads the map, decides what this conversation needs, and fetches only
that with
read_pages. - It fetches again as the topic moves. When the map alone cannot settle
what to read,
search_pagesmatches words inside page bodies — and because it runs under the same row-level security as every read, a search can never surface a page its caller could not open.
The index is rebuilt from the database on every call, so it cannot fall out of date.
How your assistant writes it
Nothing is recorded silently. Mid-conversation, a fact worth keeping goes
through remember, which stages it as a dated line in that cove's inbox —
and before the conversation ends, the assistant says what it is keeping so
you can strike anything first.
An inbox entry is not memory yet. A tidy-up — ask for one any time — compiles inboxes onto real pages, flags pages that have gone stale, and surfaces contradictions between your pages and shared ones instead of silently picking a winner. Deliberate capture, reviewed by you, is the design: reef will not transcribe your conversations behind your back.
How your privacy is protected
The database enforces it, not the application code.
Every page, file, and membership is guarded by PostgreSQL Row-Level Security. A query with a forgotten filter returns nothing rather than somebody else's data. Getting it wrong fails closed.
This works only because the app connects as an ordinary database role. A
superuser ignores every policy, so reef runs as rif_app — which can read and
write rows but cannot change the schema. Migrations and backups use a separate,
more privileged credential. See
scripts/provision_app_role.py.
Your data stays yours
Pages are Markdown from the moment you write them. The web app exports:
- current content, as a Markdown archive or JSON, and
- everything, as one download with full revision history and your stored file bytes.
Both are plain files that outlive this deployment. Export is one-way, out of reef — nothing here locks your memory in.
Using the CLI
Two packages, both installing a reef command:
Named commands use hyphens: load_index becomes load-index. Every result is
JSON, and an error such as not_found also exits non-zero.
reef call takes any MCP tool name and a JSON object, so it reaches everything
the named commands do. Large inputs can come from a file or stdin; uploads are
encoded for you.
Both packages sign in through the same browser flow. Each caches its own token, so logging in with one does not log in the other. Tokens live in a user-private config file.
Set REEF_MCP_URL to point at another server, or REEF_ACCESS_TOKEN for a
headless run.
Run reef tools for the live schemas, and reef <command> --help for
arguments.
Agent skill: skills/reef/SKILL.md teaches an
assistant the retrieval protocol, private-by-default writing, optimistic
locking, and when it must ask you before acting.
Status
Live since 6 August 2026 at reefwith.me, deployed on Railway behind WorkOS AuthKit, and in daily use.
Complete and reviewed: the schema and access control, index and page reads, versioned writes, and section-level sharing. Also multi-user coves with owner-managed invitations, file storage, the browser app, import, backup, and export.
Tests run against a real PostgreSQL, not a mock.
Known gaps, honestly:
- Few people are on it. Growth is one invitation at a time, by design.
- The context ceiling has not been measured on a phone.
An independent scheduled job now writes a daily pg_dump to R2. Every run
observed from 24 August through 10 September 2026 uploaded successfully and
passed the script's byte-count check. Separately, a 7 August production dump
passed a restore drill. Railway-managed backup status and R2 retention
controls remain unverified.
Everything outstanding is tracked in the "Open items" list at the top of
docs/runbook.md.
Development
You need Docker and uv. just is optional but does the setup for you.
just on its own lists every task. Without it:
A cluster created before the test roles existed is missing them, and the suite
says so loudly rather than testing a weaker shape. just db-roles repairs it.
Two things about the local database are deliberate, not accidental:
- It does not run the app as a superuser. A superuser ignores Row-Level
Security, so the security tests would pass without proving anything. See the
comment in
docker-compose.yml. - It creates a separate non-owner role for tests. A table's owner is not bound by column grants. Without that role, a test asserting "a member cannot rename a cove" would pass for the wrong reason.
Migrations seed one person and their coves. Nobody else is seeded, on purpose. An email address is the key a first sign-in binds against, and a migration does not re-run to correct a wrong guess. Everyone else arrives by invitation.
Write your PR title as a Conventional Commit (PRs are squash-merged, so the
title is what decides the release version), and add a one-sentence fragment
under changes/ if a person using reef would notice the change — see
docs/releasing.md.
Documentation
Licence
The server — everything at the repository root — is AGPL-3.0-or-later. Read it, run it for yourself, fork it. The one condition that bites is the network one: if you run a modified reef as a service other people use, you owe them your changes. That matches what reef asks of itself. If somebody else is holding your memory, you should be able to see the code that holds it.
The parts you install rather than host are MIT, because a licence should not be a reason to hesitate over a client:
Copyright is held by Haai BV.
A note on the name
The product is reef, and so is the Python module. rif was the working
name, and it survived far longer than intended.
What is still called rif is everything a running system remembers, because
those are not names anybody reads — they are keys something already wrote
down:
The rule, if you are adding something: if the database or the deployment
will remember the name, it is rif. If a person will read it, it is reef.
来源:README.md,提交 4cba886
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分