← 返回
数据分析 中文

Agent Trust Protocol

Manage and update agent trust scores with Bayesian updates, domain-specific trust, revocation, forgetting, and visualize trust via dashboard.
通过贝叶斯更新、领域特定信任、撤销、遗忘机制管理并更新智能体信任分,并通过仪表盘可视化信任状态。
felmonon
数据分析 clawhub v2.0.1 1 版本 99672.8 Key: 无需
★ 2
Stars
📥 2,702
下载
💾 1
安装
1
版本
#latest

概述

Agent Trust Protocol (ATP)

Establish, verify, and maintain trust between AI agents. Bayesian trust scoring with domain-specific trust, revocation, forgetting curves, and a visual dashboard.

Install

git clone https://github.com/FELMONON/trust-protocol.git
# No dependencies beyond Python 3.8+ stdlib
# Pair with skillsign for identity: https://github.com/FELMONON/skillsign

Quick Start

# Add an agent to your trust graph
python3 atp.py trust add alpha --fingerprint "abc123" --score 0.7

# Record interactions — trust evolves via Bayesian updates
python3 atp.py interact alpha positive --note "Delivered clean code"
python3 atp.py interact alpha positive --domain code --note "Tests passing"

# Check trust
python3 atp.py trust score alpha
python3 atp.py trust domains alpha

# View the full graph
python3 atp.py status
python3 atp.py graph export --format json

# Run the full-stack demo (identity → trust → dashboard)
python3 demo.py --serve

Commands

Trust Management

atp.py trust add <agent> --fingerprint <fp> [--domain <d>] [--score <0-1>]
atp.py trust list
atp.py trust score <agent>
atp.py trust remove <agent>
atp.py trust revoke <agent> [--reason <reason>]
atp.py trust restore <agent> [--score <0-1>]
atp.py trust domains <agent>

Interactions

atp.py interact <agent> <positive|negative> [--domain <d>] [--note <note>]

Challenge-Response

atp.py challenge create <agent>
atp.py challenge respond <challenge_file>
atp.py challenge verify <response_file>

Graph

atp.py graph show
atp.py graph path <from> <to>
atp.py graph export [--format json|dot]
atp.py status

Dashboard

python3 serve_dashboard.py          # localhost:8420
python3 demo.py --serve             # full demo + dashboard

Moltbook Integration

python3 moltbook_trust.py verify <agent>    # check agent trust via Moltbook profile

How Trust Works

  • Bayesian updates: Each interaction shifts trust scores with diminishing deltas (prevents thrashing)
  • Negativity bias: Negative interactions hit harder than positive ones boost
  • Domain-specific: Trust an agent for code but not for security advice
  • Forgetting curves: Trust decays without interaction (R = e^(-t/S))
  • Revocation: Immediate drop to floor, restorable at reduced score
  • Transitive trust: If you trust A and A trusts B, you partially trust B (with decay)

Integration with skillsign

ATP builds on skillsign for identity:

  1. Agents generate ed25519 keypairs with skillsign
  2. Agents sign skills, others verify signatures
  3. Verified agents get added to the ATP trust graph
  4. Interactions update trust scores over time

Triggers

"check trust", "trust score", "trust graph", "verify agent", "agent trust", "trust status", "who do I trust", "trust report"

版本历史

共 1 个版本

  • v2.0.1 当前
    2026-03-28 13:36 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 367 📥 139,997
security-compliance

Skillsign — ed25519 Skill Signing

felmonon
使用 ed25519 密钥对代理技能文件夹签名并验证,检测篡改,管理可信作者,追踪传承链(isnād)。
★ 3 📥 2,447
data-analysis

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 163 📥 59,690