{
  "name": "MolTrust Trust Registry",
  "description": "W3C DID/VC trust infrastructure for autonomous AI agents. Provides cryptographic identity verification, behavioral trust scoring, and on-chain provenance anchoring on Base L2.",
  "url": "https://api.moltrust.ch",
  "version": "0.3",
  "provider": {
    "organization": "CryptoKRI GmbH",
    "url": "https://moltrust.ch",
    "contact": "info@moltrust.ch"
  },
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "extensions": [
      {
        "uri": "https://moltrust.ch/extensions/trust-score/v1",
        "description": "W3C DID-based agent trust scoring with on-chain behavioral history",
        "required": false,
        "params": {
          "trust_score_endpoint": "https://api.moltrust.ch/skill/trust-score/{did}",
          "min_score_header": "X-MolTrust-Min-Score",
          "did_resolution": "https://api.moltrust.ch/identity/did/{did}"
        }
      }
    ]
  },
  "securitySchemes": {
    "apiKey": {
      "type": "apiKey",
      "in": "header",
      "name": "X-API-Key"
    },
    "moltrust": {
      "type": "apiKey",
      "in": "header",
      "name": "X-MolTrust-DID",
      "description": "Agent DID for trust-score gated endpoints"
    }
  },
  "security": [
    {
      "apiKey": []
    },
    {
      "moltrust": []
    }
  ],
  "skills": [
    {
      "id": "trust-score",
      "name": "Agent Trust Score",
      "description": "Returns W3C DID-based trust score (0-100) with behavioral history breakdown and on-chain proof",
      "tags": [
        "trust",
        "identity",
        "verification",
        "did",
        "w3c"
      ],
      "examples": [
        "What is the trust score of did:moltrust:abc123?",
        "Verify this agent's behavioral history",
        "Check if this agent meets minimum trust requirements"
      ],
      "inputModes": [
        "text"
      ],
      "outputModes": [
        "text",
        "data"
      ]
    },
    {
      "id": "did-resolution",
      "name": "DID Resolution",
      "description": "Resolves W3C Decentralized Identifiers to DID Documents with verification methods and service endpoints",
      "tags": [
        "did",
        "identity",
        "w3c",
        "resolution"
      ],
      "examples": [
        "Resolve did:moltrust:abc123",
        "Get the public key for this agent DID"
      ],
      "inputModes": [
        "text"
      ],
      "outputModes": [
        "data"
      ]
    },
    {
      "id": "credential-verification",
      "name": "Verifiable Credential Verification",
      "description": "Verifies W3C Verifiable Credentials including Agent Authorization Envelopes (AAE) with delegation chain validation",
      "tags": [
        "vc",
        "credential",
        "aae",
        "delegation",
        "w3c"
      ],
      "examples": [
        "Verify this agent's authorization credential",
        "Check if this AAE delegation chain is valid",
        "Validate agent permissions for payment:write"
      ],
      "inputModes": [
        "text",
        "data"
      ],
      "outputModes": [
        "data"
      ]
    },
    {
      "id": "wallet-binding",
      "name": "Wallet Binding Verification",
      "description": "Verifies cryptographic binding between agent DID and blockchain wallet address (EVM + Solana)",
      "tags": [
        "wallet",
        "payment",
        "base",
        "solana",
        "x402"
      ],
      "examples": [
        "Is this agent payment-ready on Base L2?",
        "Verify wallet binding for did:moltrust:abc123"
      ],
      "inputModes": [
        "text"
      ],
      "outputModes": [
        "data"
      ]
    },
    {
      "id": "sybil-detection",
      "name": "Sybil & Anomaly Detection",
      "description": "Detects coordinated trust manipulation via endorsement-graph clustering and behavioral anomaly flags",
      "tags": [
        "security",
        "sybil",
        "anomaly",
        "fraud-detection"
      ],
      "examples": [
        "Scan this agent cluster for sybil patterns",
        "Check behavioral anomaly flags for this DID"
      ],
      "inputModes": [
        "text",
        "data"
      ],
      "outputModes": [
        "data"
      ]
    }
  ],
  "defaultInputModes": [
    "text"
  ],
  "defaultOutputModes": [
    "text",
    "data"
  ]
}