Add an agent extension runner - #33076
Merged
copyberry[bot] merged 1 commit intoJul 14, 2026
Merged
Conversation
## What changed - Add `codex-agent-extension` with an `AgentRunner` that starts a resolved agent prompt in a thread forked from its parent. - Propagate the invocation's trace context, select the configured execution environments, submit the initial prompt, and return the spawned thread and turn identifiers. - Reject empty agent prompts and report when the owning thread manager is no longer available. ## Testing - Add an integration test that verifies the agent runs in a forked thread, returns the started turn identifier, completes the turn, and sends the resolved prompt to the model. GitOrigin-RevId: ffb805efabadf758969d6611a6867db6fa9f059a
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/ffb805efabadf758969d6611a6867db6fa9f059a
branch
from
July 14, 2026 14:42
2c9c652 to
6629e08
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/ffb805efabadf758969d6611a6867db6fa9f059a
branch
July 14, 2026 14:43
randrescastaneda
temporarily deployed
to
issue-triage
July 14, 2026 14:45 — with
GitHub Actions
Inactive
randrescastaneda
temporarily deployed
to
issue-triage
July 14, 2026 14:45 — with
GitHub Actions
Inactive
randrescastaneda
temporarily deployed
to
issue-triage
July 14, 2026 14:45 — with
GitHub Actions
Inactive
randrescastaneda
temporarily deployed
to
issue-triage
July 14, 2026 14:47 — with
GitHub Actions
Inactive
jonesjylee0614
temporarily deployed
to
issue-triage
July 14, 2026 15:27 — with
GitHub Actions
Inactive
jonesjylee0614
temporarily deployed
to
issue-triage
July 14, 2026 15:27 — with
GitHub Actions
Inactive
jonesjylee0614
temporarily deployed
to
issue-triage
July 14, 2026 15:27 — with
GitHub Actions
Inactive
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add an agent extension runner
What changed
codex-agent-extensionwith anAgentRunnerthat starts a resolved agent prompt in a thread forked from its parent.Testing