CSESSION: conversation buffers with semantic recall built in
Chat history is more than the last N turns. CSESSION stores a multi-turn buffer per session, bounded and TTL'd, with both recent-window reads and semantic search across the whole conversation.
Every chat app reinvents the same buffer: a list of turns, trimmed to fit the context window, stuffed back into the next prompt. CSESSION makes it a first-class object. CSESSION ADD appends a turn with its role and an optional TTL; the buffer is bounded per session so a long conversation can't grow without limit.
Reading it works two ways, because conversations are queried two ways. CSESSION RECENT pulls the last N turns for the familiar sliding-window prompt. CSESSION SEARCH runs a semantic query across the entire conversation — so 'what did they say about their budget earlier?' finds the turn from forty messages ago that a recent-window read would have dropped.
Five agents asking one question should cost one answer.
That second mode is the one that changes what your agent can do. The sliding window forgets the start of a long conversation; semantic recall over the full buffer doesn't, which means an assistant can answer 'as I mentioned earlier' correctly instead of pretending the earlier part never happened.
The bottom line
It's the buffer you were going to build anyway, with the semantic search you probably weren't — bounded, expiring, and one command away instead of one service away.