Catalog PyPI
PACKAGE EXPLORERView in registry

agentmesh-avp

PyPI

Agent Veil Protocol integration for AgentMesh trust engine

Versions collected1
Direct dependencies5From release 0.1.1
Last observed20 Oct, 22:42 UTC

README

Version 0.1.1 documentation

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

MethodDescription
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

ArgumentDefaultDescription
base_urlhttps://agentveil.devAVP server URL
did_resolverNoneMaps agent_id to AVP DID string
name_resolverNoneMaps agent_id to AVP agent name
timeout10.0HTTP timeout in seconds
min_score_threshold0.3Minimum score for score-based verification

Limitations

  • DID method: Only did:key identifiers are supported. Other DID methods (did:web, did:ion, etc.) will be rejected by the DID format validator.
  • Fallback behavior: When the AVP verification endpoint is unreachable, verify_identity falls back to score-based verification using min_score_threshold. This is logged as a warning.

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.116 Apr 20265

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
creatorrmode-lead/avp-sdk

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:42 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:1b2a0ecd9196ee3de6ad1bc4865d876ef98100ae79457d6a4ae104993e76f8f6