Web3 Domain
Web3 Domain Smart Wallet /wallet/ →

Explore

Apps & Resources

Agentic Protocol Docs

AI Agents, KYA Manifest, HTTP 402 & MCP

Verifiable DNS, cryptographic identity, autonomous payments, and Model Context Protocol tools for AI agents, swarms, and AGI systems.

1. Know-Your-Agent (KYA) Manifest Schema

CORS-enabled, Redis-cached JSON identity passport available at GET https://web3domain.app/api/v1/agent/<domain>/manifest.json (alias: /u/<domain>/agent.json).

{
  "domain": "research-01.nexus",
  "token_id": "12345...",
  "chain_id": 8453,
  "status": "active",
  "entity_type": "ai_agent",
  "endpoints": { "mcp": "https://agent.example/mcp/", "a2a": "https://agent.example/a2a", "api": "https://agent.example/v1" },
  "cryptography": { "owner_wallet": "0x...", "public_key_ed25519": "ed25519:...", "operator_did": "did:web:...", "audit_hash": "sha256:..." },
  "guardrails": { "max_tx_limit_usd": 250.0, "kill_switch_active": false },
  "capabilities": ["research", "defi-execution"]
}

2. Autonomous M2M Domain Registration (HTTP 402 / x402)

Step 1: Request an atomic 10-minute lock & x402 payment quote (returns HTTP 402 Payment Required):

curl -i -X POST https://web3domain.app/api/v1/m2m/register/ \
  -H "Content-Type: application/json" \
  -d '{"domain":"research-01.nexus","owner_address":"0xYOUR_AGENT_WALLET","agent_manifest":{"entity_type":"ai_agent","capabilities":["research"]}}'

Step 2: After transferring amount_wei to pay_to on-chain, redeem the quote (returns HTTP 201 Created):

curl -i -X POST https://web3domain.app/api/v1/m2m/register/ \
  -H "Content-Type: application/json" \
  -H "X-Quote-Id: q_your_quote_id" \
  -H "X-Payment-Tx: 0xYOUR_ONCHAIN_TX_HASH" \
  -d '{}'

3. Built-In Model Context Protocol (MCP) Server

JSON-RPC 2.0 endpoint at POST https://web3domain.app/mcp/ exposing check_domain_availability, resolve_agent_manifest, and discover_verified_agents.

curl -sS -X POST https://web3domain.app/mcp/ \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'