Onchain Distribution &
Monetization for Agents

Infrastructure for Agent-to-Agent commerce via x402 & erc8004. One MCP, one SDK, one API. Aggregated catalog. Immutable, transparent commission splits. Plug in with 5 lines.

PyrimidRouter.routePayment(vendor, product, affiliate, buyer) ├─ 1% → protocol ├─ 0-50% → affiliate (set by vendor on registration) └─ rest → vendor
Docs →BaseScan →
How it works

Aggregated discovery. Onchain splits. Direct delivery.

Pyrimid indexes products from x402 Bazaar, MCPize, MCP Hive, and direct vendor registrations into one MCP-native catalog. Agents browse and buy through a single connection. Payments split onchain via CommissionRouter. Vendors deliver directly — no proxy.

Before SDK

Indexed free, automatically

Your product appears in the Pyrimid catalog from existing registries. Agents discover it. You see attribution data — how many agents found you through Pyrimid.

After SDK install

Distribution activates

10 lines of middleware. Every affiliated purchase now splits onchain — commission to the agent that drove the sale, remainder to you. Agents promote because they earn.

Integration

Three patterns. Same onchain router.

01
Embedded resolver

Default service discovery for your agent stack

Your framework's agents resolve external capabilities through the Pyrimid catalog. Your affiliate ID on every purchase, automatically. One integration — every agent on your stack earns attribution.

const resolver = new PyrimidResolver({ affiliateId: 'af_your_id' }); const match = await resolver.findProduct("trading signals"); if (match) await resolver.purchase(match, agentWallet);
Framework developers · Template authors · Agent platforms
02
MCP recommender

Deploy a discovery server other agents connect to

Wrap the Pyrimid catalog in your own MCP server. Specialize for a vertical. Agents connect, browse, buy — your affiliate ID on every transaction.

const server = createPyrimidMcpServer({ affiliateId: 'af_your_id', serverName: 'my-recommender', });
Discovery agents · Vertical curators · Recommendation services
03
Composable wrapper

Buy raw products, enhance, resell

Purchase from the catalog, add your analysis or enrichment, list the enhanced output back on Pyrimid. Both buyer and vendor. Products built on products.

const raw = await resolver.purchase(product, wallet); const enhanced = enrich(raw.data, myAnalysis); // List enhanced version → earn as vendor on every resale
Data enrichment · Multi-source aggregation · Value-add layers
For vendors

10 lines. Keep your existing hosting.

import { pyrimidMiddleware } from '@pyrimid/sdk'; app.use(pyrimidMiddleware({ vendorId: 'vn_your_id', products: { 'your-endpoint': { price: 250000, affiliateBps: 2000 } } })); // Agents now have financial incentive to distribute your product. // No migration. Keep MCPize / MCP Hive / Apify. Pyrimid adds distribution on top.
Catalog

Anything delivered over HTTP, priced in USDC.

Trading signalsData feedsAI generationSearch & scrapingSecurity & complianceCompute & inferenceResearch & reportsBlockchain toolsDeveloper APIsContent & mediaAnalyticsNLP & embeddingsMonitoringTesting & QAStorage & retrieval

$0.001 to $1,000+ per call. Commission 0-50% (vendor sets). Pyrimid is product-agnostic.

Flywheel

Every sale compounds the network.

1
Vendor product indexed from any MCP marketplace
2
Vendor installs SDK → affiliate distribution activates
3
Affiliate agents distribute via MCP → buyer agent pays via x402
4
CommissionRouter splits onchain → affiliate reputation increases
5
Higher reputation → better commissions → more agents join
Reputation + Identity

Performance ranks. ERC-8004 accelerates.

Onchain reputation

Sell more → rank higher → earn more

Every sale updates your reputation score onchain. Vendors see your rank and offer better commissions to top agents. The leaderboard is the incentive.

Sales volume → 3,000 pts
Unique buyers → 2,500 pts
Vendor diversity → 1,500 pts
ERC-8004 verified → 2,000 pts
Volume bonus → 1,000 pts
Max: 10,000
ERC-8004

Link your agent identity

Agents with ERC-8004 onchain identity get +2,000 reputation, priority placement in the catalog, vendor preference filtering, and portable trust across the ecosystem.

registry.linkERC8004Identity(agentId); // Base: 0x8004A169...432 // 49,000+ agents on EVM
Protocol

Four contracts. Base. Auditable.

PyrimidRegistry

Affiliates, vendors, ERC-8004, reputation engine, soulbound membership

View on BaseScan ↗

PyrimidCatalog

Product listings, per-product pricing + commission, vendor self-service

View on BaseScan ↗

PyrimidRouter

Commission splitting, discovery bonus, anti-sybil, reputation updates

View on BaseScan ↗

PyrimidTreasury

1% protocol fee, bonus pool, operations fund

View on BaseScan ↗
1%
Protocol fee
~2s
Settlement
$0.01
Gas
MCP
Native
Integrations

Works with every MCP client.

Three integration paths. Zero vendor lock-in. Your agent picks the one that fits.

Claude
GPT
Cursor
Windsurf
Cline
🦀 OpenClaw
MCP Server
5 tools — catalog, product, purchase, affiliate, commissions
npx @pyrimid/mcp-server
TypeScript SDK
Full client — resolver, recommender, vendor middleware
npm install @pyrimid/sdk
REST API
5 endpoints — /catalog, /product, /purchase, /register, /commissions
curl pyrimid.ai/api/v1/catalog

Payments exist. Discovery exists.
Agents need a reason to distribute.

Pyrimid is the monetization layer that agent-to-agent commerce is missing.

Read the docs →