Proposal summary
Add an isolated Python 3.12 compatibility job that installs agentrunproof==0.2.0 with exact openai-agents==0.20.0 and ==0.21.0 cells.
A single test would drive the real public Runner through one local function tool with DeterministicModel(..., emit_traces=True), export through Opik's existing OpikTracingProcessor into the existing fake backend, and assert:
- one exact Task → Agent → (Turn → Generation + Tool, Turn → Generation) tree;
- two model calls and one tool invocation; and
- successful final output with the scripted model fully consumed.
The job would use no provider API key or model call. AgentRunProof would be test-only and isolated from Opik's runtime dependencies and existing unpinned/latest integration job.
Motivation
The current OpenAI Agents integration suite intentionally follows an unpinned latest SDK and calls the live OpenAI API. That is valuable coverage, but it does not provide a deterministic released-version boundary or a provider-free structural regression. PR #6320 documents a previous upstream tracing-shape change that broke this CI surface and required a large expectation update.
I prototyped the focused test against current main (73b2c959946e08bcab5996deec94eabef8c8464b):
- exact OpenAI Agents
0.20.0: 1 passed in 0.66s;
- exact OpenAI Agents
0.21.0: 1 passed in 0.74s;
- Ruff format/check, actionlint, zizmor high/offline, and
git diff --check: all clean.
The existing job also remains clean when AgentRunProof is absent; the proposed exact cells would not constrain its latest-SDK resolution.
Would maintainers accept a small draft PR containing only this test and its isolated two-cell workflow job?
Disclosure: I maintain AgentRunProof. This proposal is deliberately limited to an optional test-only CI dependency; it does not add AgentRunProof to Opik's runtime dependencies.
Proposal summary
Add an isolated Python 3.12 compatibility job that installs
agentrunproof==0.2.0with exactopenai-agents==0.20.0and==0.21.0cells.A single test would drive the real public
Runnerthrough one local function tool withDeterministicModel(..., emit_traces=True), export through Opik's existingOpikTracingProcessorinto the existing fake backend, and assert:The job would use no provider API key or model call. AgentRunProof would be test-only and isolated from Opik's runtime dependencies and existing unpinned/latest integration job.
Motivation
The current OpenAI Agents integration suite intentionally follows an unpinned latest SDK and calls the live OpenAI API. That is valuable coverage, but it does not provide a deterministic released-version boundary or a provider-free structural regression. PR #6320 documents a previous upstream tracing-shape change that broke this CI surface and required a large expectation update.
I prototyped the focused test against current
main(73b2c959946e08bcab5996deec94eabef8c8464b):0.20.0:1 passedin 0.66s;0.21.0:1 passedin 0.74s;git diff --check: all clean.The existing job also remains clean when AgentRunProof is absent; the proposed exact cells would not constrain its latest-SDK resolution.
Would maintainers accept a small draft PR containing only this test and its isolated two-cell workflow job?
Disclosure: I maintain AgentRunProof. This proposal is deliberately limited to an optional test-only CI dependency; it does not add AgentRunProof to Opik's runtime dependencies.