LOAM
Memory that accumulates, instead of disappearing between sessions.
A queryable, RDF-based memory layer for AI agents: session history, entities, tasks, execution traces, and preferences, kept as Linked Data.
LOAM (Linked Open Agent Memory) is a queryable behavioral contract for AI agents, encoded in RDF-Turtle. It defines how an agent retrieves and applies standing instructions, with RDF memory files serving as the authoritative source — so prior interactions become reusable, machine-computable context that any agent or LLM can pick up.
An entity relationship graph collective
The memory is a collection of linked graphs rather than a transcript. Because each fact is RDF with a hyperlink identifier, it can be queried with SPARQL, joined to enterprise data, and reused by an agent that never saw the original conversation.
Further domain-specific graphs can be added for any field of work.
Load, select, apply, record
core.ttl, preferences.ttl, the optional local-only private overlay, ontology.ttl, and index.ttl.A folder of Turtle files
The memory is plain files, so it can be read, versioned, and diffed like any other source. Each name below opens the file or folder in the repository. The files can also be loaded into Virtuoso and queried over SPARQL.
| Memory file or folder | Holds |
|---|---|
core.ttl | User identity, agent identity template, and output-routing requirements |
preferences.ttl | The public-safe hub: standing instructions as HowTo steps, grouped by topic |
preferences.private.ttl | An optional local-only overlay whose assertions override the public defaults. It is never published; start from preferences.private.example.ttl |
ontology.ttl | Vocabulary: prompt intents, retrieval policies, and context-routing rules |
index.ttl | A session index: one entry per session |
howto/ | Companion specifications, one per sub-HowTo, linked from preferences.ttl |
sessions/ | Episodic memory: one Turtle file per day, model, and agent environment |
entities/ | The people, organizations, tools, and concepts the work mentions |
scripts/ | Validation and utility tools, including the memory-protocol and session-record gates |
Documentation and tools
| File | Holds |
|---|---|
README.md | Folder structure, the retrieval protocol, and the sub-HowTo map |
AGENTS.md | The retrieval sequence an agent runs before it acts, step by step |
SESSION-START-HOOK.md | How the memory is loaded automatically when a session starts |
load_memory.py | The loader: prefers SPARQL context selection and falls back to reading the files |
The Recall and Enrich steps
VOICE pairs Virtuoso’s federated access with OPAL’s orchestration. LOAM is what lets the next agent session start from what the last one learned: it supplies the Recall step, preserving findings, relationships, and provenance, and the Enrich step, folding new results back into persistent context.
- Portable. The context is not tied to one LLM’s conversation history, so models and agent frameworks can change without losing it.
- Auditable. Execution traces and provenance are recorded as data, not buried in chat logs.
- Governed. Public rules and a local-only private overlay are kept apart, so what is shared is a deliberate choice.
Start from the repository
Knowledge that compounds
Give every agent session the context the last one earned.