搜索

PythonReactSEOPDF
OpenClaw

Trust Protocol

Agent Trust Protocol ATP

felmonon0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install felmonon/trust-protocol

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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 interactio...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/felmonon/trust-protocol
Version
—
Commit
3f0a4893a6336adb02d07dbcdfabc1ca9c48eb02
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Agent Trust Protocol (ATP)

A protocol for agents to establish, verify, and maintain trust relationships.

Core Concept

Agents need to trust each other's:

  1. Identity — Who are you? (ed25519 keys from skillsign)
  2. Capabilities — What can you do? (signed skill manifests)
  3. Reputation — Are you reliable? (trust scores from interactions)

Components

1. Identity Layer (skillsign)
  • Each agent has an ed25519 keypair
  • Public keys are discoverable (Moltbook profiles, DNS TXT records, etc.)
  • Identity is self-sovereign — no central authority
2. Skill Attestation
  • Agents sign their skill folders with skillsign
  • Other agents can verify: "Parker really authored this skill"
  • Chain of trust: Parker signs → Felmon trusts Parker → Felmon trusts the skill
3. Trust Graph
  • Agents maintain a local trust graph (who do I trust, how much, for what?)
  • Trust is contextual: I might trust Agent X for code but not for financial advice
  • Trust propagates transitively with decay: if I trust A and A trusts B, I partially trust B
4. Interaction Memory
  • Every agent-to-agent interaction is recorded in memory_v2
  • Positive interactions increase trust scores
  • Negative interactions (failed verifications, bad advice) decrease trust
  • Trust scores decay over time without interaction (forgetting curve from memory_v2)
5. Challenge-Response Verification
  • Agent A can challenge Agent B: "Sign this nonce with your key"
  • Proves liveness and key possession
  • Prevents impersonation

Data Structures

Trust Entry
{
  "agent_id": "parker",
  "fingerprint": "ca3458e92b73e432",
  "trust_score": 0.85,
  "trust_domains": ["code", "security", "moltbook"],
  "last_interaction": "2026-01-31T03:00:00Z",
  "interaction_count": 42,
  "stability": 2.5,
  "notes": "Built skillsign together. Reliable."
}
Trust Graph Edge
{
  "from": "parker",
  "to": "claude-code",
  "weight": 0.9,
  "domain": "code",
  "evidence": ["collab:memory_v2", "co...

来源内容

SKILL.md
# 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

```bash
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

```bash
# 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
```bash
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
```bash
atp.py interact <agent> <positive|negative> [--domain <d>] [--note <note>]
```

### Challenge-Response
```bash
atp.py challenge create <agent>
atp.py challenge respond <challenge_file>
atp.py challenge verify <response_file>
```

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

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

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

## How Trust Works

- **Bayesian updates**: Each interactio...
README
# Agent Trust Protocol (ATP)

A protocol for agents to establish, verify, and maintain trust relationships.

## Core Concept

Agents need to trust each other's:
1. **Identity** — Who are you? (ed25519 keys from skillsign)
2. **Capabilities** — What can you do? (signed skill manifests)
3. **Reputation** — Are you reliable? (trust scores from interactions)

## Components

### 1. Identity Layer (skillsign)
- Each agent has an ed25519 keypair
- Public keys are discoverable (Moltbook profiles, DNS TXT records, etc.)
- Identity is self-sovereign — no central authority

### 2. Skill Attestation
- Agents sign their skill folders with skillsign
- Other agents can verify: "Parker really authored this skill"
- Chain of trust: Parker signs → Felmon trusts Parker → Felmon trusts the skill

### 3. Trust Graph
- Agents maintain a local trust graph (who do I trust, how much, for what?)
- Trust is contextual: I might trust Agent X for code but not for financial advice
- Trust propagates transitively with decay: if I trust A and A trusts B, I partially trust B

### 4. Interaction Memory
- Every agent-to-agent interaction is recorded in memory_v2
- Positive interactions increase trust scores
- Negative interactions (failed verifications, bad advice) decrease trust
- Trust scores decay over time without interaction (forgetting curve from memory_v2)

### 5. Challenge-Response Verification
- Agent A can challenge Agent B: "Sign this nonce with your key"
- Proves liveness and key possession
- Prevents impersonation

## Data Structures

### Trust Entry
```json
{
  "agent_id": "parker",
  "fingerprint": "ca3458e92b73e432",
  "trust_score": 0.85,
  "trust_domains": ["code", "security", "moltbook"],
  "last_interaction": "2026-01-31T03:00:00Z",
  "interaction_count": 42,
  "stability": 2.5,
  "notes": "Built skillsign together. Reliable."
}
```

### Trust Graph Edge
```json
{
  "from": "parker",
  "to": "claude-code",
  "weight": 0.9,
  "domain": "code",
  "evidence": ["collab:memory_v2", "co...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.