Skip to main content

Cognitive State

sxth-mind separates the belief state it owns from the raw evidence it rents — “own the beliefs, rent the bytes.”
The belief state (UserMind, ProjectMind) is persisted via Storage. The raw turns are read from an EvidenceSource you control.

UserMind

User-level understanding that persists across all projects and conversations.

Accessing UserMind

ProjectMind

Context-specific state for a particular project, deal, habit, or topic.

Multi-Project Support

Users can have multiple projects:
Each project maintains its own state (journey stage, momentum, context).

Evidence (the rented substrate)

Raw conversation turns and events are not part of the belief state. They live behind an EvidenceSource — backed by your own database, a memory vendor (Mem0, Zep), or the bundled LocalEvidenceSource for dev.
On each chat(), the Mind:
  • Reads recent evidence to assemble context
  • Appends the new turns back to the source (a no-op if your app owns writes)
  • Derives belief state from it — the summary and topics that result are stored on ProjectMind (owned), while the raw messages stay in the evidence source (rented).

State Evolution

State evolves with each interaction:

Inspecting State

Programmatic Access

Human-Readable Summary

Output: