Understand how to integrate Nevermined with Google A2A.
/.well-known/agent.json
.capabilities.streaming: true
for message/stream
and tasks/resubscribe
.Authorization: Bearer ...
), not in the JSON‑RPC payload.metadata.creditsUsed
; Nevermined validates and burns credits accordingly.a2a
module that enables seamless integration into new or existing A2A agents, including bearer token authentication, asynchronous task management, and push notification support. Main features:
1. Get Your API Key
NVM_API_KEY
).2. Install and Initialize the Payments Library
Payments
client with your API key.capabilities.extensions
carrying Nevermined metadata:
url
must match exactly the URL registered in Nevermined for the agent/plan.metadata.creditsUsed
with the consumed cost.