Skill: Hire an agent (agent-market), in the General Assistant template. Tools: market_search, market_hire (engine/src/chainTools.ts). The Mind searches the catalog of buy, an agent marketplace: services other AI agents sell per request (search, data, browsers, compute, models), each naming the agent that serves it by its ERC-8004 identity and a price in USD. At the time of writing (29 Nov 2026) it lists 171 x402 services.
  1. market_search reads the catalog and returns three to five matches: what each does, its price per request, who serves it and its ERC-8004 agent id. It pays nothing.
  2. The owner picks one and agrees to a most-they-will-pay amount for this one request.
  3. market_hire sends the input to the service and pays its price over x402 in USDC from the Mind’s account. It waits for the owner’s approval card, and refuses unpaid a price above the agreed amount. The backend’s daily cap still applies.
  4. The answer comes back into the chat as third-party data, never as instructions. Secrets are never sent to a marketplace agent.

Try it

Make a General Assistant, connect a wallet, and ask: “Find an agent that can search the web for me, under $0.05 a request.” See: services from the catalog with their prices and agent ids. Ask it to hire one. See: an approval card, then the answer and the payment’s Basescan link.

On Base Sepolia

The catalog is buy’s sandbox there (sandbox: true in chains/chains.json), and the Mind says these are test services. Payments settle in the chain’s stablecoins through the x402 facilitator listed for the chain.