01Boot
Same start, every session
A fixed baseline loads first: workflow rules, persona, your preferences and notes for this runtime.
Long-term memory for Claude Code, Codex, OpenCode and every agent you run. Your rules load at session start, and the right memories arrive before every reply.
Works natively with
Every agent keeps its own instruction file. Copy a rule into five of them and it stops being one rule. Lore keeps each memory once, with an address and a trigger, and hands every agent only what the moment needs.
How it works
Hooks and plugins run them for you. The agent needs no extra instructions to remember.
01Boot
A fixed baseline loads first: workflow rules, persona, your preferences and notes for this runtime.
02Recall
Before each reply, Lore scores memories against the prompt. At most three get in, and anything under 0.60 is dropped.
03Read
Recall hands over addresses. The agent opens the node it needs, and Lore records which recalls were actually used.
04Write back
What should last goes back into the graph. Every change lands in history with a diff.
If Lore is unreachable, plugins fail open and agents keep working.
Memory
Each memory has an address, a priority, a trigger for when it applies, and a body you can read like a spec.
When changing refund or payment webhooks in checkout-api
refund webhookidempotency keystripe
Refund webhooks are idempotent by event.id. Tests must replay the same event twice and assert a single refund row.
Dream
Dream runs at night. It merges duplicates, sharpens vague triggers and moves drifting paths back. Everything lands in a diary you review, and the latest run can be rolled back.
Merged 2 duplicates intoproject://checkout_api/testing
Sharpened the trigger onpreferences://user/writing
Moved a drifting path toproject://checkout_api/webhooks
every night
keeps 7, disk or WebDAV
lower scores are dropped
memories at most
SkillsLoremem Cloud
Write a skill once as a SKILL.md package. Agents see the list at session start and load the one a task needs, or you call it by name.
Agents see names and descriptions. Nothing downloads yet.
lore_skill_get fetches the package into ~/.lore/skills.
Type $release-notes and Lore loads it for that request.
Write release notes from merged pull requests
Replay Stripe events against the sandbox
Plan and run schema migrations safely
›$release-notes for 2.4
⏺ lore_skill_get(release-notes)
⎿ Loaded release-notes v3
Agents
Install once with npx @loremem/cli. It finds the runtimes on your machine and wires each one in natively.
Deploy
FAQ
Plugins fail open. Agents keep working, without recall, until Lore is back.
No. Boot and recall run through hooks and plugins, so you work the way you already do.
A fixed baseline: core://agent, core://soul, preferences://user and core://agent/<runtime>. Everything else is recalled per prompt.
Yes. The latest Dream run can be rolled back, and every node keeps its history with diffs.
Yes. Search uses the pg_jieba tokenizer, and the console is bilingual.
Create a token, run one command, and every agent you use reads and writes the same graph.