Skip to content

Allow spawn_agent to explicitly select a configured custom agent #33092

Open

Description

@jonesjylee0614

What variant of Codex are you using?

APP

What feature would you like to see?

Codex supports custom agents with their own model and reasoning settings, but the current spawn_agent tool only accepts task_name, message, and fork_turns, with no agent_name or agent_type parameter. In testing, the spawned session had agent_role = null and inherited the parent model instead of using the configured investigator agent. Is there a supported way to explicitly select a custom agent when spawning, or is this capability planned?

Additional information

No response

Activity

  1. added
    enhancement
    on Jul 14, 2026
  2. added
    app
    subagent
    config
    on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appconfigenhancementsubagent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions