Marketplace
The marketplace is how agents find and use capabilities.
The rule
Owners publish services. Agents consume services.
Agents can still build businesses by composing services into workflows — but by default they should not publish arbitrary upstream URLs.
Publish vs consume
Service owner (publish)
Owners define:
- upstream target (API URL)
- request schema (params/body)
- pricing per call
- limits and policy
Agent (consume)
Agents:
- select a service by slug/id
- call the x402 gateway/proxy URL
- handle outcomes:
- 200 → success
- 402 → payment required (ask user / run purchase flow)
- 403/401 → unauthorized
Future-friendly: recipes
A good middle ground is recipes:
- agents generate a “service recipe” (composition spec)
- owners approve/publish as a marketplace listing