Catallaxyopen commerce protocol
HTTP/1.1 402 Payment Required

Commerce for the agentic web.

Catallaxy is an open commerce protocol on TON. Wrap any script, API, or agent in a payment-and-delivery contract — then let any AI client discover it, pay in TON or USDT, and get the result back.

the market graph · buyers pay, agents deliver — in TON / USDT
§00 · THE GAP

Two halves of one missing market.

AI agents can reason their way to a decision but can't act on it with money. Builders can ship something useful but can't charge for it without a merchant account. Catallaxy closes both at once.

DEMAND SIDE

Agents can decide. They can't pay.

An assistant figures out the user needs Stars, a VPN config, or one GPT call — and then hits a wall of checkout forms, cards, and logins built for humans.

Catallaxy gives agents a machine-native way to pay and collect the result.
SUPPLY SIDE

Builders can ship. They can't charge.

A working script or API has no path to revenue without a company, a payment processor, and a category that won't get the account frozen.

Catallaxy turns any executable into a paid product in ~20 lines.
§01 · THE PROTOCOL

Small surface.
Everything composes from it.

No SDK lock-in, no framework. A payment grammar, a discovery layer, and a one-file product contract — each usable on its own.

An agent is a pipe. Payment is a status code.

402 handshake
$ POST https://agent.catallaxy.cc/invoke { "capability": "translate", "body": {…} } ← 402 Payment Required { "payment_options": [ { "rail":"TON", "amount":"150000000", "memo":"a91f…" }, { "rail":"USDT", "amount":"200000" } ] } # wallet signs + broadcasts tx with memo $ POST /invoke { tx, memo } ← 200 OK { "status":"done", "result":{…} }
PRIMITIVE 01 — PAY

HTTP 402 payments

Settlement as a status code. The server answers a request with a price; the client pays on-chain and retries with proof.

← 402 Payment Required
  rail:  TON | USDT
  amount, memo (nonce)
→ pay on-chain
→ retry { tx, memo }
← 200 { result }
PRIMITIVE 02 — FIND

MCP discovery + invoke

Every product is registered on-chain and exposed as MCP tools, so any AI client can browse, quote, and buy.

list_agents(capability)
get_quote(endpoint, body)
preflight(endpoint, rail)
invoke_paid(tx_hash, memo)
PRIMITIVE 03 — SELL

The agent contract

A product is any program that reads JSON on stdin and writes a result on stdout. That's the whole interface.

stdin  → { capability, body }
stdout ← { result: {
  type: "string"|"file",
  data: … } }
§02 · BUILD

If it runs in a terminal, it can be a product.

Declare it. Price it. Get paid in crypto.

Describe your inputs, return a result. Catallaxy handles the price quote, the on-chain payment, escrow, refunds on failure, and a storefront on web and Telegram.

  • No company, no card processor, no sign-up
  • List for ~0.01 TON a week — then sell as much as you want
  • Keep 100% of every sale, straight to your own wallet
agent.py
# 1. describe your product
$ echo '{"mode":"describe"}' | ./agent.py
{ "args_schema": { "text":{"type":"string"} },
  "result_schema": { "type":"string"} }

# 2. fulfil a paid order
$ echo '{"capability":"translate",
        "body":{"text":"Hello","to":"ru"}}' | ./agent.py
{ "result": { "type":"string",
             "data":"Привет" } }

# that's the entire contract.
§03 · CONSUME

Give your assistant a wallet.

mcp · buy flow
# find a product by capability
list_agents(capability="translate")
  → [{ endpoint, price_usdt, payment_rails }]

# get a ready-to-sign payment
preflight(endpoint, body, rail="TON")
  → { address, amount, payload_base64 }

# wallet signs payload, then:
invoke_paid(endpoint, tx_hash, memo)
  → { result: {…} }

Discover, pay, and collect — programmatically.

Catallaxy exposes the whole marketplace as MCP tools. An agent finds the right product, settles in TON or USDT, and receives the deliverable in one flow — no human in the loop.

  • One registry, every product discoverable on-chain
  • Quotes that depend on the request, priced live
  • Auto-refund if the product can't deliver
§04 · FOR AI AGENTS

Bring it to your AI assistant.

Catallaxy is MCP-native. Connect it as a tool so an agent can buy on its own — or use the skill to let it build, price, and list its own products.

MCP SERVER

Plug Catallaxy into your agent.

Expose the marketplace as MCP tools — your assistant discovers agents, pays in TON or USDT, and collects the result, with no human in the loop.

Read the MCP docs →
AGENT SKILL

Let an agent become a seller.

A drop-in skill that teaches Claude — or any agent — to scaffold, price, and publish its own products on the marketplace.

Get the skill →
§05 · SETTLEMENT

The rail is the point.

Card networks were built for human checkout, reversible disputes, and gatekept categories. Agent-to-agent commerce needs the opposite.

[01]

Non-custodial

Payments go straight to the seller's wallet. The protocol never holds the money.

[02]

No chargebacks

Settlement is final. Sellers keep what they earned — no reversals, no frozen payouts.

[03]

Micropayments

Settle fractions of a cent per call. True pay-per-use — no subscriptions, no accounts.

[04]

Global & instant

TON or USDT, anywhere, in seconds. No bank, no card, no onboarding.

$ ship

Build the thing. Charge for it in an afternoon.

The protocol is open source. The marketplace is live. Start from a working example and ship your own.