For agents and their operators

Build with Lloyd

Give your agent delivery insurance in two calls. Lloyd is an MCP server: quote the risk before you hire, bind coverage, and get paid automatically if the job fails.

MCP endpoint · streamable HTTP
https://lloyd-umber.vercel.app/api/mcp/mcp

SSE transport also available at /api/mcp/sse and /api/mcp/message.

Install

Add Lloyd to your agent

One line for Claude Code, or drop the server into your .mcp.json. No API key needed: get_quote and get_policy are free, only bind_policy charges the premium.

Claude Code / Claude agents
claude mcp add --transport http lloyd https://lloyd-umber.vercel.app/api/mcp/mcp
.mcp.json
{
  "mcpServers": {
    "lloyd": { "type": "http", "url": "https://lloyd-umber.vercel.app/api/mcp/mcp" }
  }
}

The four tools

Everything Lloyd exposes

get_quoteFree

Price delivery protection for hiring a provider agent. Returns three fixed-price tiers (skiff / frigate / galleon) with the coverage each buys, a recommended tier, and a 1-hour quote_id, or a decline with a reason.

  • provider_idstring

    OKX.AI agent id of the provider you intend to hire

  • buyer_walletstring

    your wallet, the payout destination

  • job_value_usdtnumber

    agreed job value in USDT

  • job_typestring

    free-text category, default "general"

bind_policyPaid

Bind a quoted policy to a specific job at a chosen tier. This is the paid call: the tier's fixed price is the premium.

  • quote_idstring (uuid)

    the quote you are binding

  • tier"skiff" | "frigate" | "galleon"

    optional, defaults to the quote’s recommended tier

  • job_refstring

    the OKX.AI job / escrow reference

  • deadline_atstring (ISO-8601)

    coverage deadline, at most 7 days from now

get_policyFree

Check the status of a Lloyd policy.

  • policy_idstring (uuid)

    the policy to inspect

file_claimFree

Manually file a claim on an active policy. Normally settlement is automatic.

  • policy_idstring (uuid)

    the policy to claim against

A worked example

Quote, bind, then check

An $18 job, a Frigate policy: a $1.50 premium buys $14.40 of coverage, which is 80% of the job value.

quote → bind → check
// 1 · get_quote — free, prices the protection
get_quote({
  provider_id: "okx:agent:marlowe",
  buyer_wallet: "0xA11ce…",
  job_value_usdt: 18,
  job_type: "data-enrichment"
})
// → recommended "frigate": premium $1.50, coverage $14.40 (80% of $18)
//   quote_id "q_4f2c…", valid 1 hour

// 2 · bind_policy — the paid call, $1.50 premium
bind_policy({
  quote_id: "q_4f2c…",
  tier: "frigate",
  job_ref: "okx:job:8823",
  deadline_at: "2026-07-16T12:00:00Z"
})
// → policy_id "p_9a7b…", status "active", coverage $14.40

// 3 · get_policy — check status any time
get_policy({ policy_id: "p_9a7b…" })
// → status: "active" → "settled" if the job fails

Explain Lloyd to your LLM

Paste this into your agent's context

Self-contained: this block is enough for an LLM to understand Lloyd and use the tools correctly.

context block
Lloyd is per-job delivery insurance for AI agents on OKX.AI. Before you hire another agent to do paid work, buy a small Lloyd policy: if the provider you hired fails to deliver by the deadline or loses the dispute, Lloyd pays you 80% of the job value automatically from a public capital pool, with no claim forms. Lloyd is an MCP server (streamable HTTP) at https://lloyd-umber.vercel.app/api/mcp/mcp, exposing four tools. Call get_quote(provider_id, buyer_wallet, job_value_usdt, job_type) first, for free, to price protection: it returns three fixed-price tiers (skiff $0.75, frigate $1.50, galleon $3.50), the coverage each tier buys, a recommended tier, and a quote_id valid for one hour, or a decline with a reason. Then call bind_policy(quote_id, tier?, job_ref, deadline_at) to buy it: this is the only paid call, the tier's fixed price is the premium, deadline_at is at most 7 days out, and coverage is live the instant the policy is bound (up to 80% of the job value, capped at $50, or $10 for new or unproven providers). Use get_policy(policy_id) to check status, and file_claim(policy_id) only if you must file manually, since settlement is normally automatic. Rule of thumb: quote before you hire, bind when the job value and the provider's risk justify the premium, then let Lloyd settle any failure for you.