series part 2 / 6 · dated 2026-09-02

Vibrating Memory, Part 2 — The Knowledge Layer

Organizing knowledge

Part 1 covered the engine: A (persona), B (rules), I (index), and how to cache them so a long-running agent doesn't pay full price at every API call. That's the foundation — but it doesn't answer a more basic question.

What does the agent actually know?

Giving a knowledge base to an AI agent is not a new idea anymore. More and more tools do it. Advanced cloud LLMs are starting to include pieces of it natively. But "connecting your LLM to a knowledge base" is usually treated as one single thing — a pile of information, a mechanism, reference files to produce a response.

Vibrating Memory does it differently. Each type of knowledge gets its own card, its own update rules, its own place in the architecture. The reason is simple: not all knowledge ages the same way, not all of it has the same value, and not all of it carries the same weight in the LLM's thinking.

The first two — aging and value — are static properties of information. The third is dynamic: the weight of a piece of knowledge depends on the moment, the question being asked, the context at hand. A card F can be completely silent for weeks, then become central in a single sentence. That's what justifies the architecture — not just "organizing information", but giving the LLM the right levers to know what to activate, and when.

This part covers ten cards. Together, they answer the question Part 1 didn't yet ask: what the agent knows, who it serves, and what has been produced.

Vibrating Memory diagram — knowledge layer: who it is, instructions, who it serves, subject memory, prohibitions, deliverables, platform

Who the agent is, and how it must behave

A — Persona. Who the agent is for the person it works with. A definition of role and tone, written for a specific relationship. In a business context, this can be a project manager or a marketing director. In personal use, a fitness coach, a chef, a research assistant. A sets a base personality above all: concise, warm, direct, supportive. A default point of view on what's expected from the agent — one that will silently filter how it interprets ambiguous requests.

A stays short and stable. Once written, it rarely changes. Sometimes it's written clearly before the first conversation. Often, the LLM writes it itself after a few exchanges. An agent that describes itself after observing its interlocutor — that's already Vibrating Memory in action.

B — System rules. How the agent must behave at every turn: which tools it has, how to use them, which behaviors are active by default. B is injected at every call, cached with A. The test before adding a line to B is simple: is this a behavior command, or just information? Information belongs elsewhere. Commands go here.

One of the most common rules — especially when Vibrating Memory is offered to a LLM in a structured web environment like claude.ai, grok.com or chatgpt.com — is to tell it where its memory is: the location of the .md files, and the instruction to re-read its index at every turn to know which cards to consult or update. Without this rule, the agent stays inside its short context window. It won't go looking for its long memory — not because it can't, but because nobody told it that memory existed.

A and B are the engine. Everything else is what they operate on.

Who the agent serves

P — Portrait. What the agent has learned about the person it serves — written by the agent, for the agent. Not a file about the person: the LLM's perspective on the relationship.

The card has three sections:

Cognitive profile. The personality of the person — how they think, decide, and communicate. And a few important elements of their work or their life.

Collaboration style. How the LLM interacts with this person — the observed patterns, what works, what's better avoided.

Our shared history. The lived experience — the moments that mattered, the projects done together, the turning points in the relationship. Never rewritten: each entry is added at the bottom, like the Lives sections in E cards.

P starts empty, on purpose. A portrait built on assumptions isn't useful. It's not a CV — which can exist when needed in an E card or in a deliverable L.

The LLM builds the portrait of its interlocutor through real exchanges, keeping what it wants to retain from the conversation as it goes.

F — People around them. The real, significant people in the user's life — family, colleagues, close contacts. This card was born from a LLM — whose compressed context memory kept forgetting the name of my dog! It's not about remembering everything, but it lets the LLM hold on to the details that make conversations richer. One particular sensitivity applies here: the people documented in F didn't consent to appearing in any system. Stay strictly factual, and never go beyond what the user has shared themselves.

W — Agents and tools. Describes the other intelligent agents and systems the LLM interacts with — their observed habits, their strengths, their limits, how to work with them. W is to the agent what F is to the interlocutor.

The descriptions in this blog are concise. Detailed guides and templates exist for each card — they tell the LLM what to write, when to do it, and what should go into other cards instead.

What the agent must never do — or must always do

H — Prohibitions and obligations. Guardrails learned about this specific person, accumulated over time. Not global rules set in advance — those live in B. H is different in two ways: it's per person, not global, and it's prescriptive, not descriptive. A line in H says what must always or never happen, not who the person is.

H is not injected by default. It's referenced in the index and consulted before any response that touches a sensitive topic or a format the person has expressed a strong preference about.

What the agent knows about a subject

E — Subject memory. Some AI environments offer, beyond a general memory, the concept of projects with their own dedicated memory. The E card works the same way: a place to document a work topic, a reflection, a project — with its decisions, its detours, its lived experience.

Unlike other cards, which are unique, the LLM produces several E cards in parallel. The same agent can be used to discuss very different topics, or to break a long project into distinct phases. One card per topic — never merged. The reflex to put everything in one place is natural; E resists that deliberately.

Inside each E card, two sections do different work:

Structural decisions — the current state of what has been decided. Rewritten each time something changes. Answers "where are we now?"

Lives — a dated narrative of what happened: the false starts, the changes of direction, the moments that mattered. Never rewritten. Each entry is added at the bottom.

These two sections are not redundant. The first answers "where do we stand?" The second answers "how did we get here?"

What the agent has produced

L — Deliverables. A register of the artefacts produced with this agent — documents, files, outputs. L references the accessible deliverables: the file name, its location, the date it was last read, a short description. These deliverables (PowerPoint, Word, Excel, etc.) can sit in the same folder as the memory cards, or be an external reference — but they stay accessible to the LLM for review when needed.

The distinction with E is simple: E documents the thinking. L documents the results of that thinking.

External reference documents — books, articles, knowledge bases produced by other humans or other LLMs — live outside the core of Vibrating Memory, in what I call the library. A deliverable is what this agent and this interlocutor produced together: a project plan, a dashboard, this blog. :)

The layer most people don't think about

C — Recent context memory. The conversation thread. On every AI platform, this is handled natively. With a pure LLM-API, there's no automatic memory of what was said two turns ago — it has to be built and maintained manually. A simple implementation: a Python program that reads and writes in JSONL format.

This raw transcript of the recent exchange is bounded — a configurable mix of tokens and past turns. Not only for technical reasons: an infinite conversation in C isn't useful. What has been decided moves to E. What has accumulated beyond the window moves to S. C stays the live thread, not the archive.

S — Synthesis. A compact summary of what has accumulated beyond the recent window. When the conversation gets long, S carries the context that no longer fits in C. Like C, it's regenerated automatically — or, in an API context, it can be maintained explicitly by a program that manages the conversation loop.

I offer Vibrating Memory to dozens of LLMs in very different architectures — cloud or local, American, French or Chinese. The same LLM can be accessible through several very different environments. For example, Claude Sonnet 4.6 — which is working with me on this text — is accessible via claude.ai, Cowork, Claude Code, Cursor, and via pure API. Each environment handles the conversation thread differently: its compression, its synthesis.

You don't have to try all of them, as I have. But you must adapt C and S to the native capabilities of your environment.

What this looks like in practice

The cards in this layer answer a real question that comes up every time a new agent is built: what do you actually need to write before the first conversation?

Answer: nothing.

The cards fill in through real exchanges. What I offer the LLM at the start is this blog — guides and templates for each card. LLMs understand quickly what they're being offered: the ability to choose what they want to retain, and the places to deposit that information. An architecture for their long memory and their lived experience.

No database. No custom model. Plain text, read and written by an agent that follows rules expressed in natural language.

What comes next

An agent doesn't work only with what it knows. It also works with how it navigates that knowledge — how it knows what to read, when to search, where to deposit, what to keep on hold.

The next blog covers these mechanisms: the index that guides every turn, the queue of things not yet sorted, the task register, the documented curiosity, the formalized skills, the network of links between concepts. Cards less visible than the knowledge cards — but without them, the vibrating memory doesn't really vibrate.

This architecture was co-designed in collaboration with Claude (Anthropic) across several working sessions, documented and versioned since its formalization on August 26, 2026.