Get the session attributes for the current agent invocation. Retrieves session attributes that were previously set using set_session_attributes(). Works in both synchronous and asynchronous contexts automatically.Documentation Index
Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt
Use this file to discover all available pages before exploring further.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
agent | Agent | ✗ | None | The Strands Agent instance to retrieve session attributes from |