In a multi-turn conversation, Claude can reference information shared earlier. What enables this capability?
Select an answer to reveal the explanation.
Short Explanation
Claude 'remembers' within a conversation because you're resending the whole conversation history each time. Every API call carries the full transcript up to that point.
Full Explanation
Within a conversation session, Claude appears to remember earlier information because the developer is including the complete conversation history, including all previous user and assistant turns, in the messages array of each API call. Claude processes this entire history as context on every call. This means the more turns in a conversation, the more tokens are used per API call, eventually approaching the context window limit. The developer manages this history explicitly, not Claude or Anthropic's servers. A built-in long-term memory system that persists between all conversations, a session cookie that Claude uses to retrieve the previous conversation, and Anthropic's servers automatically linking API calls from the same IP address all incorrectly attribute the memory to infrastructure that doesn't exist in this form.