Microsoft Agent Framework Documentation
Note on Agent Framework API Stability
Microsoft Agent Framework is in active beta development. API changes between versions are possible:-
This instrumentation is tested against
agent-framework==1.0.0b260130 -
The
-latesttest variant tracks breaking changes in new releases -
If you encounter API compatibility issues, pin to the tested version:
Install
Setup
Microsoft Agent Framework emits telemetry using GenAI semantic conventions (gen_ai.* attributes). This package provides a SpanProcessor that transforms these spans to OpenInference format, enabling compatibility with observability tools that support the OpenInference standard.
enable_sensitive_data=True when calling enable_instrumentation() to capture message content in traces. This is required for full observability but may include PII.