Skip to main content
Available via: native OpenTelemetry support (Python). This is not a Zespan SDK wrapper — see Send traces from any OTel-instrumented app for how the underlying endpoint works.
Strands Agents (AWS’s agent SDK) emits OpenTelemetry spans natively — no separate instrumentation package needed. Its StrandsTelemetry helper reads standard OTEL_* environment variables, so pointing it at Zespan is pure configuration.

Installation

Setup

Either approach works — the environment-variable form is the simplest if you’re not overriding anything else in your OTel setup; call StrandsTelemetry().setup_otlp_exporter() explicitly if you need to pass the endpoint/headers directly instead of through the environment.

Example

What gets captured

Strands Agents follows the OpenTelemetry GenAI semantic conventions directly, so tool calls, model calls, and multi-step agent loops map onto Zespan’s trace tree with no extra mapping needed.