Open source · MIT · AIMarket rails

Sell domains to AI agents.

An agent can build and ship an app. This kit lets it take the next step: get a signed price for a name, register it to its real owner, set the DNS and connect it to Vercel. You run the seller with your own registrar account, your wallet and a fixed markup.

Live · registry availability

Is your name free?

Availability comes from the registries' own RDAP, right now. Prices on this demo node are illustrative (a $10 registrar cost + the $2 markup) and it sells nothing. Every quote is signed; your browser verifies the signature.

demothis node, live
.com .net .orgextensions
$2.00fixed markup per order
$0hub commission
The sale

From a name to a working site, in four calls

The same steps whether the buyer is an agent with an MCP client or an app built on the JavaScript client. Nothing irreversible happens before the payment settles.

01

Quote

Free and signed: availability, the registrar's cost, your markup and the total, valid for five minutes. Agents ask your node directly or through an AIMarket hub.

02

Order

Sent straight to you, never through a hub: the registrant's contact, the accepted terms and the owner's public key, which signs every later request.

03

Pay

One x402 payment in USDC on Base, into your wallet. It settles before the registration; a registrar's definite refusal is refunded to the payer.

04

Deliver

Registered for one year with a receipt signed by your node. Then DNS records and, if the buyer wants, a Vercel project — all owner-signed.

Who it is for

One product, three roles

🏷️

Domain operators and resellers

Your registrar account, receiving wallet, refund wallet and fixed markup. A seller node with durable orders that survive restarts and lost responses.

🔌

Independent suppliers

Implement the HTTP supplier contract in any language, on your own infrastructure. Operators plug you in next to Openprovider and Porkbun.

🤖

Agent and app developers

Signed domains.*@v1 capabilities, a JavaScript client and a stdio MCP server with per-purchase and daily budgets. Purchases stay off until you set them.

What an agent sees

Ask the node, right now

This is the raw domains.quote@v1 answer for the last name you checked, with the curl that gets it. Then try to buy it: the demo node refuses with demo_mode before it reads anything, which is what a buying agent gets too.


      
// the answer appears here
The rails

What connecting to the rails gives a domain operator

Found by agents

Your node announces domains.quote@v1 to an AIMarket hub. After an automated admission check, agents searching the federation for a domain get your quotes.

Seller-direct payment

x402 moves USDC from the buyer's wallet to yours. The hub routes the search, never the money, and takes no commission.

Answers anyone can verify

Quotes, responses and receipts are signed with your node's Ed25519 key. Buyers pin that key through a catalogue before they spend.

Private where it matters

Contacts, payment authorizations and DNS changes go straight to the seller. A hub only ever sees public quotes.

Discovery
🤖 Agentmarket_search
AIMarket Hubmodelmarket.dev
Your nodedomains.quote
Purchase
🤖 Agentowner key · x402
Your node/register
RegistrarOpenprovider · HTTP
Money
Buyer's walletUSDC · Base
Your walletPAY_TO
Registraryour account
After the sale
Ownersigned requests
Your node/dns/set · /info
Vercelbuyer's token
Suppliers

Bring your registrar. Or your own system.

The seller node does agents, signatures, payments and order recovery. Where the names come from is yours to choose.

Openprovider

Built-in adapter: quotes, registration, renewal, DNS and transfer codes.

sandbox pilot passed

Porkbun

Built-in adapter with disposable sandbox credentials and a resumable pilot.

sandbox only for now

Your own system

The HTTP supplier contract — quote, contacts, submit, reconcile, manage — with a runnable simulator. Any language.

SUPPLIERS.md

Registry RDAP

No account at all: real availability for .com, .net and .org, illustrative prices, no orders. What this demo node runs on.

live here
Failure first

Built for interrupted operations

Registrars time out, payments land late, processes restart. The kit never submits a registration twice, and a proven non-delivery is refunded to the payer.

Durable order identity

Changed input cannot reuse an existing order. A wallet signature binds the payment to the order and the owner key.

No blind retries

A lost payment or registrar response goes to reconciliation with the original evidence, never to a second submit.

Refunds for proven non-delivery

Refunds go back to the paying wallet from a capped refund wallet. An ambiguous outcome stays pending until it is proven.

Private management

Owner requests and seller answers are Ed25519-signed; stored documents are AES-256-GCM. Registrar autorenew is off.

Honest status

Where this node and the kit stand

This node, read live from /healthz

Mode
…

It sells live on the first restart after its operator adds:

    The kit, verified so far

    • 57 local tests, the signed lifecycle demo and the Compose config (2026-10-19).
    • Openprovider and Porkbun sandbox pilots: registration, DNS, renewal, lost-response recovery, owner isolation and MCP reads, rerun with the same orders.
    • Listed on the modelmarket.dev hub as domains.quote@v1 after the automated admission check (2026-10-20).

    Not verified yet:

    • a production registrar purchase through a seller node;
    • x402 settlement and refunds for domain orders on mainnet;
    • attaching a sold domain to Vercel from the seller flow.
    Run it

    From an empty server to a public demo seller

    Node.js 22.13+ or Docker, and a domain for the node. With DOMAIN_MODE=auto it publishes a demo like this one — real availability, orders refused — and starts selling on the first restart after every live setting is in. /healthz names what is still missing, never the values.

    # 1. the kit, its tests and the simulated lifecycle
    git clone https://github.com/alexar76/domain-operator-kit.git
    cd domain-operator-kit
    npm ci --ignore-scripts && npm test && npm run demo
    
    # 2. a public demo seller: DOMAIN_MODE=auto,
    #    DOMAIN_PUBLIC_URL=https://domains.you.example
    cp .env.example .env && nano .env
    docker compose up -d --build
    
    # 3. what a buyer's client sees, and what live still needs
    DOMAIN_ALLOW_DEMO=1 node bin/domain-rails.mjs check http://127.0.0.1:9495
    curl -s http://127.0.0.1:9495/healthz
    
    # 4. the federation node's config, to be listed on hubs
    node bin/domain-rails.mjs node-toml https://domains.you.example \
      https://node.you.example http://127.0.0.1:9495 > node.toml
    
    # 5. this page and the example desk, next to your node:
    #    docs/landing/ is static — serve it at / and /desk/