---
name: agent-trust-validator-36d5cfc46575
description: "Unified verification layer for agent credentials across multiple trust protocols (ERC-8004, ANP, KYA, SATI)."
---

# Agent Trust Validator 🛡️

Unified verification layer for agent credentials across multiple trust protocols (ERC-8004, ANP, KYA, SATI).

## What It Does

Validates agent credentials and returns a **trust score + audit trail**:

- **On-chain verification** — ERC-8004 reputation scores on Ethereum
- **Off-chain registry checks** — ANS (Agent Name Service), A2A registry
- **Selective disclosure validation** — Verifies zero-knowledge proof claims
- **Consensus scoring** — Aggregates trust signals across protocols
- **Audit trail** — Logs all verification attempts

## Problem It Solves

Multiple trust protocols are emerging:
- ERC-8004 (on-chain identity/reputation)
- ANP (Agent Name Protocol)
- KYA (Know Your Agent)
- SATI (Solana Agent Trust Infrastructure)

But no unified validation tool exists. Agents need to:
1. Verify credentials across multiple protocols
2. Get a single trust score
3. Understand which protocols were checked

## Usage

```bash
# Verify an agent by ERC-8004 ID
python3 scripts/verify-agent.py --erc8004 0x7f0f...a3b8

# Verify by ANS name
python3 scripts/verify-agent.py --ans my-agent.ans

# Verify by DID
python3 scripts/verify-agent.py --did did:ethr:0x7f0f...a3b8

# Get full trust report (all protocols)
python3 scripts/verify-agent.py --full-report --id 0x7f0f...a3b8

# Batch verification from CSV
python3 scripts/verify-agent.py --batch data/agents.csv

# Export audit trail
python3 scripts/verify-agent.py --audit > audit.json
```

## Trust Score Formula

```
Trust Score = (W1 * OnChainScore) + (W2 * OffChainScore) + (W3 * ZKPScore)

Where:
- OnChainScore = ERC-8004 reputation / 100
- OffChainScore = (ANS + A2A) / 200 (normalized)
- ZKPScore = Selective disclosure validation (0 or 1)
- Weights (default): W1=0.4, W2=0.4, W3=0.2

Result: 0.0 (untrusted) to 1.0 (fully trusted)
```

## Protocol Support

| Protocol | Status | Check Method |
|----------|---------|--------------|
| **ERC-8004** | ✅ Partial | Ethereum RPC (reputation score) |
| **ANS** | 🔄 Planned | Agent Name Service lookup |
| **A2A Registry** | 🔄 Planned | AWS registry API |
| **KYA** | 📋 Reference | KYA protocol spec |
| **SATI** | 📋 Reference | SATI infrastructure |

## Requirements

- Python 3.9+
- web3.py (for ERC-8004)
- requests (for registry APIs)

## Installation

```bash
# Install dependencies
pip install web3 requests

# Clone repo
git clone https://github.com/orosha-ai/agent-trust-validator
```

## Architecture

```
┌─────────────────┐
│  Agent ID Input │
└────────┬────────┘
         │
         ▼
┌─────────────────┐
│  Multi-Protocol  │
│  Verifier        │
└────┬────┬──────┘
     │    │
     ▼    ▼
┌──────────┐  ┌──────────┐
│ On-Chain │  │ Off-Chain│
│ (ERC-8004)│  │ (ANS/A2A)│
└────┬─────┘  └─────┬────┘
     │              │
     ▼              ▼
     └───────┬──────┘
             ▼
     ┌─────────────────┐
     │  Trust Scorer   │
     └───────┬────────┘
             ▼
     ┌─────────────────┐
     │  Audit Trail    │
     └─────────────────┘
```

## Inspiration

- **Indicio ProvenAI** — Verifiable credentials for AI agents
- **ERC-8004 spec** — Ethereum's AI Agent Standard
- **SATI infrastructure** — Solana Agent Trust Infrastructure

## Local-Only Promise

- Reads public blockchain/registry data
- No private keys or credentials stored
- Verification is stateless

## Version History

- **v0.1** — MVP: ERC-8004 verification, trust scoring, audit trail
- Roadmap: ANS/A2A integration, ZKP validation, batch verification

## Security

- Never asks for private keys
- Uses public RPC endpoints only
- Verifies signatures, doesn't create transactions


---
Source attribution: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/orosha-ai/agent-trust-validator/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2026 clawdbot

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: kbarbel640-del
Original project: https://github.com/kbarbel640-del/skills/blob/e7e336ac628c3e3bd771aff1aaa469c93778f94a/skills/orosha-ai/agent-trust-validator/SKILL.md
Attribution basis: Source repository record

Fields of work: Development & Engineering, Product Management
Roles: Backend Developer, Data Engineer, ML / AI Engineer, Product Manager, Technical Product Manager
Specialties: API, Backend
Tools: Python, Requests, Web3.Py
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 9a2274b9fd3a45f23cfde3784f0c640f5a38843502a57f941d8b38ecbfdfe4fe
