Store Memory
montycat_rememberStore a fact or record in persistent memory; it is automatically embedded and indexed for quick semantic or key-based recall later.
Instructions
Store a fact or record in memory; it is embedded and indexed automatically.
Later recall it by meaning with montycat_semantic_search, or by key with
montycat_recall. Returns the generated key in payload.
Every record is auto-stamped with an indexed _created_at (UTC ISO-8601)
unless the value already carries one — this powers time-range recall
(since/until on montycat_semantic_search). Top-level fields are
indexed, so they can be used as filters in hybrid search (e.g. store
{"project": "x", ...}, later filter on it).
Args:
value: The record to store (a JSON object).
scope: Owner/user id to store under (that owner's private memory,
keyspace mem_). Use "shared" for the common keyspace.
keyspace: Explicit keyspace override (advanced; bypasses scope).
custom_key: Optional stable key to store under (for later exact recall/update).
timestamp: Index a _created_at for time-range recall. Defaults to
MONTYCAT_AUTO_TIMESTAMP (on). Pass False to skip the
server-side timestamp parse when this memory will never be
recalled by time.
wait_for_index: For persistent keyspaces, wait until secondary indexes
have caught up before returning. Defaults to the engine
setting; use True when an immediate filtered/semantic
recall must see this write.
vector: Optional precomputed embedding for this record. It must match
the keyspace's enrolled embedding profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| value | Yes | ||
| vector | No | ||
| keyspace | No | ||
| timestamp | No | ||
| custom_key | No | ||
| wait_for_index | No |