Microsoft Agent Framework (tracing)
Microsoft Agent Framework (tracing)
Microsoft Agent Framework is a Python framework for building agents and workflow executors. Respan normalizes the framework’s native OpenTelemetry spans into Respan traces for agent runs, model calls, tool executions, and workflow steps.
This tracing setup uses your model provider credentials directly. To route model calls through Respan instead, use the Microsoft Agent Framework gateway setup.
Set up Respan
Create an account at platform.respan.ai and grab an API key.
Run npx @respan/cli setup to set up with your coding agent.
Use Respan Gateway
See Microsoft Agent Framework gateway setup to route model calls through the Respan gateway.
Example projects
Setup
Configuration
What gets traced
Attributes
Set defaults at initialization. These apply to every span emitted by the instrumentor.
Use capture_content=False if you want model and span metadata without prompt, completion, or tool payload content.