Lore

What is Lore

Lore gives your AI agents one shared long-term memory: a stable baseline at session start and the right memories before every reply.

Rules copied across CLAUDE.md, AGENTS.md, and plugin prompts drift out of sync, and each copy goes stale on its own. What one agent learns stays locked in its own chat, so the next agent has to learn it again.

What Lore does

Every connected agent runs the same loop:

  1. Boot. At session start, Lore sends a fixed baseline: shared workflow rules, the persona, your stable preferences, and the rules for the current runtime.
  2. Recall. Before each prompt, Lore adds a short <recall> block with the memories that might matter.
  3. Read before trust. A recall line is a lead, not a fact. The agent opens the node with lore_get_node before it relies on the content.
  4. Write back. When the agent learns a durable fact, it saves the fact as a memory node with the memory tools.
  5. Dream. On a schedule (03:00 by default), Dream reviews the memory graph, fixes duplicates and vague triggers, and records every change.

Per-node history and backups make these changes reversible.

Key ideas

ConceptWhat it meansRead more
Memory node and pathA plain-text memory with a stable address, such as project://checkout_api/webhooks.Memory model
BootThe fixed baseline Lore sends at session start.How Lore works
RecallCandidate memories that match the current prompt.How recall works
Disclosure and glossaryWhen a memory should surface, and the words that point to it.Disclosure and glossary
PriorityAn integer rank: 0 for core identity, 1 for key facts, 2 and up for general memories.Priority
DreamScheduled maintenance that keeps the memory graph clean.Dream
Skills (Cloud)Reusable instruction packages that agents load when they are relevant.Skills

Two ways to run Lore

Both options use the same agent plugins. The installer connects your agents to whichever server you choose.

Loremem CloudSelf-hosted
Who runs itLoremem, at https://app.loremem.comYou, on your own machine or server
SetupSign in, create a token, and run the prefilled install commandRun npx @loremem/cli, choose Docker, then finish setup at /setup
ModelsPreconfigured. Choose an embedding profile and a runtime LLM profile in Settings → Models. No API keys neededBring your own OpenAI-compatible embedding endpoint and a chat model for View LLM
SkillsYesNo
Where data livesLoremem's hosted serviceYour machine or server
CostFree plan. Sign in with GitHub or GoogleFree and open source (MIT). You pay for your host and any model APIs you use

Note

You can move a self-hosted memory to Loremem Cloud later by importing a backup. See Import a self-hosted backup.

Where to go next