Skip to content

Allow plugins to bundle and register custom agents #18988

Open

Description

@madebymlai

What variant of Codex are you using?

CLI

What feature would you like to see?

Allow plugins to declare and register custom agents alongside skills, apps, and MCP servers.

The plugin spec currently supports three bundle types: skills, apps, and MCP servers. There is no way for a plugin to declare custom agents (~/.codex/agents/*.toml).

Plugins that rely on agent orchestration must work around this with a separate install step that converts agent definitions into skill files in ~/.codex/skills/.
On plugin install, Codex would register the bundled agents in ~/.codex/agents/ (or equivalent) so they're available for subagent spawning without consuming the skills budget.

Additional information

no info.

Activity

  1. added
    enhancement
    CLI
    skills
    subagent
    on Apr 22, 2026
  2. github-actions commented on Apr 22, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. removed
    CLI
    subagent
    on Apr 22, 2026
  4. jtsang4 commented on Aug 11, 2026

    @jtsang4

    Is there a plan to support this issue?

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

    enhancementskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions