Skip to content

Add Agents to Plugins System #18308

Open
Open

Description

@timurkhakhalev

What variant of Codex are you using?

App

What feature would you like to see?

Hi! Would it be possible to add support for agents to the plugin system?

It’s not obvious to me why agents were omitted from the initial plugin system release, while skills, MCP servers, and apps are already supported.

I have several setups where skills rely on custom agents, and right now there’s no convenient way to package and share them with colleagues as a single plugin.

Additional information

No response

Activity

  1. added
    enhancement
    on Apr 17, 2026
  2. added
    app
    skills
    on Apr 17, 2026
  3. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

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

    Powered by Codex Action

  4. removed
    app
    on Apr 17, 2026
  5. deksden commented on Apr 17, 2026

    @deksden

    +1

    Agents MUST have element of plugin, imho

  6. madebymlai commented on Apr 22, 2026

    @madebymlai

    +1 this is needed ASAP

  7. roygal-pentera commented on May 7, 2026

    @roygal-pentera

    +1

    Companies are currently building organizational marketplaces and agents are an important building block of those.

  8. 0xdevalias commented on Jun 1, 2026

    @0xdevalias
  9. federico-terzi commented on Jul 14, 2026

    @federico-terzi

    I'd really need this to properly package and distribute a complex integration with our app, where agents are necessary due to context rot

  10. cowwoc commented on Jul 20, 2026

    @cowwoc

    @etraut-openai was there a particular reason this functionality wasn’t included in the initial plugin release? Were there design or technical challenges involved, or was it primarily a matter of time and prioritization?

  11. youngjin39 commented on Sep 3, 2026

    @youngjin39

    We have a concrete cross-repository use case for this in Mir Yoke. We package shared development
    workflows as role-oriented plugins (core, code, and content) used by both Claude Code and
    Codex. Skills install globally and remain namespaced, but each consumer repository still needs a
    copied/generated .codex/agents/*.toml projection. That prevents the plugin from being the
    complete reusable role boundary and creates drift between repositories.

    It would help if plugins could contribute namespaced custom agents, for example
    mir-code:reviewer, with these safeguards:

    1. The plugin manifest declares an agents directory or explicit inventory.
    2. Agent names are namespaced by plugin, with deterministic collision and project-override rules.
    3. Installation shows and requires trust for model, reasoning, tools, sandbox, and delegation
      settings before the agent becomes available.
    4. Project agents can intentionally override or extend a plugin agent without the plugin writing
      .codex/agents in the repository.
    5. codex plugin list --json and app-server APIs expose the installed agent inventory and source
      digest so automation can verify it after a fresh session.

    The desired result is one plugin package that can be reused across repositories without copying
    agent definitions, while preserving project-local policy and explicit trust.

  12. coreycoto commented on Oct 4, 2026

    @coreycoto

    Is this possible using an agent plugins client extension?

  13. coreycoto commented on Oct 5, 2026

    @coreycoto

    Following up on my client-extension question: I prepared a concrete capability
    and lifecycle proposal at #51020, linked to this issue and #36855.

    My use case is reusable workflow plugins with purpose-specific explorer,
    reviewer, and architecture roles. Today, I need a separate role installer and
    policy management. Native role loading would remove the copied agent files;
    host-reviewed, workspace-scoped capability requests would let those roles run
    their tools within an explicit access boundary. These are complementary
    capabilities, and this issue remains the native agent-packaging request.

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