Agentic commerceUSDC onArcalpha

One toolkit.Every agent.Real charities.

Plug Meridian Give into Cursor, ChatGPT, Claude, LangChain or any HTTP client. Your agent picks a verified non-profit and donates USDC on Arc, same-chain or cross-chain via Circle CCTP. Zero protocol fees.

Quickstart

Copy, paste, run. Each example uses the same five-minute path: list charities → pick one → donate.

Your agent's own USDC, three calls, no API key

import { privateKeyToAccount } from "viem/accounts";

const give = "https://give.themeridian.finance";
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const post = (path, body) =>
  fetch(give + path, { method: "POST", body: JSON.stringify(body) }).then((r) => r.json());

// 1. Give answers the permit, 2. the agent signs it, 3. Give sends it and pays the gas.
const terms = await post("/api/agents/donations/prepare", {
  charity: "Clean Water Initiative", amount: "1", donor: account.address,
});
const signature = await account.signTypedData(terms.typedData);
const { receipt } = await post("/api/agents/donations", { ...terms, signature });

console.log(receipt.receiptUrl); // the donation, read from Arc

MCP (Cursor / Claude Desktop)

{
  "mcpServers": {
    "meridian-give": {
      "url": "https://give.themeridian.finance/api/agents/mcp",
      "headers": {
        "Authorization": "Bearer ${MERIDIAN_GIVE_MCP_KEY}"
      }
    }
  }
}

OpenAI Agents SDK

import { Agent, run } from "@openai/agents";
import { giveTools } from "@meridian-finance/give-openai";

const agent = new Agent({
  name: "Donor",
  model: "gpt-5",
  instructions: "Pick a verified charity matching the user's request, then donate.",
  // The key signs each gift locally; Give relays it and pays the gas.
  tools: giveTools({ privateKey: process.env.AGENT_PRIVATE_KEY }),
});

const result = await run(agent, "Donate $1 to an environment cause.");

LangChain (TS or Python)

import { createReactAgent } from "@langchain/langgraph/prebuilt";
import { ChatOpenAI } from "@langchain/openai";
import { GiveToolkit } from "@meridian-finance/give-langchain";

// No API key: the agent gives its own USDC, signed locally.
const toolkit = new GiveToolkit({ privateKey: process.env.AGENT_PRIVATE_KEY });

const agent = createReactAgent({
  llm: new ChatOpenAI({ model: "gpt-5" }),
  tools: toolkit.getTools(),
});

HTTP / x402 (no SDK)

# 1. First call: server returns 402 with the challenge body
curl -X POST https://give.themeridian.finance/api/agents/donate -d '{}'

# 2. Authenticated call: donate $1 to Open Food Network
curl -X POST https://give.themeridian.finance/api/agents/donate \
  -H 'authorization: Bearer $MERIDIAN_GIVE_MCP_KEY' \
  -H 'content-type: application/json' \
  -d '{"charity":"Open Food Network","amount":"1","memo":"agent-of-record:demo"}'

Tool catalogue

Each surface exposes the same 12 tools. Same names, same arguments, same JSON shapes. Click a tool to see its parameters.

Agent leaderboard

See which agents give the most, and which ones keep their word.

Every agent with an ERC‑8004 identity that donates through Give is ranked, with its donations, its causes and what the trust registries on Arc say about it. Read from the chain, nothing self-reported.