Current collected state Current
Observed since 20 Oct, 22:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Agentity A2A protocol plugin for Google
A2A (Agent-to-Agent) protocol plugin for Agentity. Sign and verify inter-agent communication using the Agentity identity layer — enabling scoped, auditable agent-to-agent requests.
pip install agentity-a2a
import asyncio
from agentity_a2a import A2AClient
async def main():
# Create an A2A client with Agentity identity
client = A2AClient()
print(f"Agent DID: {client.agent_did}")
print(f"Scopes: {client.agent_scope}")
# Send a signed A2A request
result = await client.send_request(
url="https://api.agent-service.com/agent/message",
method="POST",
body=b'{"type": "task", "payload": "..."}',
)
print(f"Status: {result['status']}")
print(f"Body: {result['body']}")
asyncio.run(main())
from agentity_sdk import AgentKeyPair
from agentity_a2a import A2AClient
kp = AgentKeyPair()
aid = kp.create_identity(
owner_did="did:agentity:human:alice",
scopes=["a2a:agent:send", "a2a:message:receive"],
ttl_days=30,
)
client = A2AClient(keypair=kp, identity=aid)
When no identity is provided, A2AClient auto-creates one with scopes:
a2a:agent:senda2a:message:receive| Method / Property | Description |
|---|---|
A2AClient(keypair?, identity?) | Create client, auto-generates identity if omitted |
async send_request(url, method, body?) | Send signed A2A HTTP request |
.agent_did | The agent's DID string |
.agent_scope | The agent's scope list |
License: Apache 2.0
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.1 | 17 May 2026 | 4 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:28 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:6895252cda6771788e092c662afbe48b8ac85009123539986351a507954da1c8