cross_session parameter lets you search across all sessions for a user — useful for building comprehensive user profiles or recalling context from past conversations.
Usage
On Search
On Get
On Context
When to Use
| Scenario | cross_session |
|---|---|
| Same conversation, maintaining context | False (default) |
| New session, need past context | True |
| Building a user profile from all interactions | True |
| Support agent picking up a previous ticket | True |
Cross-session search is hosted-only. In the open-source
lyzr-cognis package, extracted memories are already global to (owner_id, agent_id) — they automatically span sessions by design.