Skip to main content
PyPI Monitor Strands Agent applications with Fiddler’s purpose-built SDK. The Strands Agents SDK provides deep visibility into agent reasoning, tool execution, and multi-agent coordination for Strands-based agent applications. Platform Compatibility: Works with Strands agents deployed on any platform, including AWS Bedrock, custom infrastructure, or other cloud providers.

What You’ll Need

  • Fiddler account (cloud or on-premises)
  • Strands agent application
  • Python 3.10 or higher
  • Fiddler API key

Quick Start

Prerequisites: Configure OpenTelemetry environment variables for Fiddler integration:

What Gets Monitored

Strands Agent Operations

  • Agent Invocations - Full request/response capture with timing
  • Tool Execution - Tool and API call tracking
  • Knowledge Base Queries - RAG retrieval and context usage
  • Prompt Orchestration - Prompt templates and LLM interactions
  • Session Management - Multi-turn conversation tracking

Strands-Specific Metrics

  • Reasoning Traces - Agent thought process and decision-making
  • Tool Execution - Success rates, latency, error patterns
  • Knowledge Retrieval - Relevance scores, source attribution
  • Multi-Agent Coordination - Cross-agent communication patterns
  • Infrastructure Metrics - Platform-specific infrastructure calls

Configuration Options

Environment Variables (OpenTelemetry Standard)

The SDK uses standard OpenTelemetry environment variables for configuration:
See the Quick Start Guide for detailed configuration steps.

Programmatic Configuration

Example Applications

Customer Service Agent with Tools

Multi-Agent System

View complete example →

Viewing Your Data

Navigate to Fiddler UI to analyze Strands Agent performance:
  1. Agent Overview - Overall agent performance metrics
  2. Session Analysis - Multi-turn conversation flows
  3. Action Group Metrics - Tool usage patterns and success rates
  4. Knowledge Base Performance - Retrieval quality and relevance
  5. Cost Tracking - Token usage and AWS costs per agent

Key Metrics

  • Agent Latency: P50/P95/P99 response times
  • Tool Success Rate: Percentage of successful action group executions
  • Retrieval Quality: Knowledge base query relevance scores
  • Token Usage: LLM tokens consumed per session
  • Error Rates: Failed invocations by error type

Advanced Features

Custom Metadata with Helper Functions

The SDK provides helper functions to enrich your traces with custom business context:

Conversation Tracking

Session-Level Attributes

Span-Level Attributes

LLM Context

Troubleshooting

Traces Not Appearing in Fiddler

Verify environment variables:
Check instrumentation is enabled:
Test with console exporter:

Missing Agent Attributes on Child Spans

Verify SDK instrumentation:
Add custom attributes:

Performance Optimization

The SDK uses batch span processing by default for minimal overhead. For additional optimization: Disable console exporter in production:
Adjust batch processor settings: