Documentation navigation
Docs/Concepts/Memory model

Memory model

Learn the core memory shape: paths, domains, priority, disclosure, glossary terms, and generated views.

The memory model is path-native. Every memory lives at a stable URI and carries the metadata needed for recall and review.

Memory fields

Each useful memory should have:

FieldPurpose
URI/pathstable address such as project://my_app/deployment
contentthe durable fact, rule, decision, or workflow
disclosurewhen this memory should appear in the future
priorityhow important it is relative to other memories
glossaryaliases and terms users or agents are likely to type
historychange record for review and rollback

Paths make memory browsable. Disclosure and glossary make it recallable. Priority helps ranking but cannot substitute for good content.

Domains

DomainUse for
core://agent-wide rules, runtime-specific rules, and shared operating context
preferences://stable user preferences and durable personal context
project://project-specific facts, decisions, commands, constraints, and workflows

Keep memory focused. One memory should describe one durable topic. If a note covers several projects, runtimes, or decisions, split it.

What Lore is forLearn which facts, preferences, decisions, and rules should become durable memory.How Lore worksUnderstand the loop: boot context, recall, reading memories, writing durable changes, and review.When to use itDecide which information is worth saving and which short-lived notes can stay out of memory.Memory pathsUse stable memory paths and domains to keep memory easy to browse, link, and move.