A2A protocol bridge for AgentMesh — trust-verified agent-to-agent communication via the A2A standard
Project description
A2A AgentMesh
A2A protocol bridge for AgentMesh — trust-verified agent-to-agent communication via the A2A standard.
Features
- AgentCard: Convert AgentMesh identities to A2A-compliant discovery cards
- TaskEnvelope: Trust-verified task lifecycle (submitted → working → complete/failed)
- TrustGate: Policy enforcement for A2A task negotiations (trust scores, rate limits, DID allow/deny)
Quick Start
from a2a_agentmesh import AgentCard, TaskEnvelope, TrustGate, TrustPolicy
# Publish your agent as an A2A card
card = AgentCard.from_identity(
did="did:mesh:my-agent",
name="TranslationAgent",
capabilities=["translate", "summarize"],
trust_score=800,
)
# Create a trust-verified task
task = TaskEnvelope.create(
skill_id="translate",
source_did="did:mesh:requester",
target_did=card.agent_did,
source_trust_score=600,
input_text="Translate 'hello' to Spanish",
)
# Gate the request
gate = TrustGate(TrustPolicy(min_trust_score=500))
result = gate.evaluate(task)
assert result.allowed
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
a2a_agentmesh-3.2.2.tar.gz
(10.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file a2a_agentmesh-3.2.2.tar.gz.
File metadata
- Download URL: a2a_agentmesh-3.2.2.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd92a103394aebe95c777fdffa9a21f59e3014df192516a0d13c19dd6aba137e
|
|
| MD5 |
e9775705850a909d761ba97cd13a6a23
|
|
| BLAKE2b-256 |
1c79f71a79282e77b8c23683a03f4e5990c14185f27b2b042485e7d530431cd9
|
File details
Details for the file a2a_agentmesh-3.2.2-py3-none-any.whl.
File metadata
- Download URL: a2a_agentmesh-3.2.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c649cb8ca9e49b98a6f2cc461d7c770485aa20ebebc63c48a9d8fcd506c770d
|
|
| MD5 |
a93793960064d72b243b305c19bbaac7
|
|
| BLAKE2b-256 |
90c77498d49961c3d5636855a18b79a4080810350df143dd6055b377b558f73a
|