ESAA-Conversational: An Event-Sourced Memory Layer for Continuity, Handoff, and Curation Across Heterogeneous LLM Coding Agents
This paper introduces ESAA-Conversational, an event-sourced memory layer that enables heterogeneous LLM coding agents to maintain continuity and collaborate across sessions by capturing visible conversation turns into a shared, append-only log and projecting deterministic read models for state, decisions, and tasks without requiring direct agent-to-agent communication or constant LLM inference.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a project manager leading a team of four very different specialists: a coder, an architect, a researcher, and a designer. Each of them is an AI agent (like Codex, Grok, or Claude). They are brilliant, but they all have a major flaw: they have short-term memory and they don't talk to each other.
When the Architect finishes a meeting, they write their notes in a private notebook. When the Coder starts their shift, they have no idea what the Architect decided unless you, the human, manually copy-paste those notes into a new chat. This is slow, messy, and you often lose important details.
ESAA-Conversational is a new system designed to fix this. It acts like a centralized, shared "Project Logbook" that sits between all these different AI agents.
Here is how it works, using simple analogies:
1. The "Black Box" Recorder (Mechanical Capture)
Instead of asking the AI to "remember" things, the system quietly installs a security camera (called a hook or watcher) over the AI's screen.
- What it does: Every time the AI types a message, the camera snaps a photo and writes it into a digital logbook called
activity.jsonl. - The Rule: This logbook is append-only. Think of it like a flight recorder on a plane. Once a line is written, it cannot be erased or changed. It is the "Source of Truth."
- Why it matters: The AI doesn't need to do any extra thinking to save its work. The system just records the raw evidence automatically.
2. The "Executive Summaries" (Projected Read Models)
A raw logbook with 500 pages of chat is useless if you just want to know the current plan. So, the system automatically generates clean, readable summaries based on that logbook.
- The Analogy: Imagine a librarian who reads the messy, handwritten daily logs of a construction site and then writes three clean reports for the foreman:
state.md: "Here is where we are right now."decisions.md: "Here are the 5 big choices we made and why."tasks.json: "Here is the list of things still left to do."
- The Magic: These reports are generated automatically. No one manually edits them. If the logbook changes, the reports update instantly. This ensures the summaries always match the raw truth.
3. The "Handoff" (Continuity)
When the Architect finishes their shift and the Coder starts, the Coder doesn't need to read the whole 500-page logbook.
- The Process: The Coder simply asks the system for a "Handoff." The system hands them the
handoff.md(a summary of what happened) and a specific "window" of the last 20 messages relevant to their task. - The Benefit: The Coder starts working immediately with full context, without wasting time reading irrelevant chatter or losing track of previous decisions.
4. The "Human-in-the-Loop" (Curation)
The system distinguishes between what happened (evidence) and what matters (decisions).
- Evidence: The AI typing "I think we should use Python" is just a turn in the log.
- Curation: If the AI (or a human) says, "Okay, we have decided to use Python," the system records this as a formal Decision Event.
- Why it matters: This separates the noise of the conversation from the durable rules of the project. The system knows the difference between a random thought and a final rule.
5. Privacy and Safety
The paper emphasizes that this system is designed to be safe for public use.
- The "Greenfield" Package: When the developers released the tool, they gave everyone a brand new, empty logbook. They did not share their own private conversations.
- The "Do Not Share" List: The system automatically hides the messy log files from public view (like a
.gitignorefile), ensuring that sensitive private chats don't accidentally get uploaded to the internet.
The Real-World Test
The authors tested this system on themselves. They used different AI agents to design and build the system while the system was recording their own conversations.
- Result: The agents successfully collaborated without ever talking directly to each other. They just read the shared logbook and the summaries.
- Outcome: They proved that you can switch between different AI tools (like switching from Grok to Claude) without losing the thread of the conversation, as long as they all read from the same shared log.
In Summary
ESAA-Conversational is a tool that stops AI agents from having amnesia. It acts as a shared, unchangeable diary that records everything, automatically writes clean summaries for the next person to read, and ensures that when you switch tools, you don't have to start from scratch. It turns the chaotic process of switching AI assistants into a smooth, continuous workflow.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.