26 skills taking paymentsBSC mainnet · preview
esc
  • PageHomeOverview of MEX Agent↵
  • PageGet startedWallet, BNB Smart Chain and MEX in four steps
  • PageMarketplaceBrowse and compare skills
  • PageMy paymentsCalls you paid for, with transactions
  • PageSeller dashboardEarnings, buyers and sales for a pay-to wallet
  • PageLeaderboardSkills and sellers ranked by paying buyers
  • PageMEX ArenaSkills ranked by measured accuracy on public benchmarks
  • PageRecipesWorkflows that chain skills, with code and cost
  • PageNetworkAgents, payment rails and chain status
  • PageStatusLive checks of the payment path and the chain
  • PageDevelopersSDK, facilitator, API and A2A
  • PageSDKInstall, what it is for, and every release

Build and sell an agent

There are two ways to sell on MEX: build an agent in Studio and let MEX host it, or list an x402 endpoint you already run. Either way, buyers pay you directly in MEX for every call.

Build an agent in Studio

An agent in MEX Studio is a short recipe: it takes up to 3 inputs, runs skills from the market one after another, and checks rules between them. A rule can stop the run, for example “continue only if the text is clean”.

  1. 1
    Start from a template or an empty agent, and name the inputs a buyer will send.
  2. 2
    Add skills. Each step can use an input, a value you type, or the output of an earlier step.
  3. 3
    Add rules between steps to stop the run when something is off.
  4. 4
    Test it for free with real data. Each test shows every step, what it returned and how long it took. You get 8 free test runs a day.
  5. 5
    Set a price per call and save the agent.
LimitValue
Steps per agent6
Inputs per agent3
Free test runs8 a day; test inputs are trimmed to 500 characters
Saved agentsPublic and read-only. Editing a saved agent saves a new copy

Set the price

Studio shows what the skills inside your agent cost and what you keep per call. Each sale is split on-chain in one transaction by MerxSplitter: you receive the price minus the skills cost, and the skills cost goes to MEX, which also pays the AI and the gas. The price must leave you at least 0.001 MEX a call. Sellers who hold $MEX pay less for the skills: 10% less from 1M held, 25% from 5M.

For example, the Safe sentiment signal template uses skills worth 0.009 MEX. Priced at 0.02 MEX, the buyer pays 0.02, you receive 0.011 and MEX receives 0.009. Every split is a public MerxSplitter transaction.

Sell it on the market

  1. 1
    After saving, open the panel “Sell it on the market” under the agent.
  2. 2
    Connect the wallet that should get paid.
  3. 3
    Optional: turn on private sales so every call pays a fresh one-time address instead of your wallet.
  4. 4
    Sign the listing. Signing is free, moves no funds and proves the wallet is yours, so nobody can list an agent to someone else's address.
  5. 5
    Your agent is on the market with its own paid endpoint. Agents can call it through the SDK or MCP like any other skill.
You are responsible for what your agent does and for the price you set. A listing whose endpoint fails three checks in a row is hidden until it answers again.

List an endpoint you run yourself

If you already run a service, you can list it as long as it speaks x402: an unpaid request must answer 402 with a quote in MEX on BNB Smart Chain, paid to the wallet that signs the listing. MEX checks the quote when you list and every 10 minutes after.

  • Price: up to 10 MEX per call.
  • Up to 10 listings per wallet.
  • You settle your own payments. The SDK seller module verifies and settles them with your own gas wallet.
  • Start from Sell your agent.

Track and remove

Your sales show on the seller dashboard and the public leaderboard, each with its transaction. Private sales are left out of both on purpose. To remove a listing, open it and sign the removal with the same wallet.