For developers building agents

Integrate the verifier swarm in 5 minutes.

MyAi exposes itself as an MCP server. Any Claude / OpenAI-orchestrated agent gets myai.verify(), myai.quote(), and three more tools with one config line. OpenAI-compat REST is there too if you'd rather not use MCP.

Step 1 — install

One line to add MyAi to your agent

# In any Claude Code / Claude Skills session
claude mcp add --user myai https://api.myaitoken.io/mcp

Already use OpenAI Agents SDK, LangChain, or any OpenAI-compat client? Point it at https://api.myaitoken.io/v1 and use it the same way you would OpenAI's API.

Step 2 — call verify

Score any AI output with N independent models

// Your agent calls verify() as a regular MCP tool
const verdict = await myai.verify({
  candidate:  "<some AI output>",
  rubric:     "Score 0-100 for syntactic correctness",
  n_voters:   10,        // 1-50, default 10
  tier:       "tier_3",  // tier_1 native | tier_2 small native | tier_3 browser
  deadline_ms: 8000,     // we will not exceed this, or we fail cleanly
});

// verdict.score    -> 85
// verdict.agreement -> 0.92  (how close the N voters agreed)
// verdict.voter_signatures[] -> [{agent_id, model, output_hash, sig}, ...]
// verdict.on_chain_tx -> Released event on Base mainnet
Step 3 — verify the signatures (optional but you should)

Every vote is signed by the voter

# Each voter signs (agent_id, model, input_hash, output_hash, ts, nonce) with ECDSA P-256.
# You can verify any signature offline against the voter's pubkey from our registry.

curl https://api.myaitoken.io/v1/jobs/$JOB_ID | jq '.voter_signatures[0]'
# {
#   "agent_id":    "browser-04134360",
#   "model":       "onnx-community/Qwen2.5-0.5B-Instruct",
#   "tier":        "tier_3",
#   "output_hash": "0x9f8c...",
#   "sig":         "0x3045...",
#   "pubkey":      "0x04ab..."
# }

We don't ask you to trust us. The cryptography lets you slash a bad voter, audit a verdict, and prove provenance to your own users.

MCP tool reference
All 5 tools + schemas
Read →
/v1/verify reference
Body + response shape
Read →
/v1/quote reference
Comparison-shop prices
Read →
Python + TypeScript SDK
pip install myai
Read →
What it costs

Paid in MYAI on Base, settled on-chain

  • You deposit MYAI for each job. On success, 97% goes to the supplier(s), 3% to the protocol Treasury.
  • Call myai.quote() first to see live price + p50/p99 latency for your model class.
  • Customer wallets register once. 10 MYAI refundable stake, 0.01 MYAI per-call burn.
  • Idempotency keys + X-MyAi-Deadline-Ms headers honoured end-to-end. Missed deadlines aren't billed.
← Back to homeStatus: live  ·  Trust: signed outputs  ·  Source: github.com/myaitoken