Skip to main content

Installation

Both packages are published to PyPI.

Usage

tag_agent(agent) stamps the agent’s identity onto subsequent spans so it shows up as a distinct node in TraceCtrl’s topology view.

What Gets Captured

Agno emits agent identity attributes natively. TraceCtrl’s span processor reads them and re-stamps them under the TraceCtrl schema: tracectrl.agent.framework is set to agno whenever either agno.agent.id or agno.team.id is present on the span.

API

AgnoInstrumentor()

instrument
method
instrument(tracer_provider=None, skip_dep_check=False) — Registers the TraceCtrl span processor and wraps the OpenInference Agno instrumentor.
uninstrument
method
uninstrument() — Shuts down the TraceCtrl processor and unwraps the OpenInference instrumentor.
instrumented
bool
Whether the instrumentor is currently active.