Expand description
Typed key-value state container for agents.
Supports optional delta tracking for transactional state management and prefix-scoped accessors for namespace isolation.
Structs§
- File
Journal Sink - Durable
JournalSinkwriting one JSON object per line (JSONL). - Memory
Journal Sink - In-memory
JournalSinkfor tests and replay harnesses. Unbounded. - Prefixed
State - A borrowed view of state that automatically prepends a prefix to all keys.
- Read
Only Prefixed State - A borrowed, read-only view of state that automatically prepends a prefix to all keys.
- Slot
Evidence - Provenance and confidence for a single state slot — the evidence behind a
value, aggregated from the mutation journal and the
state_meta:{key}record. - State
- A concurrent, type-safe state container that agents read from and write to.
- State
Key - A compile-time typed state key that eliminates typo bugs and type mismatches.
- State
Mutation - A single state mutation recorded in the bounded mutation journal.
Enums§
- State
Error - Error returned by fallible state writes.
- State
Mutation Origin - Where a state mutation came from.
Traits§
- Journal
Sink - Synchronous, durable sink for state mutations.