AI-231: add SandboxAgent support to the OpenAI Agents plugin - #2186
Open
xumaple wants to merge 6 commits into
Open
AI-231: add SandboxAgent support to the OpenAI Agents plugin#2186xumaple wants to merge 6 commits into
xumaple wants to merge 6 commits into
Conversation
xumaple
force-pushed
the
maplexu/AI-231-openai-sandbox
branch
from
July 17, 2026 18:08
5a73360 to
a759996
Compare
Run OpenAI Agents SandboxAgents as Temporal Workflows. Workflow-side client/session proxies dispatch every sandbox operation to Activities; the real backend session lives worker-side and is rehydrated from serialized state, so any Worker can service any Activity. Bumps @openai/agents-core and @openai/agents-openai to ~0.13.0.
… (AI-231) Match the Python contrib: stop stripping ephemeral entries/mounts/env from the encoded manifest so ephemeral mounts materialize and ephemeral env reaches the sandbox on create. Persist the backend's merged manifest after applyManifest/materializeEntry so mid-run changes survive resume. Flatten TemporalSandboxClientOptions, add a typed guard for a missing manifest, and add functional-parity, setArchiveLimits, and SDK-format deserialize tests.
…fill (AI-231) 0.13.5 decodes base64 without host globals (openai/openai-agents-js#1481), so the Workflow-isolate atob/btoa polyfill is no longer needed. Also drops a test-only export that ts-prune flagged.
Emit sandbox:<op> spans on the workflow side (sessionId/port only) and sandbox:<op>:result spans on the worker side (generic result metrics) for SandboxAgent operations, gated on addTemporalSpans. The comprehensive trace test runs a SandboxAgent to assert the spans are parented correctly in the full trace tree.
xumaple
force-pushed
the
maplexu/AI-231-openai-sandbox
branch
from
July 23, 2026 20:53
acce3a9 to
86916b7
Compare
xumaple
marked this pull request as ready for review
July 23, 2026 21:13
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.
Run OpenAI Agents SandboxAgents as Temporal Workflows. Workflow-side client/session proxies dispatch each sandbox operation to Activities; the real backend session lives worker-side and is rehydrated from serialized state, so any Worker can service any Activity.