pytracer-openai-agents
pyTracer adapter for the OpenAI Agents SDK. It auto-instruments an agent through
the SDK's built-in tracing, so you do not add @op by hand: agent runs, model
generations, tool (function) calls, and handoffs are captured as pyTracer spans.
import pytracer_sdk as pytracer
from agents.tracing import add_trace_processor
from pytracer_openai_agents import PyTracerTracingProcessor
pytracer.configure(
pytracer.HTTPTransport("https://gateway.internal", api_key="YOUR_KEY"),
service_name="my-agent", branch="main", commit="abc123",
)
add_trace_processor(PyTracerTracingProcessor()) # now every agent run is captured
Agent spans map to agent spans, generations and responses to LLM spans, function calls to tool spans, and handoffs to handoff spans, all linked into one trace by the SDK's own span tree.
Metadata
Release files for pytracer-openai-agents 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pytracer_openai_agents-0.1.0.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pytracer_openai_agents-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / pytracer_openai_agents-0.1.0.tar.gz
| Download URL | pytracer_openai_agents-0.1.0.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4708ad980b77990e91e65d3437ec6a9f01fd93118f742191d9b90005daf3e84d
|
|
BLAKE2b-256 checksum How to use checksums |
62fdd64deaa713e4db6423978a87946b5b00e4386d629d8a6942ba5686f7cb7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|
Release files / pytracer_openai_agents-0.1.0-py3-none-any.whl
| Download URL | pytracer_openai_agents-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
657db985a9bf311782b861c04bf32ae068c8b5bb5b2059a7a006abacb39c1d87
|
|
BLAKE2b-256 checksum How to use checksums |
231efdd724d02b8ef225ed9b0a2b3d2c15f411959da6925db47bcc297b193800
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.4
|