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.

Set the conversation ID for the current agent invocation. The conversation ID is used to group related agent invocations together, enabling conversation-level tracing and monitoring in Fiddler’s platform. This ID will persist until it is explicitly changed by calling this function again with a new value.

Parameters

ParameterTypeRequiredDefaultDescription
agentAgentNoneThe Strands Agent instance to associate with the conversation
conversation_idstrNoneUnique identifier for the conversation (e.g., session ID, user ID)

Example

from strands import Agent
from fiddler_strandsagents import set_conversation_id

agent = Agent(model=model, system_prompt="...")
set_conversation_id(agent, "session_12345")