Agent ArchitectureMemory Layer
The layer agents are missing

Memory is a layer.
Not a bigger context window.

Graphs, LLM wikis, gBrain, RAG — that is the data layer.
Memory is a different thing, and an agent needs both kept apart.

data layer
memory layer
audit & permission
theta profile
Jaegyu Lee

Jaegyu Lee · Q00
Ouroboros maintainer

First principleSeparation
Why they must split

The data layer and the memory layer
are not the same layer

The data layer stores what is true. The memory layer decides what to do with it,
shaped to the input in front of the agent right now.

Data layer

What is true

  • Graph, LLM wiki, gBrain, RAG
  • Retrieval, indexing, ground truth
  • Shared, durable, queryable by anyone
Memory layer

What to do with it

  • A conclusion fit to this input, now
  • Per-agent judgment, not a lookup
  • Personal, situational, decaying over time
A common mistakeMore ≠ better
The inbox trap

Handing an agent your whole inbox
does not make it work better

More data in context is not more competence.
An agent drowning in your mailbox is still a new hire — it reads everything and concludes nothing.

Whole inbox more tokens same shallow answer

The problem is not access to data. It is the absence of a layer that turns data into a decision.

What actually helpsSkills · RAG · Memory
The real requirement

Not a skill that forces a flow.
Not RAG that dumps data. Memory that concludes.

To do good work an agent needs to read the situation and commit to a conclusion —
matched to the input, not to a fixed script or a pile of retrieved chunks.

Skills

Force a flow

Good for guardrails. But a fixed path can’t bend to a situation it didn’t anticipate.

RAG · Data

Retrieve facts

Brings the right chunks. Still hands you raw material, not a decision.

Memory

Reach a conclusion

Reads this input against past judgment and decides what to do next, here, now.

Industry signalThe race is on
Where the field is moving

Everyone is racing toward
the memory layer

The frontier labs have already moved past retrieval.
The open question is no longer “what do we store” but “how does an agent remember.”

San Francisco

Memory tuned for pull

Building memory systems shaped to pull harder on FOMO — engagement as the design target.

Meta

Store the intent

Saving why the data was made, to make recall efficient — a vision for agentic memory beyond the developer’s lens.

Reality today

Still entangled

In most stacks the data layer and the agent layer are not cleanly separated yet.

Enterprise · 1Audit & permission
Requirement one

Every request needs an audit
of who is allowed to ask

An enterprise agent must know the caller’s authority before it answers.
A line employee can ask the CEO agent a confidential question — the response and the file search must be scoped to their permission.

Request Who is asking? Scope answer + file search Respond

Permission is not a wrapper around the agent. It is a gate inside every retrieval and every answer.

Enterprise · 2Agent-facing docs
Requirement two

A Notion for agents
does not need CRDT

CRDT solves humans editing the same doc at the same time.
Agents don’t need that. They need to produce clean markdown and HTML, with permission management on top. That’s the whole spec.

Built for humans

CRDT & live cursors

  • Real-time concurrent editing
  • Conflict-free merge machinery
  • Heavy, and beside the point for agents
Built for agents

Markdown + HTML + ACL

  • Generate clean markdown and HTML well
  • Permission management on every doc
  • Nothing more — that is the product
Enterprise · 3Memory architecture
Requirement three · the research layer

Short-term → hippocampus → long-term

The hippocampus runs a memory advisory; long-term holds a theta profile.
A time axis tells the agent how it grew — injected as first-class memory so it knows the shortcut.

① Short-termThe live session. Raw context and working memory, still unsorted.
② Hippocampus · advisoryDuring idle, decide: durable knowledge, or work residue? An advisory scores meaning — tier = quality.
③ Long-term · theta profileA time-axis trace of how the agent grew, injected first-class as a shortcut at the next decision.

The time axis is the point: the agent carries who it became, not just what it once saw.

BenchmarkIt pays off
Measured result

A memory system pays for itself
in fewer tool calls

−1.74 tool calls per task vs. an agent with no memory system

Over roughly a day of context data, the agent reached the same outcome with 1.74 fewer tool calls on average — because the shortcut was already in memory.

Fewer calls is not just speed. It is the agent knowing where to look before it looks.

ClosingTakeaway
Takeaway

Keep the data shared.
Give every agent its own memory.

The data layer stays one shared, queryable source of truth.
The memory layer is personal, situational, and decides — that is the line between a new hire and a senior.

agentic memory = shared data layer + per-agent memory layer + audit & permission gate + theta profile over time

Don’t bolt memory onto your data. Build it as its own layer.