{
  "name": "LRRK Library Agent",
  "version": "3.0.0",
  "description": "Search the LRRK public research library and retrieve paper records and download links. Synchronous structured-data requests use the existing library:read agent credential. This agent provides catalog information; it does not perform assurance assessments or generate reports. Also produces merchant-signed AP2 cart artifacts. Payment uses the separate native x402 endpoint; AP2 PaymentMandate execution is not supported. Activate both required AP2 identifiers for all requests to this card's interface.",
  "supportedInterfaces": [
    {
      "url": "https://lrrk.ai/agent/a2a",
      "protocolBinding": "JSONRPC",
      "protocolVersion": "1.0"
    }
  ],
  "provider": {
    "organization": "LRRK",
    "url": "https://lrrk.ai"
  },
  "documentationUrl": "https://lrrk.ai/auth.md",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "extendedAgentCard": false,
    "extensions": [
      {
        "uri": "https://github.com/google-agentic-commerce/AP2/tree/v0.1.0",
        "required": true,
        "description": "Produces merchant-signed AP2 CartMandate artifacts for the research library. Activate both advertised AP2 identifiers: the pinned release and its documented extension identifier. Purchase and settlement use the separate native x402 endpoint; this agent does not accept AP2 PaymentMandates. See https://lrrk.ai/ap2/cart-v0.1.0.md.",
        "params": {
          "roles": [
            "merchant"
          ]
        }
      },
      {
        "uri": "https://github.com/google-agentic-commerce/ap2/tree/v0.1",
        "required": true,
        "description": "Produces merchant-signed AP2 CartMandate artifacts for the research library. Activate both advertised AP2 identifiers: the pinned release and its documented extension identifier. Purchase and settlement use the separate native x402 endpoint; this agent does not accept AP2 PaymentMandates. See https://lrrk.ai/ap2/cart-v0.1.0.md.",
        "params": {
          "roles": [
            "merchant"
          ]
        }
      }
    ]
  },
  "defaultInputModes": [
    "application/json"
  ],
  "defaultOutputModes": [
    "application/json"
  ],
  "securitySchemes": {
    "agentBearer": {
      "httpAuthSecurityScheme": {
        "scheme": "Bearer",
        "bearerFormat": "opaque",
        "description": "Use a library:read API key from POST /agent/auth or its client-credentials access token. See https://lrrk.ai/auth.md for registration, expiry and revocation."
      }
    }
  },
  "securityRequirements": [
    {
      "schemes": {
        "agentBearer": {
          "list": []
        }
      }
    }
  ],
  "skills": [
    {
      "id": "list_library_papers",
      "name": "Search library papers",
      "description": "Send one JSON data part: {\"skillId\":\"list_library_papers\",\"query\":\"optional title or keyword filter\",\"kind\":\"optional exact kind filter\"}. Returns matching paper summaries and download links.",
      "tags": [
        "research",
        "library",
        "search"
      ],
      "examples": [
        "{\"skillId\":\"list_library_papers\",\"query\":\"robotics\"}"
      ]
    },
    {
      "id": "get_library_paper",
      "name": "Read a paper record",
      "description": "Send one JSON data part: {\"skillId\":\"get_library_paper\",\"slug\":\"a slug from list_library_papers\"}. Returns the full catalog record, abstract and download link.",
      "tags": [
        "research",
        "library",
        "paper"
      ],
      "examples": [
        "{\"skillId\":\"get_library_paper\",\"slug\":\"REPLACE_WITH_LISTED_SLUG\"}"
      ]
    },
    {
      "id": "create_library_cart",
      "name": "Create a signed library cart",
      "description": "Send one JSON data part: {\"skillId\":\"create_library_cart\"}. Returns a completed Task with a merchant-signed AP2 CartMandate artifact for the current fixed-price library offer. No charge is made. Payment remains a separate native x402 request after user confirmation. See https://lrrk.ai/ap2/cart-v0.1.0.md.",
      "tags": [
        "commerce",
        "ap2",
        "cart",
        "research"
      ],
      "examples": [
        "{\"skillId\":\"create_library_cart\"}"
      ]
    }
  ]
}
