opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: GitHub-based Agent Marketplace for Sharing and Discovering Agents

Open mporracindie opened this issue 2 weeks ago • 2 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Problem Statement

Currently, sharing agents between users and teams requires manual file copying or maintaining separate configuration repositories. There's no integrated way to:

  • Discover useful agents created by the community
  • Install agents from remote sources directly into OpenCode
  • Maintain a curated collection of agents across an organization
  • Browse agents compatible with Claude Code's marketplace format

Proposed Solution

Implement a decentralized agent marketplace using GitHub repositories as registries, similar to Claude Code Marketplaces.

Key Features

  1. GitHub as Registry: Use any GitHub repository (public or private) as an agent source
  2. TUI Integration: Browse, search, and install agents directly from the terminal interface
  3. Multiple Installation Scopes: Install agents globally (~/.config/opencode/agent/) or per-project (.opencode/agent/)
  4. Claude Code Compatibility: Support repos that use Claude Code's directory conventions (.claude/agents/, .claude/skills/) without requiring a registry.json
  5. Private Repository Support: Authenticate via GITHUB_TOKEN, gh CLI, or OpenCode's auth store

Configuration Example

  {
    "marketplace": {
      "sources": [
        {
          "repo": "myorg/agent-collection",
          "ref": "main"
        },
        {
          "repo": "anthropics/claude-code-agents",
          "private": false
        }
      ],
      "cacheDuration": 3600000
    }
  }

Use Cases

  • Teams: Share standardized agents across an organization via a private GitHub repo
  • Community: Discover and install community-contributed agents
  • Cross-tool: Use the same agent repositories with both OpenCode and Claude Code

Additional Context

This would enable the ecosystem growth seen in other plugin/extension marketplaces while maintaining OpenCode's decentralized philosophy by using GitHub as the storage backend rather than a centralized server.

mporracindie avatar Jan 09 '26 11:01 mporracindie

This issue might be a duplicate of existing issues. Please check:

  • #3087: Plug-ins repository - Request for a community plugin repository
  • #3471: Streamlined Distribution for Agent Definitions - Specifically addresses sharing agents with minimal friction, including via plugins
  • #753: Feature Request: Extensible Plugin System for OpenCode - Comprehensive plugin system with marketplace capabilities (including plugin distribution)
  • #6207: [FEATURE]: Easily import settings/agents/MCP servers from other tools - Related effort to import agents from external tools

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Jan 09 '26 11:01 github-actions[bot]

i second this! the discoverability for plugins and mcps through the "/plugins" command in Claude Code is amazing and should be integrated into OpenCode too.

ropl-btc avatar Jan 11 '26 00:01 ropl-btc