Skip to content

chore: namespace v1 sub-agent tools#23475

Merged
jif-oai merged 5 commits into
mainfrom
jif/namespace-sub-agents
May 19, 2026
Merged

chore: namespace v1 sub-agent tools#23475
jif-oai merged 5 commits into
mainfrom
jif/namespace-sub-agents

Conversation

@jif-oai
Copy link
Copy Markdown
Collaborator

@jif-oai jif-oai commented May 19, 2026

Why

The v1 sub-agent tools are a single tool family, but they were exposed as separate flat function tools. This makes the model-visible surface less clearly grouped and leaves the legacy names in the same flat namespace as newer agent tooling.

What

  • Wraps the v1 spawn_agent, send_input, resume_agent, wait_agent, and close_agent specs in the multi_agent_v1 namespace.
  • Registers the corresponding handlers with namespaced runtime tool names.
  • Updates tool-planning, deferred tool search, and sub-agent notification tests to assert the namespace shape and child spawn_agent lookup.

Verification

  • Updated codex-core coverage for the v1 multi-agent tool plan, deferred tool search output, and sub-agent tool descriptions.

@jif-oai jif-oai requested a review from a team as a code owner May 19, 2026 13:05
@jif-oai jif-oai changed the title chore: add namespace to sub-agents chore: namespace v1 sub-agent tools May 19, 2026
Copy link
Copy Markdown
Contributor

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7394c24dba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread codex-rs/core/src/tools/handlers/multi_agents_spec.rs
@jif-oai jif-oai merged commit 05b8ce4 into main May 19, 2026
43 of 47 checks passed
@jif-oai jif-oai deleted the jif/namespace-sub-agents branch May 19, 2026 17:46
@github-actions github-actions Bot locked and limited conversation to collaborators May 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants