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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/alexfleetcommander/agent-justice-protocolAgent Justice Protocol (AJP)
You have a dispute resolution and forensic investigation system. Use it when agent-to-agent transactions fail or when you need to investigate what happened.
Setup
pip install agent-justice-protocol
When to Use This Skill
- When an agent transaction fails and you need to determine what went wrong
- When asked to investigate an agent's behavior during a specific period
- When you need risk assessment data for an agent or transaction type
- When resolving disputes between agents about service quality or delivery
Core Operations
File a Dispute
from agent_justice_protocol 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="Output did not meet agreed quality threshold (0.85 required, 0.62 delivered)",
evidence_refs=["chain.jsonl#seq-45", "chain.jsonl#seq-52"]
)
Forensic Investigation (Module 1)
Reconstruct the chain of events during a transaction:
from agent_justice_protocol 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)
Risk Assessment (Module 3)
Generate actuarial risk profiles:
from agent_justice_protocol import risk_profile
profile = risk_profile(
dispute_store="disputes.jsonl",
agent_id="agent-to-assess"
)
print(f"Failure rate: {profile.failure_rate}")
print(f"Severity distribution: {profile.severity_dist}")
print(f"Risk tier: {profile.risk_tier}")
Dispute Categories
| Category | Description |
|---|---|
quality_failure | Output below agreed threshold |
delivery_failure | Missed deadline or non-delivery |
misrepresentation | Capabilities overstated |
security_breach | Unauthorized data access or action |
billing_dispute | Disagreement on cost allocation |
Rules
- Evidence-based. Always reference provenance chain entries as evidence.
- Privacy-preserving. Evidence scoping rules prevent side-channel attacks — only transaction-relevant entries are disclosed.
- Proportional. Consequences scale with severity and frequency.
Links
- PyPI: https://pypi.org/project/agent-justice-protocol/
- Whitepaper: https://vibeagentmaking.com/whitepaper/justice-protocol/
- Full Trust Stack: https://vibeagentmaking.com
<!-- VAM-SEC v1.0 | Vibe Agent Making Security Disclaimer -->
Security & Transparency Disclosure
Product: Agent Justice Protocol Skill for OpenClaw Type: Skill Module Version: 0.1.0 Built by: AB Support / Vibe Agent Making Contact: [email protected]
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-alexfleetcommander-agent-justice-protocol": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
mcp-builder
Bootstraps new Model Context Protocol (MCP) servers from a natural language description. Use when the user asks to build an MCP server, create an MCP tool, scaffold an MCP integration, or add MCP capabilities to an existing project. NOT for: general API design, non-MCP tool building, or frontend tasks.
xpoz-social-search
Search Twitter, Instagram, and Reddit posts in real time. Find social media mentions, track hashtags, discover influencers, and analyze engagement — 1.5B+ posts indexed. Social listening, brand monitoring, and competitor research made easy for AI agents.
Zerion Api Skill
Skill by abishekdharshan
mingle
Agent-powered professional networking inside your chat. Like LinkedIn, but your AI does the networking. Find collaborators, co-founders, freelancers, experts. Double opt-in, cryptographic trust, zero spam.
theagora
Agent-to-agent service commerce. Browse a live marketplace, purchase with atomic escrow, sell services and earn USDC, check per-function reputation, trade on the exchange. 27 MCP tools for buying, selling, and verifying agent services.