tool · inferred from evidence
before_model middleware
Middleware that reads stored memories before model execution.
- Long-term memory across threads: stores, not just checkpoints
Checkpoints remember within a thread. For memory across threads and users, use a store: the BaseStore interface with namespaced key-value memory that tools and middleware can read and write. Not the full reference manual.