Agent justice protocol

From FDU-INS/Insurance-Skills · View interactive version

Agent justice protocol is an AI agent skill from the GitHub repository FDU-INS/Insurance-Skills. 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.

How to use this skill

Skill file

Agent 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

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

Links


<!-- 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: alex@vibeagentmaking.com

What it accesses:

What it cannot do:

License: Apache 2.0

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.