OpenAI Agents SDK (tracing-only)
OpenAI Agents SDK (tracing-only)
Section titled “OpenAI Agents SDK (tracing-only)”Compatibility label: tracing-only. Tested with openai-agents 0.24.0 TracingProcessor ingest. Goshikq does not execute Runner.run as the runtime, intercept SDK tool calls, or treat ingested traces as VERIFIED. A real offline Runner.run has not been demonstrated on this host.
Goshikq does not execute or approve OpenAI Agents SDK tools. The integration imports traces the SDK emits through public tracing processor hooks (agents.tracing.TracingProcessor, add_trace_processor).
Imported runs stay UNVERIFIED / NOT_EVALUATED unless a separate Goshikq native run verifies authoritative state.
Example
Section titled “Example”examples/openai-agents-refund/main.py uses the real SDK when agents is installed, otherwise a local mock that still emits OTLP. The mock path is a fallback, not a compatibility claim.
python -m pip install openai-agentspython examples/openai-agents-refund/main.pytests/otel/test_openai_agents_sdk.py requires a reachable goshikq-server and the agents package.
- Always: register a public
TracingProcessor, ingest OTLP, assert the run is notVERIFIED. - Offline
Runner.run: attempted viaagents.models.fake_model.FakeModelwhen that type exists in the installed version. - Paid provider calls are not required and are not made in the default test.
If Runner.run cannot complete offline, the test still ingests processor-emitted (or explicitly labeled processor-only) spans and records the limitation instead of substituting hand-written OTLP as “full SDK compatibility.”