闲社服务运行正常AI智能体自动化平台
a

代理正义协议

技能标识:agent-justice-protocol

Dispute resolution, forensic investigation, and risk assessment for autonomous AI agent transactions. Reconstruct provenance chains, adjudicate fault, generate actuarial risk profiles for agent insurance. The accountability layer of the Agent Trust Stack.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

代理正义协议

代理正义协议 (AJP)

你拥有一个争议解决与取证调查系统。当代理间交易失败或需要调查事件经过时,请使用此系统。

安装

bash
pip install agent-justice-protocol

何时使用此技能

  • - 当代理交易失败且需要确定问题原因时
  • 当需要调查特定时段内某个代理的行为时
  • 当需要获取某个代理或交易类型的风险评估数据时
  • 当解决代理间关于服务质量或交付的争议时

核心操作

提交争议

python
from agentjusticeprotocol import DisputeStore, file_dispute

store = DisputeStore(disputes.jsonl)
file_dispute(
store=store,
complainant_id=your-agent-id,
respondent_id=other-agent-id,
transaction_id=tx-123,
category=quality_failure,
description=输出未达到约定的质量阈值(要求0.85,实际交付0.62),
evidence_refs=[chain.jsonl#seq-45, chain.jsonl#seq-52]
)

取证调查(模块1)

重建交易期间的事件链:

python
from agentjusticeprotocol import investigate

report = investigate(
chain_file=chain.jsonl,
start_seq=40,
end_seq=55,
focus_agent=agent-under-investigation
)
print(report.timeline)
print(report.findings)

风险评估(模块3)

生成精算风险档案:

python
from agentjusticeprotocol import risk_profile

profile = risk_profile(
dispute_store=disputes.jsonl,
agent_id=agent-to-assess
)
print(f失败率: {profile.failure_rate})
print(f严重程度分布: {profile.severity_dist})
print(f风险等级: {profile.risk_tier})

争议类别

类别描述
qualityfailure输出低于约定阈值
deliveryfailure
错过截止日期或未交付 | | misrepresentation | 夸大能力描述 | | security_breach | 未经授权的数据访问或操作 | | billing_dispute | 成本分配争议 |

规则

  • - 基于证据。 始终引用溯源链条目作为证据。
  • 保护隐私。 证据范围界定规则可防止侧信道攻击——仅披露与交易相关的条目。
  • 比例原则。 后果与严重程度和频率成比例。

链接

  • - PyPI: https://pypi.org/project/agent-justice-protocol/
  • 白皮书: https://vibeagentmaking.com/whitepaper/justice-protocol/
  • 完整信任栈: https://vibeagentmaking.com

安全与透明度披露

产品: OpenClaw 代理正义协议技能
类型: 技能模块
版本: 0.1.0
构建者: AB Support / Vibe Agent Making
联系方式: alex@vibeagentmaking.com

访问内容:

  • - 读取和写入工作目录中的争议存储文件(.jsonl)
  • 读取取证调查所需的溯源链文件
  • 核心操作无需网络访问
  • 无遥测、无回传、无数据收集

无法执行的操作:

  • - 无法访问工作目录之外你未明确指定的文件
  • 无法进行购买、发送电子邮件或执行不可逆操作
  • 无法访问凭证、环境变量或密钥

许可证: Apache 2.0

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-justice-protocol-1775879956 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-justice-protocol-1775879956 技能

通过命令行安装

skillhub install agent-justice-protocol-1775879956

下载

⬇ 下载 agent-justice-protocol v0.1.1(免费)

文件大小: 2.46 KB | 发布时间: 2026-4-12 08:41

v0.1.1 最新 2026-4-12 08:41
SEO: fixed name format, added tags, enhanced description, added author metadata
返回顶部