Session Memory
Persist user goals, messages, edits, files, decisions, and long-running task state as time-indexed context records.
Flagship use case: Context
TemporalStore should be read first as a context engine for AI agents: it stores session history, tool traces, retrieval evidence, summaries, safety counters, and replayable decision state. The other use cases are bonus examples of the same temporal store.
Context model
Persist user goals, messages, edits, files, decisions, and long-running task state as time-indexed context records.
Record commands, tool calls, approvals, generated artifacts, and failures so an agent can resume with evidence.
Build compact ContextPacks from source-backed memories, summaries, timestamps, and relevance indexes.
Keep rate limits, policy events, escalation history, and risky-action counters beside the memory stream.
Explain what context was available when an agent answered, edited code, generated output, or asked for approval.
Support open-ended sessions where a user keeps feeding prompts into the current thread and expects continuity.
This is the detailed essay with the concrete use-case table and architecture narrative. It covers LLM agent context plus the bonus risk, fraud, ads, recommendation, and marketplace trust examples.
Read the detailed essayThis page explains the customer-facing product framing: online windows, filtered aggregates, distinct counts, behavior sequences, frequency caps, and AI context.
Read the TemporalStore product pageBonus examples
| Use case | Entity key | TemporalStore model | Online question |
|---|---|---|---|
| Purchase velocity | user_id |
TemporalCounter | How many purchases happened in the last 5 minutes? |
| Failed-login risk | device_id |
TemporalAggregate with dimensions | How many failed logins happened by country and method in the last 30 minutes? |
| Card testing | card_id |
TemporalDistinct | How many unique merchants did this card touch in the last 24 hours? |
| Chargeback monitoring | merchant_id |
TemporalAggregate | What chargeback counts and amounts are visible by channel in the last 7 days? |
| Ads frequency cap | campaign_id + user_id |
Composite-key counter | How many impressions happened in the last hour, day, or campaign window? |
| Recommendation sequence | user_id |
Sequence | What recent product, search, or content sequence should the ranker see? |
| Agent context | session_id |
Sequence plus counters | What tool calls, safety counters, and preference deltas should be available now? |