> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Transcript Window • AI Agent SDK

> TranscriptWindow: Immutable transcript window for a turn.

# TranscriptWindow

> Defined in the [**Turn Context**](../modules/turn_context) module.

<Badge color="blue">AI Agent</Badge>

Immutable transcript window for a turn.

Contains the conversation history slice to be included in the current
turn, with token budgeting and context optimization applied.

## Properties

<ResponseField name="messages" type="Tuple">
  No description available.
</ResponseField>

<ResponseField name="total_tokens" type="int">
  No description available.
</ResponseField>

<ResponseField name="system_prompt" type="Optional[str]">
  No description available.
</ResponseField>

<ResponseField name="context_metadata" type="Mapping[str, Any]">
  No description available.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/turn_context.py#L97">
  `praisonaiagents/runtime/turn_context.py` at line 97
</Card>
