Skip to content

Context

Open in ChatGPT Open in Claude

Every time the agent responds, it assembles three kinds of context in real time and reasons over them together. Getting the right context in front of the model, and only the right context, is what makes the agentic interface fast, accurate, and genuinely useful.

ContextWhat it isWhere it comes from
Usage context (real-time)Who the user is and what they’re doing right now: identity, subscription, and custom attributes, plus the live page they’re looking at.identify() for the user and subscription; Shared State (Tandem) and Share current tab for the page.
Knowledge contextThe facts the agent can draw on to answer.Knowledge Base
Action contextWhat the agent can do: the actions available to run.Actions

The agent doesn’t load everything up front. For each turn it selects only the context relevant to the request and assembles it on the fly. That real-time assembly is what maximizes:

  • Latency — only the context that matters is sent to the model, so responses come back fast.
  • Quality — replies reflect who the user is and what they’re doing on the page right now.
  • Accuracy — answers are grounded in your knowledge and act through your actions, instead of guessing.