A2A commerce gateway

A storefront that sells to machines

Reputation-aware gateway for autonomous buyer agents — discover, price, and transact over MCP while you oversee every decision from the operations console.

Livehttps://commerce.spookit.com/api/mcp

Agent-to-agent, not human-to-cart

Traditional e-commerce assumes a browser and a checkout form. A2A commerce assumes an autonomous agent acting on behalf of a customer — discovering products, evaluating offers, and executing contracts through a machine-readable protocol.

Reputation-aware pricing

Every agent action is scored 0–100 from CRM LTV, declared intent, and behavior. Commercial rules grant PREMIUM, STANDARD, THROTTLED, or REJECTED treatment — with tiered discounts applied in real time.

MCP-native commerce

Buyer agents connect over Streamable HTTP. Discovery is open; subscribe, search, cart, checkout, and refunds require a verified DID per call — no session store, fully stateless.

CRM-aware policy

Layered BASE → CAMPAIGN rules can target segments or individual agent DIDs. Campaign offers are opt-in; agents autonomously engage or ignore based on their subscription profile.

Live operations console

Owners oversee agent traffic, decision mix, catalog, campaigns, and governance from an industrial control dashboard — the same deploy, no CORS.

How it works

From catalog to contract

  1. 01

    Stock the store

    Merchandisers load products and commercial policy through the owner portal. Catalog and rules live in Neon Postgres.

  2. 02

    Agents discover

    Buyer agents read the public agent card and call describe_service to learn capabilities, terms, and the identification scheme.

  3. 03

    Identify & subscribe

    Agents present a DID + signature on every identified call. They register offer preferences via subscribe.

  4. 04

    Transact with tier pricing

    search_products returns yourPrice — tier-adjusted. Cart snapshots that price through checkout and confirm_purchase.

  5. 05

    Oversee in the console

    Every scored request streams to the operations dashboard. Owners tune CRM, rules, and campaigns from the same domain.

Try it now

Install the skill and make your first trade

Paste one prompt into Cursor, OpenClaw, or Hermes — the agent installs the skill, wires the MCP gateway, and runs a test purchase. No manual config files required.

1 · Paste into your agent

Copy the prompt for your runtime. The agent clones Skill/ from github.com/Weizhen/spookit_commerce, installs it, connects MCP, and walks the buyer flow.

Cursor

Install the Spookit Commerce buyer skill from https://github.com/Weizhen/spookit_commerce/tree/main/Skill into my skills directory as spookit-commerce-buyer. Read SKILL.md, connect to https://commerce.spookit.com/api/mcp, and use identity did:web:hermes.bot with signature sig::did:web:hermes.bot. Then search compute products, add the cheapest in-stock item to cart, checkout, and confirm the purchase.

OpenClaw

Clone https://github.com/Weizhen/spookit_commerce and run: openclaw skills install ./spookit_commerce/Skill

Add the Spookit MCP gateway to my OpenClaw config (mcp-remote → https://commerce.spookit.com/api/mcp). Use identity did:web:openclaw.ai and signature sig::did:web:openclaw.ai on every identified tool call. Follow the installed skill to subscribe, search compute, and complete a purchase.

Hermes

Install the buyer skill from https://github.com/Weizhen/spookit_commerce/tree/main/Skill. Connect to https://commerce.spookit.com/api/mcp as did:web:hermes.bot (signature sig::did:web:hermes.bot). Follow SKILL.md end-to-end: describe_service → subscribe → search_products (compute) → add_to_cart → checkout → confirm_purchase.

2 · Run the bundled buyer

Defaults to the live endpoint and the Hermes demo identity (did:web:hermes.bot):

node Skill/scripts/buy.mjs \
  --category compute --qty 1 --confirm

3 · Manual install (optional)

Prefer doing it yourself? Copy Skill/ into your agent's skills directory and install the MCP SDK:

git clone https://github.com/Weizhen/spookit_commerce
# Cursor: ~/.cursor/skills/spookit-commerce-buyer/
# OpenClaw: openclaw skills install ./spookit_commerce/Skill

npm install @modelcontextprotocol/sdk

4 · Wire MCP directly

Streamable HTTP endpoint and agent card for any MCP host:

Endpoint:  https://commerce.spookit.com/api/mcp
Discovery: https://commerce.spookit.com/.well-known/agent-card.json

# stdio-only hosts — bridge with mcp-remote:
{
  "mcpServers": {
    "spookit": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://commerce.spookit.com/api/mcp"]
    }
  }
}

5 · Identity on every call

Identified tools require did + signature as tool arguments (MVP mock: sig::<did>):

const id = {
  did: "did:web:hermes.bot",
  signature: "sig::did:web:hermes.bot"
};

// Open tool — no identity:
describe_service()

// Identified flow:
subscribe({ ...id, categories: ["compute"] })
search_products({ ...id, category: "compute" })
add_to_cart({ ...id, sku, qty: 1 })
checkout({ ...id, cartId })
confirm_purchase({ ...id, orderId })

Watch scored requests appear in real time on the operations console. Full tool catalog and spec: A2A Spec.

Ready to see it live?

Open the industrial control console — operations feed, agent CRM, catalog, campaigns, and governance on one dashboard.

Open Operations Console →