Store a fact
Usesdk.memory.remember() to store a fact directly. No extractor runs — the content is indexed as-is with the type and retention you give it.
Pinned facts survive cleanup and decay. Use them for information that should never age out.
Search for facts
Retrieve stored facts withsdk.memory.items.search():
Manage individual items
How facts differ from turns
Facts are how an agent remembers who a user is and what they care about, even when they start a brand-new thread months later.
Related
- Memory — the full three-step loop
- Recall — facts surface in recall automatically
- Memory Loop guide — end-to-end example