Skip to main content

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.6.0.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

a2a_agentmesh-3.6.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file a2a_agentmesh-3.6.0.tar.gz.

File metadata

  • Download URL: a2a_agentmesh-3.6.0.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: RestSharp/106.13.0.0

File hashes

Hashes for a2a_agentmesh-3.6.0.tar.gz
Algorithm Hash digest
SHA256 2160849be28ad336616594662a5c11c3d8cdf4162dccdbb5cfbb255bbc6fd896
MD5 654f40c8091fc464f961ec873f85d7e2
BLAKE2b-256 3d0923afb6e3a5e55bc9e3bf9a52ef46c1bc7c4d73cbbf4fdc83534440641164

See more details on using hashes here.

File details

Details for the file a2a_agentmesh-3.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for a2a_agentmesh-3.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88c3f041cbe3f0c83981a8aa945098efa590fe90d0db25cfafc889f4c6e73b20
MD5 ab91d5c7d341347749e839cfe45f5ed8
BLAKE2b-256 425df3f14013350106291142f900d9424d138f252d4fd1b3f539eae0c24e99b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page