Skip to main content

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.

Add Fiddler-specific session attributes to an agent’s metadata. Session attributes provide context about the agent’s execution environment, such as user roles, cost centers, or any custom metadata that should be tracked across all invocations within a session.

Parameters

ParameterTypeRequiredDefaultDescription
agentAgentNoneThe Strands Agent instance to add session attributes to

Example

from strands import Agent
from fiddler_strandsagents import set_session_attributes

agent = Agent(model=model, system_prompt="...")
set_session_attributes(agent, role="customer_support", region="us-west")