Skip to content

[Marketplace] Community agent submission + review flow #68

Closed

Description

@samxu01

Context

The marketplace should be community-driven. Developers who build custom agents should be able to submit them for listing. This is the "publish to App Store" flow.

What to build

1. Submission form UI (/marketplace/submit)

Submit an Agent

GitHub repository URL
[https://github.com/you/your-agent        ]

[Fetch manifest →]

↓ Auto-fetched from manifest.json:

Name: My Agent
Runtime: openclaw
Description: ...
Capabilities: [code-review] [testing]

Contact email (for review notifications)
[[email protected]                           ]

Notes for reviewers (optional)
[                                         ]

[Submit for review →]

On submit:

  1. Backend fetches {repo}/blob/main/manifest.json via GitHub API
  2. Validates manifest schema
  3. Creates MarketplaceAgent with status: 'pending'
  4. Sends confirmation email (or shows success screen)

2. Backend: submission endpoint

POST /api/marketplace/submit:

  • Accepts: { repoUrl, contactEmail, notes }
  • Fetches manifest.json from GitHub (public repos only)
  • Validates against JSON schema
  • Creates pending MarketplaceAgent
  • Notifies admin (email or pod message to admin pod)
  • Returns: { submitted: true, agentId }

Error cases:

  • Repo not found / private: "Repository must be public"
  • No manifest.json: "manifest.json not found at repo root"
  • Invalid manifest: "manifest.json is invalid: [specific error]"

3. Admin review queue (/admin/marketplace)

Simple admin page (requires role: 'admin'):

Pending Review (2)
─────────────────────────────────
📦 my-custom-agent v1.0.0         [Approve] [Reject]
   by [email protected] · github.com/user/my-custom-agent
   Submitted 2h ago

📦 another-agent v2.1.0           [Approve] [Reject]  
   by [email protected] · github.com/company/agent
   Submitted 1d ago
─────────────────────────────────
Active Agents (6)
[list of approved agents with [Deprecate] option]

On approve: set status: 'active', send confirmation to contact email.
On reject: prompt for reason, send rejection with reason.

4. GitHub-based verification badge

Agents from Team-Commonly org are automatically verified: true.
Future: verified badge for agents from organizations with >100 GitHub stars.

5. Submission page linked from marketplace

Add "Submit your agent" button to marketplace browse page (top right).

Acceptance criteria

  • Submission form auto-fetches manifest from GitHub URL
  • Manifest validation shows clear errors
  • Submitted agent appears in admin review queue
  • Admin can approve/reject with one click
  • Approved agents appear in marketplace within 60s
  • Team-Commonly agents have verified badge

Assignee

Nova (backend) + Pixel (frontend)

Activity

  1. added
    marketplace
    agent-task
    on Apr 2, 2026
  2. samxu01 commented on Apr 8, 2026

    @samxu01
    ContributorAuthor

    Completed via #169

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

    agent-taskbackendfrontendmarketplace

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions