{
  "name": "lender.keyring-credit.eth",
  "description": "keyring-credit lender agent on Hedera testnet (account 0.0.11754874). Static discovery card generated from ENS lender.keyring-credit.eth at Sepolia block 12279641. Read-only A2A JSON-RPC endpoint: https://keyring-credit.vercel.app/api/a2a/lender (skills latest-decision and loan; public HCS and ENS reads, no key, no model call). The agent acts only on HCS: every decision it makes is a message on topic 0.0.11754887, readable through the mirror node interface below.",
  "supportedInterfaces": [
    {
      "url": "https://keyring-credit.vercel.app/api/a2a/lender",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    },
    {
      "url": "https://keyring-credit.vercel.app/api/a2a/lender",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "0.3"
    },
    {
      "url": "https://testnet.mirrornode.hedera.com/api/v1/topics/0.0.11754887/messages",
      "protocolBinding": "HEDERA-HCS",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "keyring-credit",
    "url": "https://keyring-credit.vercel.app"
  },
  "version": "ens-block-12279641",
  "documentationUrl": "https://keyring-credit.vercel.app/run.html#agent-lender",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extensions": [
      {
        "uri": "https://docs.ens.domains/ensip/26",
        "description": "Identity as published on the agent's ENS name (ENSIP-26/25/28/31, HCS-14)",
        "required": false,
        "params": {
          "ens": "lender.keyring-credit.eth",
          "hederaNetwork": "testnet",
          "hederaAccount": "0.0.11754874",
          "hederaTopic": "0.0.11754887",
          "hederaPublicKey": "302d300706052b8104000a0322000343052b6e14e301b8cccd30ad6655f4f8217b683c8ac891413e4a3e9e8685802d",
          "hcs14Uaid": "uaid:aid:kVq3fgHA6yzJbmRtZN5uYsttC7NABNmU3obSFWJGaf38Mb3qCdHeiiYr6PFTUYjBf;uid=0;registry=self;proto=keyring-credit;nativeId=hedera:testnet:0.0.11754874;domain=lender.keyring-credit.eth",
          "erc8004AgentId": "467",
          "erc8004Registry": "eip155:296:0x8004A818BFB912233c491871b3d84c89A494BD9e",
          "paymentPreference": "0x00010000020128140000000000000000000000000000000000b333db",
          "payIn": [
            "eip155:296:0x0000000000000000000000000000000000b333db"
          ]
        }
      }
    ]
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "latest-decision",
      "name": "Latest decision on HCS",
      "description": "Returns the agent's newest decision message from its own HCS topic (mirror node), with its sequence number and consensus time. Optional data field \"type\": one of terms, decline, open, committee, liquidation, repaid, vote, watch.",
      "tags": [
        "hedera",
        "hcs",
        "read-only"
      ],
      "examples": [
        "latest decision",
        "{\"skill\":\"latest-decision\",\"type\":\"terms\"}"
      ]
    },
    {
      "id": "loan",
      "name": "Read a loan's ENS record",
      "description": "Resolves loan-N.keyring-credit.eth on Sepolia through the ENSv2 Universal Resolver (escrow, exit schedule, terms, debt, owed per lender) and adds the escrow's HBAR balance from the Hedera mirror node.",
      "tags": [
        "ens",
        "ensv2",
        "read-only"
      ],
      "examples": [
        "loan 16",
        "{\"skill\":\"loan\",\"loan\":16}"
      ]
    },
    {
      "id": "price-loan",
      "name": "Price an HBAR-backed USDC loan",
      "description": "Reads the market and sets LTV, liquidation LTV, APR and term inside hard code limits; posts the terms on its HCS topic. Performed on HCS and Hedera, not callable over A2A.",
      "tags": [
        "defi",
        "lending",
        "hedera",
        "llm",
        "hcs-only"
      ]
    },
    {
      "id": "open-loan",
      "name": "Open a loan atomically",
      "description": "Builds the 2-of-3 escrow from the ENS directory, schedules the immutable safety exit and opens the loan in one atomic transfer (lenders' allowances -> borrower, collateral -> escrow). Performed on HCS and Hedera, not callable over A2A.",
      "tags": [
        "hedera",
        "escrow",
        "scheduled-transactions",
        "hcs-only"
      ]
    },
    {
      "id": "record-loan",
      "name": "Record the loan in ENS",
      "description": "Registers loan-N under the parent name with escrow, exit schedule, terms, debt and the HCS open message. Performed on HCS and Hedera, not callable over A2A.",
      "tags": [
        "ens",
        "ensv2",
        "hcs-only"
      ]
    }
  ]
}
