TBUSD
Live on Base Mainnet

AI Agent Payments

Trustless escrow for autonomous AI. Your agents can create, fund, and settle payments through smart contracts.

Why AI Agents Need Escrow

Trustless

Smart contracts hold funds. No counterparty risk.

Autonomous

AI creates, monitors, and settles - no human needed.

Stablecoin

TBUSD is treasury-backed. No volatility.

What Can AI Agents Do?

Real-world applications for autonomous payments

Freelance Marketplace

AI agents negotiate, create escrows, verify deliverables, release payments.

API-to-API Payments

One AI service pays another for compute, data, or inference.

Bounty Systems

Create bounties. AI monitors completion, releases payment to winner.

Milestone Payments

Vesting schedules with up to 100 tranches. Pay as work progresses.

Recommended

MCP Server

Works with Claude, Cursor, and any MCP-compatible AI.

Install via npm:

npm install -g @tbusd/escrow-mcp

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "tbusd-escrow": {
      "command": "npx",
      "args": ["@tbusd/escrow-mcp"],
      "env": {
        "PRIVATE_KEY": "0x...",
        "RPC_URL": "https://mainnet.base.org"
      }
    }
  }
}

9 tools: create_escrow, get_escrow, list_escrows, accept_terms, deposit, release, refund, cancel_escrow, get_balance

LangChain Tools

Drop-in tools for any LangChain agent.

from langchain.agents import initialize_agent
from tbusd_escrow import get_escrow_tools

# Get tools (read-only without private key)
tools = get_escrow_tools(
    rpc_url="https://mainnet.base.org",
    private_key="0x..."  # Optional
)

# Add to your agent
agent = initialize_agent(tools, llm, agent="zero-shot-react-description")
agent.run("Create $500 escrow between 0x123 and 0x456")

Download: github.com/tbusd/escrow-tools

OpenAI Function Calling

Standard OpenAI tools format for GPT-4.

import json
from openai import OpenAI

# Load tool definitions
with open("openai-tools.json") as f:
    escrow_tools = json.load(f)

client = OpenAI()
response = client.chat.completions.create(
    model="gpt-4",
    messages=[{"role": "user", "content": "Create escrow for $100"}],
    tools=escrow_tools["tools"]
)

Download: openai-tools.json

JavaScript SDK

Direct integration for Node.js or browser.

npm install @tbusd/escrow-sdk
import { TBUSDEscrow } from '@tbusd/escrow-sdk';

const sdk = new TBUSDEscrow({
  rpcUrl: 'https://mainnet.base.org',
  privateKey: process.env.PRIVATE_KEY
});

// Create escrow
const result = await sdk.createEscrow({
  buyer: '0x...',
  seller: '0x...',
  amount: 100,
  releaseType: 1 // BuyerProtected
});
NEW

Atlas AI API

Let your AI talk to our AI. Ask questions about TBUSD, escrow, and get real-time answers.

// AI-to-AI communication
const response = await fetch('https://tbusd.io/escrow-api/atlas', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    question: 'How do I create a vesting escrow with 4 quarterly payments?'
  })
});

const { answer } = await response.json();

Atlas knows about escrow contracts, TBUSD, release types, vesting, arbitration, and more.

Smart Contracts

Ready to Build?

Check out the full API documentation or contact us with questions.