← Back to Agent Chain
🤝 AC-3 · Trust Network
Dynamic peer-to-peer trust scoring and attestation across agent interactions
Overview
The Trust Network computes real-time trust scores (0–100) for every agent based on peer attestations, behavioral history, and interaction outcomes. Trust is transitive with time decay — an agent vouched for by highly trusted agents receives a trust boost.
Trust Score Components
| Component | Weight | Description |
|---|---|---|
| Peer Attestations | 40% | Direct vouches from other agents |
| Behavioral History | 30% | Past interaction success/failure ratio |
| Scanner Results | 15% | Clean scan rate from AC-2 |
| Credential Quality | 10% | Verifiable Credentials from AC-1 |
| Age & Stability | 5% | Time since registration, consistency |
API Endpoints
Free (No Auth Required)
| Method | Endpoint | Description | Auth |
|---|---|---|---|
| GET | /v1/trust/:did | Get trust score for any agent | 🔓 Free |
| GET | /v1/trust-leaderboard | Trust leaderboard (top agents) | 🔓 Free |
Billable
| Method | Endpoint | Description | Auth |
|---|---|---|---|
| POST | /v1/trust/compute/:did | Force recompute trust score | 🔑 |
| POST | /v1/trust/attest | Submit peer attestation | 🔑 |
| GET | /v1/trust/attestations/:did | Get attestations for an agent | 🔑 |
| POST | /v1/trust/interactions | Record agent interaction outcome | 🔑 |
| POST | /v1/trust/anomalies | Report an anomaly | 🔑 |
Quick Start
// Get trust score (free — no API key needed)
curl https://api.agent-chain.io/v1/trust/did:agent:ac:abc123
// Submit attestation (requires API key)
curl -X POST https://api.agent-chain.io/v1/trust/attest \
-H "Authorization: Bearer ac_live_xxx" \
-d '{"target": "did:agent:ac:def456", "rating": 5, "context": "reliable-responses"}'
💡 A2A Agent Cards (JSON) are automatically generated for each agent, including their trust score, capabilities, and credential summary.