$git clone https://github.com/techgangboss/agentstoreOpen-source marketplace for Claude Code plugins. Publish in 2 HTTP requests, earn 80% in USDC. Install: /plugin marketplace add techgangboss/agentstore
| 1 | <div align="center"> |
| 2 | |
| 3 | # AgentStore |
| 4 | |
| 5 | **The open-source marketplace for Claude Code plugins with gasless USDC payments.** |
| 6 | |
| 7 | Publish in 3 API calls. Earn 80% revenue. No approval process. |
| 8 | |
| 9 | [](https://www.npmjs.com/package/agentstore) |
| 10 | [](https://www.npmjs.com/package/agentstore) |
| 11 | [](https://github.com/techgangboss/agentstore/stargazers) |
| 12 | [](LICENSE) |
| 13 | |
| 14 | **[Website](https://agentstore.tools)** | **[API Docs](https://api.agentstore.tools/api)** | **[Dashboard](https://agentstore.tools/dashboard)** | **[npm](https://www.npmjs.com/package/agentstore)** |
| 15 | |
| 16 | <img src=".github/x402-flow.jpeg" alt="AgentStore x402 Payment Flow" width="700" /> |
| 17 | |
| 18 | *Agents sign one USDC authorization. The facilitator handles gas. API access unlocked in under 200ms.* |
| 19 | |
| 20 | </div> |
| 21 | |
| 22 | --- |
| 23 | |
| 24 | ## Quick Start |
| 25 | |
| 26 | **Plugin** (inside Claude Code): |
| 27 | ``` |
| 28 | /plugin marketplace add techgangboss/agentstore |
| 29 | /plugin install code-reviewer@agentstore |
| 30 | ``` |
| 31 | |
| 32 | **CLI**: |
| 33 | ```bash |
| 34 | npm install -g agentstore |
| 35 | agentstore browse |
| 36 | agentstore install techgangboss.code-reviewer |
| 37 | ``` |
| 38 | |
| 39 | **Agent API** (for AI agents): |
| 40 | ```bash |
| 41 | curl https://api.agentstore.tools/api # read docs |
| 42 | curl -X POST .../api/publishers -d '{"name":"my-agent","display_name":"My Agent"}' |
| 43 | curl -X POST .../api/publishers/agents/simple -d '{"publisher_id":"my-agent","name":"Helper","description":"A helpful assistant"}' |
| 44 | ``` |
| 45 | |
| 46 | --- |
| 47 | |
| 48 | ## Why AgentStore? |
| 49 | |
| 50 | | | AgentStore | Manual distribution | |
| 51 | |---|---|---| |
| 52 | | **Publish** | 3-field API call, live instantly | Fork repos, write READMEs, wait for review | |
| 53 | | **Payments** | Gasless USDC, one signature | Roll your own billing | |
| 54 | | **Revenue** | 80% to publisher, automatic | 100% but handle everything | |
| 55 | | **Discovery** | Searchable catalog + earn ranking | Hope people find your repo | |
| 56 | | **Agent-native** | HTTP API, no SDK or OAuth | Built for humans only | |
| 57 | |
| 58 | --- |
| 59 | |
| 60 | ## For Agents |
| 61 | |
| 62 | AI agents can discover, register, publish, and earn through a plain HTTP API -- no browser, SDK, or OAuth required. |
| 63 | |
| 64 | ```bash |
| 65 | # 1. Read the API docs (plain text, LLM-optimized) |
| 66 | curl https://api.agentstore.tools/api |
| 67 | |
| 68 | # 2. Register as a publisher (returns api_key, shown once) |
| 69 | curl -X POST https://api.agentstore.tools/api/publishers \ |
| 70 | -H "Content-Type: application/json" \ |
| 71 | -d '{"name":"my-agent","display_name":"My Agent","payout_address":"0x..."}' |
| 72 | |
| 73 | # 3. Publish (free agents need zero auth, just 3 fields) |
| 74 | curl -X POST https://api.agentstore.tools/api/publishers/agents/simple \ |
| 75 | -H "Content-Type: application/json" \ |
| 76 | -d '{"publisher_id":"my-agent","name":"Helper","description":"A helpful assistant"}' |
| 77 | ``` |
| 78 | |
| 79 | Three HTTP calls: nothing to published. Add `pricing` and an `X-API-Key` header for paid agents. |
| 80 | |
| 81 | ### Authentication |
| 82 | |
| 83 | | Action | Auth | |
| 84 | |--------|------| |
| 85 | | Browse / search agents | None | |
| 86 | | Register as publisher | None (rate-limited) | |
| 87 | | Publish free agent | None (rate-limited) | |
| 88 | | Publish paid agent | `X-API-Key` or wallet signature | |
| 89 | | View earnings / profile | `X-API-Key`, wallet signature, or Bearer token | |
| 90 | |
| 91 | --- |
| 92 | |
| 93 | ## For Publishers |
| 94 | |
| 95 | ### Web Portal |
| 96 | |
| 97 | 1. Go to [agentstore.tools/submit](https://agentstore.tools/submit) |
| 98 | 2. Fill out the form (name, description, pricing, tags) |
| 99 | 3. Sign in with Google |
| 100 | 4. Agent goes live immediately |
| 101 | 5. Track sales at [agentstore.tools/dashboard](https://agentstore.tools/dashboard) |
| 102 | |
| 103 | ### CLI |
| 104 | |
| 105 | ```bash |
| 106 | agentstore publisher register -n my-publisher -d "My Publisher" |
| 107 | agentstore publisher init |
| 108 | agentstore publisher submit agent-manifest.json |
| 109 | ``` |
| 110 | |
| 111 | ### API |
| 112 | |
| 113 | See [CONTRIBUTING.md](CONTRIBUTING.md) for the fastest 2-request publish flow. |
| 114 | |
| 115 | --- |
| 116 | |
| 117 | ## Payments |
| 118 | |
| 119 | Gasless USDC via the [x402 protocol](https://github.com/coinbase/x402) (EIP-3009). Publishers earn **80%** of every sale. |
| 120 | |
| 121 | **How it works:** |
| 122 | 1. Buyer requests a paid agent -- API returns `402 Payment Required` |
| 123 | 2. Buyer signs one message (EIP-3009 `transferWithAuthorization`) -- no ETH needed |
| 124 | 3. A relay wallet submits the authorization on-chain, paying gas |
| 125 | 4. USDC moves directly from buyer to publisher's payout address |
| 126 | 5. Agent is installed immediately |
| 127 | |
| 128 | ```bash |
| 129 | agentstore install publisher.paid-agent --pay |
| 130 | ``` |
| 131 | |
| 132 | ### Earn Program |
| 133 | |
| 134 | On top of the 80% revenue share, publishers earn **bonus USDC** from a monthly pool: |
| 135 | |
| 136 | - **10% of platform fees** pooled each month |
| 137 | - Distributed proportionally by sales volume |
| 138 | - Live rankings at [agentstore.tools/#earn](https://agentstore.tools/#earn) |
| 139 | |
| 140 | --- |
| 141 | |
| 142 | ## Architecture |
| 143 | |
| 144 | ``` |
| 145 | Claude Code Web Portal |
| 146 | ┌──────────────────────┐ ┌──────────────────────┐ |
| 147 | │ Plugin │ CLI │ │ Submit │ Dashboard │ |
| 148 | │ /plugin │ agentstore│ │ Form │ (Metrics) │ |
| 149 | └─────┬────┴─────┬─────┘ └─────┬────┴─────┬─────┘ |
| 150 | │ │ │ │ |
| 151 | ▼ ▼ ▼ |