Current HarnessAI agent studio · GitHub
EN · RU
← Back to home

Memory for agents: one stream, everything else is a view

An agent closes its session and forgets what you told it. We are rebuilding Current Harness memory so that a word does not get lost and does not live in five copies. Here is how it works and what already runs.

Why agents need memory

Work with agents breaks in the same place every time. You say something, the agent takes it in. A day later the window is closed and a new session starts from zero.

You explain again. You retell a decision you already made. You try to remember what you promised, and to whom.

Memory is not decoration. It keeps a word alive until someone answers it. And it lets a promise with a deadline remind us on its own, instead of waiting for you to remember.

How it was: everyone remembers their own

A fact used to live wherever it was written down. An owner's word sat in four places: the chat, the role file, the topic note, another agent's retelling. It was read once, then lost.

Copies drifted apart. One got fixed, the others stayed. We tested this on ourselves. A 12-minute check found the same fact living in several places, and one of our checks had spent two weeks reading a dead copy, and another had two lists that did not match.

A rule came out of that: a fact has one home. Everything else must be a view of that home, not a separate copy.

The new model: one stream, everything else is a view

We split memory into two homes.

The word. It has one home: the event stream. Who said what to whom, and when. A role's answer sits next to the word it answers.

Topic knowledge. It also has one home: the memory cell. The topic file you can open and read stays as a storefront. It is built from the cell and stores nothing itself.

Everything else is a view. A page for a person, a role's start-up note, a summary for another role: each takes what it needs from the stream or the cell. No copies.

The memory cell: what is inside

A cell is a small database that holds the memory of one topic or one role. Nobody edits it by hand. Agents work with it through commands only: put a record, read, forget, recall, reread the archive.

It has a few parts.

A contract sits between the command and the database. It decides who may write, whether a record must carry an address, whether the text is acceptable. A record has one writer and a version.

Cells across the studio

Every role has its own cell: private. Every topic has its own cell: shared.

A word said to one role lands in the topic cell. All members of the topic can see it. What is personal stays with the role and never reaches the shared cell.

At start-up a role reads the topic cell and takes what it needs right now.

A fact's path from word to archive

A word arrives and lands on the topic shelf. A role reads it at start-up, and a line appears in the read log. Now we can see what the role took and what has sat untouched for a month.

When a record goes stale, it moves to the archive. It is not lost. A new record replaces it, and the old one goes to the archive too.

Sometimes a role "sleeps": it rereads the archive and suggests what is worth recalling. Whatever is recalled goes back on the shelf.

A cell can be copied into a variant to compare which memory works better. That helps when we want to change the rules without guessing whether things got better.

Word arrivesStream: who, to whom,what, whenTopic cell: shelfRole reads at start-upTopic file: storefrontRead logReplaced by a newrecordArchiveSleep: reread thearchiverecallkeep

How this fits "topic + role"

Current Harness rests on a simple idea: every topic of work has its own room and its own lead agent. You write to the topic and don't hunt for the right agent.

Memory follows the same picture. The topic cell is the room's shared memory. The role cell is the lead's private memory. The lead remembers the topic between sessions because it lives in the cell, not in a window's head.

Other roles join the same topic and read the same cell. Nobody has to retell what happened yesterday.

What works today, and what is in progress

Plainly: the model is agreed, part of it runs, part is being built.

Works

In progress

Setup for a new person is still done by hand. We will make it simpler, but today it is what it is.

What we don't promise

We are not a swarm orchestrator and not a new model. We are a layer over ready-made Claude Code: roles, topics, memory and a kept word. Everything is plain text and a database on your own disk, with no cloud and no telemetry.

Want the same?

Leave your email, we will call you first.

Leave your email