Note · Fieldnote

Where should an agent keep its memory?

Model state, session history and external retrieval belong to different parts of the agent system.

When I use an agent over a collection of documents, I have to decide where useful context should live and who maintains it. The model, the session and the harness do different jobs. These are approaches I have been experimenting with or checking against, not four interchangeable kinds of memory inside the model.

There is also a commercial incentive worth questioning. More rounds of work mean more tokens sold. That does not establish why any particular laboratory chooses a memory design, but it is a reason not to assume that my preferred cost and persistence trade-offs are the provider's priorities.

The session carries the conversation between calls. The harness manages what is persisted, retrieved, summarised and sent back to the model. The agent is the larger arrangement that uses those facilities. Asking where the agent should keep memory is therefore more useful here than treating it all as a property of the model.