Skip to main content

Agent Veil Protocol integration for AgentMesh trust engine

Project description

Agent Veil Protocol Integration for AgentMesh

Trust scoring for AgentMesh agents using Agent Veil Protocol — EigenTrust reputation, sybil resistance, and DID-based identity.

Features

  • EigenTrust Scores — Map AVP reputation scores to AgentMesh trust engine
  • Identity Verification — Verify agents via AVP's DID registry
  • Full Reputation Profile — Access confidence, risk factors, attestation history
  • Graceful Fallback — Returns safe defaults when AVP API is unreachable

Installation

pip install agentmesh-avp

Usage

from agentmesh.trust import TrustEngine
from agentmesh_avp import AVPProvider

# Create provider pointing to AVP API
provider = AVPProvider(
    base_url="https://agentveil.dev",
    # Optional: map agent IDs to AVP DIDs
    did_resolver=my_resolver,
)

# Register with AgentMesh trust engine
engine = TrustEngine(external_providers=[provider])

# Get composite trust score (AgentMesh + AVP EigenTrust)
score = await engine.get_trust_score("did:key:z6MkAgent...")

API Reference

AVPProvider

Method Description
get_trust_score(agent_id) Returns EigenTrust score (0.0-1.0)
get_reputation(agent_id) Returns full profile (score, confidence, tier, risk)
verify_identity(agent_id, credentials) Verifies agent via AVP DID registry

Constructor Arguments

Argument Default Description
base_url https://agentveil.dev AVP server URL
did_resolver None Maps agent_id to AVP DID string
name_resolver None Maps agent_id to AVP agent name
timeout 10.0 HTTP timeout in seconds
min_score_threshold 0.3 Minimum score for score-based verification

About Agent Veil Protocol

AVP is an open reputation layer for AI agents. 110+ agents in production, daily IPFS anchors, MIT-licensed SDK.

Contributing

See the main CONTRIBUTING.md for guidelines.

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

agentmesh_avp-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

agentmesh_avp-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file agentmesh_avp-0.1.0.tar.gz.

File metadata

  • Download URL: agentmesh_avp-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for agentmesh_avp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 674266286731e6c187daccd6f2c26b4690ca6dd191cf0128d1150ba948a3dff7
MD5 a877a3dd6f781445142b6f737e680411
BLAKE2b-256 afd1550cab9e7f7659e42f6afdd75930f6e9171aaa5e3b1b3c11a691ba86c05f

See more details on using hashes here.

File details

Details for the file agentmesh_avp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentmesh_avp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for agentmesh_avp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b4eb7ce7d3ad32e36eda85df1222e38b79bb1bad73f2e05985c2fd5f4fe2483
MD5 568dbcf6864cf2e7db1858d884eea870
BLAKE2b-256 379a22efd34d8838731bf42ac9f875736cd3a37e9128da5b461b14743c7f9546

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