Remove OpenAI Agents integration - #1868
Open
brianstrauch wants to merge 18 commits into
Open
brianstrauch wants to merge 18 commits into
brianstrauch wants to merge 18 commits into
Conversation
brianstrauch
marked this pull request as draft
September 15, 2026 22:19
brianstrauch
marked this pull request as ready for review
September 15, 2026 23:40
brianstrauch
commented
Sep 15, 2026
tconley1428
reviewed
Sep 15, 2026
brianstrauch
marked this pull request as draft
September 16, 2026 02:57
…lio/sdk-python into remove-openai-agents-integration
brianstrauch
commented
Sep 16, 2026
Co-authored-by: Brian Strauch <brian@brianstrauch.com>
brianstrauch
marked this pull request as ready for review
September 16, 2026 21:09
tconley1428
reviewed
Sep 16, 2026
tconley1428
reviewed
Sep 16, 2026
tconley1428
reviewed
Sep 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
temporalio[openai-agents]as a forwarding extra that installstemporalio-openai-agentstemporalio.contrib.openai_agentsimports with explicit compatibility modulestemporalio.openai_agentsthe canonical standalone import pathtemporalio.contrib.__getattr__migration hooktemporaliopackage path so editable standalone plugins can be discoveredThis is the SDK half of the OpenAI Agents plugin cutover. The standalone distribution installs under
temporalio.openai_agents, so it can coexist with an SDK-bundledtemporalio.contrib.openai_agentsimplementation without sharing files.Release order and draft status
This PR is intentionally a draft until
temporalio-openai-agentsis published to PyPI. Until then, the new forwarding dependency cannot be added touv.lock, so full SDK validation is expected to fail during dependency resolution.temporalio-openai-agentsthrough its normal release workflow.Migration
Remove the
openai-agentsextra from the existing Temporal dependency and install the standalone package directly:Remove the brackets if no extras remain. Then install the standalone package:
Change application imports to the standalone package:
The new import path selects the standalone implementation instead of the SDK-bundled
temporalio.contrib.openai_agentsimplementation.The forwarding extra and old public imports remain available for compatibility, but direct dependency on
temporalio-openai-agentsand thetemporalio.openai_agentsimport are the recommended migration.Validation
Completed against a local build of the standalone package:
Pending publication of
temporalio-openai-agents:uv.lock