@quotient.trace
decorator – wrap your entrypoint or key functions to record spans.- OpenInference instrumentors – automatically instrument supported frameworks and providers.
Decorate an Entrypoint
traced_agent.py
Use OpenInference Instrumentation
Quotient integrates with OpenInference so you can reuse the same telemetry across frameworks. Attach the appropriate instrumentor when initializing the tracer:with_instrumentor.py
Supported Frameworks
We provide step-by-step guides for popular agent frameworks: Looking for another framework? See OpenInference instrumentation for additional options.Tracing Without OpenInference
You can still use the decorator without OpenInference instrumentors. You will capture the function-level span and any custom spans you emit manually. Note that certain Quotient features (detections, tooling insights) rely on the richer span data provided by instrumentors.Next: Custom Spans