CClaude Code
Codex
Loci
plan.md
active.md
decisions/
tasks/
projects/
me/
inbox.md
references/
archive/
什么是 LociWhat is Loci

不是又一个笔记软件 —
是给 agent 用的记忆层
Not another notes app —
a memory layer for agents.

本地优先的结构化记忆。把 Loci 翻过来看 —— 五个侧面,点一下,每一面都亮起来。 Local-first structured memory. Turn Loci over and look — five facets, one click each, every side lights up.

01 · Remembers you 记住你
让你的 AI 真正记住你Your AI finally remembers you
无论 Claude Code、Codex 还是任何 agent —— 聊着聊着,它就在你无感之中,把对话沉淀成你的记忆。Claude Code, Codex, or any agent — as you talk, it quietly distills the conversation into your memory.
  • 不用复制粘贴、不用喊“记一下”,自动沉淀No copy-paste, no “save this” — it just settles in
  • 任何 agent 都接得上同一份记忆Any agent plugs into the same memory
  • 下次打开,它还记得你是谁、在做什么、项目进展到哪Next time, it still knows who you are, what you're working on, and where your project stands
下周三跟 Sarah 过一遍 v2 路线图walk Sarah through the v2 roadmap next Wed
好。我们先支持 Claude Code 和 Codex对吧?Got it. We're backing Claude Code + Codex first, right?
对,本地优先。链接也存一下。Yes, local-first. Save that link too.
memory.md
# Roadmap v2
decision: Claude Code + Codex first
task: review w/ Sarah · Wed
ref: local-first.md
01

02

03

04

05

06

07

08

Overview
Tasks
People
Journal
Projects
Memory
Notes
Fragments
1 / 8

整理今天的记忆Organize today's memory
由对话触发 · agent 自动规划 7 步Triggered by conversation · agent auto-planned 7 steps
4 / 7 完成done
扫描今天的对话与改动Scan today's conversations and changes
3 个来源 · 38 条片段3 sources · 38 fragments已读完read
done
读取 Claude Code 会话Read Claude Code sessions
读取 Codex 会话(共享同一大脑)Read Codex sessions (same shared brain)
diff 今天改动的项目文件Diff project files changed today
蒸馏成结构化条目Distill into structured entries
38 条 → 9 条38 → 9 entries去重 / 归类完成deduped / categorized
done
把条目路由到正确的位置Route entries to the right place
3 / 5 已落位3 / 5 placed写入中writing
running
「明天 9 点发路演材料」→ 任务 + 日程"Send pitch deck at 9am tomorrow" → task + calendar
tasks.json · calendar.json
「黑客松决定用 PostgreSQL」→ 项目决策"Hackathon chose PostgreSQL" → project decision
loci/.loci/decisions/
「这篇 agent UI 文章不错」→ 收藏夹"This agent UI article is great" → references
references/ · 抓取标题中…fetching title…
「想做个移动端」→ 随手记"Want to build a mobile app" → inbox
更新「黑客松」项目记忆的当前状态Update the current state of the "Hackathon" project memory
追加一行到活动账本Append a line to the activity ledger
等上一步完成waiting on previous step
待办todo
同步到「内容工作室」项目索引Sync to the "CYC Brainstorm" project index
仓库路径未解析到repo path not resolved
完成后会给你一句话小结,不打断你手头的事。When done, you'll get a one-line summary — without interrupting what you're doing.
从一句话到落位From a spoken line to its place distill → route 处理中processing
1 条消息 · 3 道闸门 · 8 个去处1 message · 3 gates · 8 destinations
原始片段Raw fragments
对话 · 14:32chat · 14:32
"明天上午九点要把路演材料发给评委,别忘了。""Don't forget — send the pitch deck to the judges at 9am tomorrow."
对话 · 14:36chat · 14:36
"我们黑客松后端就用 PostgreSQL 吧,Mongo 那套不熟。""Let's use PostgreSQL for the hackathon backend — not familiar with Mongo."
对话 · 14:41chat · 14:41
"这篇讲 agent 计划 UI 的文章挺好,以后能用上。""This article on agent plan UI is great — could come in handy later."
Distill
三道闸门Three gates
1
先回答用户Answer first
永远不打断对话Never interrupt the reply
2
有可存信号吗Any signal to save?
没有信号就不存No signal, no save
3
确定就存,敏感先问Save if sure, ask if sensitive
3 条已分流 · 0 条待确认3 routed · 0 to confirm
落到正确的文件Lands in the right file
tasks/tasks.json
任务Task
要完成 · 有状态To complete · has status
明天 09:00 发路演材料Send pitch deck tmrw 09:00
calendar.json
时间块Time block
占用某个时间点Occupies a moment
同一条任务两边都写Same task, written both
.loci/decisions/
项目决策Decision
一次权衡 · 选 X 不选 YA trade-off · X not Y
黑客松后端选 PostgreSQLBackend: PostgreSQL
references/
收藏夹References
值得留存的外部材料External keep-for-later
Agent Plan UI 设计参考Agent Plan UI reference
me/
关于我About me
身份 / 偏好 / 目标Identity / prefs / goals
people/
People
合作者 / 客户 / 联系人Collaborator / client / contact
inbox.md
念头碎片Fragment
还不能执行Not yet actionable
repo · .loci/
严肃项目Serious project
用户认可 · AI 自动建User approves · AI auto-builds
fromTask + taskId 有时间的任务两边都写 · active.md 由 server.js 只读生成 A timed task writes BOTH · active.md is a read-only view from server.js
[decision] / [insight] / [milestone] 上浮大脑surface to brain [local] / [debug] / [wip] 留在本地stay local
全部自动路由All auto-routed

1

$npx create-loci推荐recommended
$git clone … && ./setup.sh
2

$node .loci/dashboard/server.js
localhost:8765浏览器打开in browser
Loci onboarding — pick your language and open the dashboard
3

日程Schedule "明天下午 3 点跟投资人开会""Meeting with the investor 3pm tomorrow"
待办To-do "提醒我这周把 logo 交了""Remind me to ship the logo this week"
项目Project "记住这个项目,以后帮我跟进""Remember this project and track it for me"
决策Decision "存储我们定了用 PostgreSQL,别用 Mongo""We're going with PostgreSQL, not Mongo"
收藏Save a link "这篇 agent UI 文章不错,存一下""This article on agent UIs is great — save it"
想法An idea "突然想到一个增长点子,记一下""Just had a growth idea — jot it down"

说就行,Loci 自动判断该归到哪、写进对应文件 —— 你不用记着去存。Just say it. Loci figures out where each one belongs and files it — you never have to remember to save.

记忆术 · 公元前 477 年The art of memory · 477 BC