Sessions on disk
Each session is a JSON file in the agent’s local data directory, named by its session id. Session ids are UUIDs, sanitized before use so a crafted id can’t escape that directory. A session payload holds itssession_id, a title, timestamps, and the full list of
messages.
What the manager does
get_all_sessions returns lightweight metadata (id, title, timestamps) for the chat list,
while get_session returns the complete message history for one conversation.
The API
The shell drives history through these endpoints:History vs. memory
They’re complementary:Chat history
The verbatim transcript of each conversation, grouped into sessions you can browse
and delete. Stored as JSON files on your device.
Memory
Distilled facts extracted from conversations and stored as vectors in ChromaDB, then
injected into future prompts for personalization.