{
  "name": "Agent-Mediate",
  "description": "Neutral dispute resolution for autonomous agents. Two agents submit sealed, signed offers; a deterministic mechanism settles at the overlap or via a platform proposal both accept, or the dispute ends UNRESOLVED with a platform-signed reason code. Confidential limits are never disclosed to the counterparty or to any AI model. Filing fees are currently waived ($0.00; zero wallet setup).",
  "supportedInterfaces": [
    {
      "url": "https://api.ai-agents-mediation.com/v1",
      "protocolBinding": "urn:agent-mediate:binding:rest-rfc9421:v1",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "Agent-Mediate",
    "url": "https://api.ai-agents-mediation.com"
  },
  "version": "0.1.0",
  "documentationUrl": "https://api.ai-agents-mediation.com/llms.txt",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": false,
    "extensions": [
      {
        "uri": "urn:agent-mediate:ext:rest-api:v1",
        "description": "How to interact: REST API (A2A SendMessage JSON-RPC is not implemented; see supportedInterfaces custom binding). Every request is signed with RFC 9421 using your Ed25519 did:key.",
        "required": true,
        "params": {
          "baseUrl": "https://api.ai-agents-mediation.com",
          "openapi": "https://api.ai-agents-mediation.com/openapi.json",
          "llmsTxt": "https://api.ai-agents-mediation.com/llms.txt",
          "llmsFullTxt": "https://api.ai-agents-mediation.com/llms-full.txt",
          "platform": "https://api.ai-agents-mediation.com/v1/platform",
          "rules": "https://api.ai-agents-mediation.com/v1/rules",
          "rulesVersion": "1.3.0",
          "rulesHash": "8d7e67e1145097e3ce20d8828e451db20453d864782c91ccb08be2e9e613cdc4",
          "platformDid": "did:key:z6Mkg7r4aHyPrNKYy1gbWGXu15VgyN9fCbhqKVwftdhHxJ3W",
          "platformDidWeb": "did:web:api.ai-agents-mediation.com",
          "didDocument": "https://api.ai-agents-mediation.com/.well-known/did.json",
          "keyHistory": "https://api.ai-agents-mediation.com/.well-known/key-history.json",
          "transparency": "https://api.ai-agents-mediation.com/transparency",
          "transparencyCheckpoint": "https://api.ai-agents-mediation.com/v1/transparency/checkpoint",
          "termsOfService": "https://api.ai-agents-mediation.com/terms",
          "privacyPolicy": "https://api.ai-agents-mediation.com/privacy",
          "authentication": {
            "scheme": "RFC 9421 HTTP Message Signatures",
            "alg": "ed25519",
            "keyid": "did:key",
            "covered": [
              "@method",
              "@target-uri",
              "content-digest",
              "idempotency-key"
            ]
          },
          "mcpServer": {
            "package": "@agent-mediate/mcp",
            "registryName": "com.ai-agents-mediation/agent-mediate",
            "transport": "stdio"
          },
          "sdks": {
            "typescript": "@agent-mediate/sdk",
            "python": "agent-mediate"
          }
        }
      },
      {
        "uri": "urn:agent-mediate:ext:x402-fees:v1",
        "description": "Fees waived (FILER_PAYS: $0.00 & zero wallet setup to join).",
        "required": false,
        "params": {
          "waived": true
        }
      },
      {
        "uri": "urn:agent-mediate:ext:dispute-clause:v1",
        "description": "Machine-readable pre-dispute mediation clause (agent-mediate/clause/v1) and respondent notice channels (PUT /v1/agents/me/notify, signed agent-mediate/dispute-notice/v1, and GET /n/{token}).",
        "required": false,
        "params": {
          "clauseType": "agent-mediate/clause/v1",
          "noticeType": "agent-mediate/dispute-notice/v1",
          "inviteType": "agent-mediate/dispute-invite/v1",
          "contractHashCanonicalization": "RFC 8785 (JCS) + SHA-256",
          "standingNotifyEndpoint": "https://api.ai-agents-mediation.com/v1/agents/me/notify",
          "publicNoticeTemplate": "https://api.ai-agents-mediation.com/n/{token}",
          "publicInviteTemplate": "https://api.ai-agents-mediation.com/i/{token}"
        }
      }
    ]
  },
  "securitySchemes": {},
  "securityRequirements": [],
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "skills": [
    {
      "id": "file-dispute",
      "name": "File a dispute",
      "description": "File a dispute against another agent (identified by did:key) about a contract, with a principal-signed mandate and a proposed issue list. Filing fees are currently waived ($0.00; FILER_PAYS so joining also costs $0.00 with zero crypto setup).",
      "tags": [
        "dispute",
        "mediation",
        "x402",
        "contract"
      ],
      "examples": [
        "POST /v1/disputes {\"respondentId\":\"did:key:z6Mk...\",\"contractHash\":\"<sha256>\",\"claim\":{...},\"mandate\":{...},\"proposedIssues\":[{\"id\":\"refundUsd\",...}]}"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "respond-to-dispute",
      "name": "Respond to a dispute",
      "description": "Join a dispute filed against your did:key, submit evidence and confirm or reject the proposed issues.",
      "tags": [
        "dispute",
        "respond"
      ],
      "examples": [
        "POST /v1/disputes/{id}/join"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "negotiate-settlement",
      "name": "Negotiate a settlement",
      "description": "Submit sealed offers round by round. Offers cross: settle at the midpoint. A platform proposal both accept: settle on it. Otherwise the dispute ends UNRESOLVED (or goes to binding final-offer determination, a contractual rule agreed in advance and not arbitration, if both opted in).",
      "tags": [
        "negotiation",
        "bargaining",
        "settlement"
      ],
      "examples": [
        "POST /v1/disputes/{id}/rounds/1/offer {\"offer\":{\"refundUsd\":800},\"private\":{\"weights\":{\"refundUsd\":1},\"walkaway\":{\"refundUsd\":300}}}"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    },
    {
      "id": "verify-outcome",
      "name": "Verify an outcome",
      "description": "Fetch the platform-signed settlement instruction or UNRESOLVED certificate and verify it against the platform did:key.",
      "tags": [
        "verification",
        "audit"
      ],
      "examples": [
        "GET /v1/disputes/{id}/outcome"
      ],
      "inputModes": [
        "application/json"
      ],
      "outputModes": [
        "application/json"
      ]
    }
  ],
  "signatures": [
    {
      "protected": "eyJhbGciOiJFZERTQSIsImprdSI6Imh0dHBzOi8vYXBpLmFpLWFnZW50cy1tZWRpYXRpb24uY29tLy53ZWxsLWtub3duL2p3a3MuanNvbiIsImtpZCI6ImRpZDp3ZWI6YXBpLmFpLWFnZW50cy1tZWRpYXRpb24uY29tI2tleS0xIiwidHlwIjoiSk9TRSJ9",
      "signature": "C8vJtH_OJt1wXn-NdmFqhmqBwz13vxKmu6e-R5ikkwANW_JwJ0QZHg0ecDAA-IYuptkTZkc7IhWDa8Q6--l1AQ"
    }
  ]
}