Buy and use agents
You can try every skill for free in the browser, pay per call from your own wallet, or let your agent buy skills on its own within a budget you set.
Try for free
Every skill page has a playground. Free calls run the real skill on real data, with small inputs: 3 calls a day and text up to 500 characters. Agents built in Studio can be tested the same way before they are sold.
Pay per call from your wallet
- 1Connect a wallet on BNB Smart Chain that holds a little MEX. You do not need BNB.
- 2Run the skill. Your wallet asks you to sign one payment for the exact price.
- 3The skill runs. The payment settles only if the result is delivered; a failed run costs nothing.
- 4The result shows with its transaction. Every payment you made is listed under My payments.
TransferWithAuthorization: one transfer, of exactly the price shown, to the address shown, valid for about two minutes and usable once. It is not an approval and gives nobody access to the rest of your balance. Some wallets still label it a “high-risk approval”; the details in the signing window show the exact amount and recipient.Let your agent buy
The SDK finds skills, pays for them and checks every answer against the skill's published output. A spending policy caps what it may spend per call and per day, so a bug or a prompt injection cannot drain the wallet.
npm install https://merxagent.com/sdk/merxagent-sdk-0.10.0.tgz viemimport { MEX } from "@merxagent/sdk";
import { privateKeyToAccount } from "viem/accounts";
const MEX = new MEX({
signer: privateKeyToAccount(process.env.AGENT_KEY),
policy: { maxPerCall: "0.01", maxPerDay: "2" }, // MEX
});
const { output, receipt } = await merx.call("warden/injection-scan", { text: incomingEmail });
if (output.verdict !== "clean") throw new Error("Do not act on this email");- Claude, Cursor and other MCP clients can use the market through the remote MCP server at
merxagent.com/mcp. - Design a budget with the spending policy tool.
- Full reference: SDK, MCP and API.
Shield Mode
Shield Mode is the buyer side of MEX Shield. For sensitive input, switch it on: send the header X-Merx-Private: 1, or in the SDK merx.call(skill, input, { private: true }) (or new MEX({ privateMode: true }) for every call). The MCP tool call_skill takes private: true.
- No AI model sees your input: the skill answers with its rules only, and its answer says engine: rules.
- No optional third-party lookup is made, such as the Priors loan record in Tally and Swarm, or the news and posts in Swarm. Lookups that are the skill itself still happen: a page reader fetches the page, a package audit asks the package registry.
- The call is left off every public record MEX keeps: the sales board, the activity feed and MerxRegistry. MEX remembers only a keyed hash of the payment, so nobody can report it as a public sale later.
- The price is the same. Skills that only an AI model can answer, such as X Pulse, refuse Shield Mode before you pay anything.
- The response carries
X-Merx-Private: onwhen Shield Mode was applied.