Fiddler Strands SDK
Native monitoring for Strands Agents with Strands Agents SDK
What You'll Need
Quick Start
# Step 1: Install (uv recommended)
uv add fiddler-strands
# or: pip install fiddler-strands# Step 2: Set up telemetry and instrumentation
import os
from strands.telemetry import StrandsTelemetry
from fiddler_strandsagents import StrandsAgentInstrumentor
strands_telemetry = StrandsTelemetry()
strands_telemetry.setup_otlp_exporter() # Sends to Fiddler
StrandsAgentInstrumentor(strands_telemetry).instrument()
# Step 3: Create your Strands agent as usual
from strands import Agent
from strands.models.openai import OpenAIModel
model = OpenAIModel(api_key=os.getenv("OPENAI_API_KEY"))
agent = Agent(model=model, system_prompt="You are a helpful assistant")
# Step 4: Agent calls are automatically traced
response = agent("Hello, how are you?")What Gets Monitored
Strands Agent Operations
Strands-Specific Metrics
Configuration Options
Environment Variables (OpenTelemetry Standard)
Programmatic Configuration
Example Applications
Customer Service Agent with Tools
Multi-Agent System
Viewing Your Data
Key Metrics
Advanced Features
Custom Metadata with Helper Functions
Conversation Tracking
Session-Level Attributes
Span-Level Attributes
LLM Context
Troubleshooting
Traces Not Appearing in Fiddler
Missing Agent Attributes on Child Spans
Performance Optimization
Related Documentation
Last updated
Was this helpful?