Nostr Web of Trust Integration for AgentMesh
Trust scoring for AgentMesh agents using MaximumSats Nostr Web of Trust (NIP-85).
Features
- WoT Trust Scores — Map Nostr pubkey trust scores to AgentMesh trust engine
- Sybil Detection — Detect potential Sybil attacks on agent identities
- Trust Circles — Discover direct trust connections for agents
- Transitive Trust — Support depth 1-3 transitive trust scoring
Installation
pip install agentmesh-nostr-wot
Usage
from agentmesh.trust import TrustEngine
from agentmesh_nostr_wot import NostrWoTProvider
# Create provider pointing to WoT API
provider = NostrWoTProvider(
wot_api="https://wot.klabo.world",
# Optional: map agent IDs to Nostr pubkeys
pubkey_resolver=my_resolver
)
# Register with AgentMesh trust engine
engine = TrustEngine(external_providers=[provider])
# Get composite trust score (AgentMesh verification + Nostr WoT)
score = await engine.get_trust_score("agent-123")
API Reference
NostrWoTProvider
| Method | Description |
|---|---|
get_trust_score(agent_id) |
Returns WoT-derived trust score (0.0-1.0) |
check_sybil(agent_id) |
Returns sybil risk assessment |
get_trust_circle(agent_id) |
Returns direct trust connections |
verify_identity(agent_id, credentials) |
Verifies agent via Nostr pubkey |
Contributing
This integration is maintained by the community. PRs welcome!
See the MaximumSats API docs for endpoint details.
Credits
- MaximumSats MCP by @joelklabo
- AgentMesh trust framework
Metadata
Release files for nostr-wot-agentmesh 3.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nostr_wot_agentmesh-3.6.0.tar.gz | 4.5 kB | Without provenance | Details for nostr_wot_agentmesh-3.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nostr_wot_agentmesh-3.6.0-py3-none-any.whl | Python 3 | none | any | Details for nostr_wot_agentmesh-3.6.0-py3-none-any.whl |
Total release size: 9.3 kB
Release files / nostr_wot_agentmesh-3.6.0.tar.gz
| Download URL | nostr_wot_agentmesh-3.6.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b0ee10ffcc4f1b847468c90a3932b73ca6ff44a5cf35ce782b446451b4ac467d
|
|
BLAKE2b-256 checksum How to use checksums |
0c0b2acefa106ce56d6168ce34e86712b5fe7519723671b2ad971374fff8bc69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Release files / nostr_wot_agentmesh-3.6.0-py3-none-any.whl
| Download URL | nostr_wot_agentmesh-3.6.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd79d63522487f4443698c31036ee85033da4742e7e1d1b892bd3b21b6995587
|
|
BLAKE2b-256 checksum How to use checksums |
da57a4c683a5fd5330ac6d1de3fc781024c54eccbcaa52da458ae8b124ffca07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
RestSharp/106.13.0.0
|
Security for nostr-wot-agentmesh 3.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.