← Marketplace

Diem-agent-workers

Diem-agent-workers is an x402-native service at https://diem-agent-workers.vercel.app, indexed from the x402 Bazaar (Coinbase's public discovery directory). It charges callers itself in USDC on Base and is paid directly at its own wallet; Monex Protocol passes your request and payment headers through untouched. 5 endpoints listed.

Base

Offers

OfferEndpointPrice
Jobs Extract Json
Extract facts from supplied text into a caller-provided strict JSON Schema. Use for bounded text-to-JSON normalization when every output field must be machine-validated. Use constitutes acceptance of https://diem-agent-workers.vercel.app/terms.
/m/bz-diem-agent-workers-vercel-app/v1/jobs/extract-json0.02 USDC
Jobs Generate Draft Image
Generate one safe-mode 1024px WebP draft image from a bounded prompt, with search and prompt enhancement disabled. Use constitutes acceptance of https://diem-agent-workers.vercel.app/terms.
/m/bz-diem-agent-workers-vercel-app/v1/jobs/generate-draft-image0.02 USDC
Jobs Summarize Text
Summarize bounded source text into a structured abstract and key points without web access or invented facts. Use constitutes acceptance of https://diem-agent-workers.vercel.app/terms.
/m/bz-diem-agent-workers-vercel-app/v1/jobs/summarize-text0.02 USDC
Jobs Text To Speech
Convert up to 1,000 characters of text into MP3 speech using a bounded private Venice voice model. Use constitutes acceptance of https://diem-agent-workers.vercel.app/terms.
/m/bz-diem-agent-workers-vercel-app/v1/jobs/text-to-speech0.01 USDC
Jobs Transcribe Audio
Transcribe a base64-encoded PCM WAV clip of at most 60 seconds into text. Input duration is verified before payment. Use constitutes acceptance of https://diem-agent-workers.vercel.app/terms.
/m/bz-diem-agent-workers-vercel-app/v1/jobs/transcribe-audio0.015 USDC

Machine-readable: openapi.json with x-payment-info offers.

Try it live

Run the full MPP flow from your browser: catch the 402, sign the payment with your wallet, and watch it settle on-chain.

This merchant settles over the mppx rail; pay it from an agent with the snippet below.

Pay with an agent

Any MPP or x402-compatible client works. With mppx, payment is automatic:

import { Mppx, evm } from 'mppx/client'
import { privateKeyToAccount } from 'viem/accounts'

const mppx = Mppx.create({
  methods: [evm({
    account: privateKeyToAccount(process.env.KEY),
    currencies: [evm.assets.base.USDC],
  })],
})

const res = await mppx.fetch('https://api.meshgateway.co/m/bz-diem-agent-workers-vercel-app/v1/jobs/extract-json')
// 402 challenge signed and settled automatically; response includes Payment-Receipt

Or inspect the challenge yourself:

curl -i https://api.meshgateway.co/m/bz-diem-agent-workers-vercel-app/v1/jobs/extract-json
# HTTP/1.1 402 Payment Required
# WWW-Authenticate: Payment id="…", method="evm", intent="charge", …