Logo: Ap2 Dispute Accountability

Ap2 Dispute Accountability

Organisatioun
OrcaQubits
ap2-dispute-accountability

Implement AP2 dispute resolution and accountability — cryptographic evidence, liability allocation, chargeback handling, and audit trail construction. Use when building dispute handling, fraud investigation, or compliance systems for agentic payments.

Iwwersiicht

EditeurOrcaQubits
Repositoryagentic-commerce-skills-plugins
Skill-Nummap2-dispute-accountability
Stären
40
Forks
17
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    OrcaQubits huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ap2 Dispute Accountability an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/ap2-agentic-payments/skills/ap2-dispute-accountability
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/OrcaQubits/agentic-commerce-skills-plugins.git /tmp/agentic-commerce-skills-plugins
mkdir -p .claude/skills
cp -r /tmp/agentic-commerce-skills-plugins/ap2-agentic-payments/skills/ap2-dispute-accountability .claude/skills/ap2-dispute-accountability
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ap2 Dispute Accountability an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ap2 Dispute Accountability automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ap2 Dispute Accountability net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

AP2 Dispute Resolution and Accountability

Before writing code

Fetch live docs:

  1. Fetch https://ap2-protocol.org/ap2/specification/ for the accountability model
  2. Fetch https://ap2-protocol.org/overview/ for dispute resolution details
  3. Web-search ap2 protocol dispute accountability liability mandate evidence for accountability framework
  4. Web-search ap2 protocol chargeback fraud resolution for dispute handling patterns

Conceptual Architecture

Why Accountability Matters

In agentic commerce, the traditional dispute model breaks down:

  • Who's responsible when an AI agent buys the wrong item?
  • How do you prove the user authorized a purchase?
  • What evidence settles a dispute between a user, agent, and merchant?

AP2's VDC-based accountability model provides cryptographic evidence for every dispute scenario.

Liability Allocation Table

ScenarioKey EvidenceAccountability
First-party misuseUser-signed Cart/Intent MandateUser — signature proves authorization
Agent mispick (user approved cart)Checkout Mandate shows item, user signedUser — they approved the specific cart
Agent mispick (unapproved)Intent Mandate vs cart discrepancyShopping Agent/Platform — exceeded intent
Merchant non-fulfillmentValid mandate + payment confirmation vs absent deliveryMerchant — committed via signature
Account takeoverAuthentication signals during sessionCP/User — depends on auth strength evidence
Man-in-the-middleDigital signature verificationAttack prevented — signatures invalid if tampered
Price discrepancyMerchant-signed Checkout Mandate vs charged amountMerchant — signed specific prices
Unauthorized transactionAbsence of user signature on mandatePlatform/Agent — no valid user authorization

Evidence Chain

For every transaction, AP2 preserves:

  1. User's original intent — Natural language captured in Intent Mandate
  2. User's authorization — Cryptographic signature on the mandate
  3. Merchant's commitment — Merchant entity signature on Checkout Mandate
  4. Payment authorization — Payment Mandate with user signature
  5. Challenge completion — Records of 3DS/OTP challenges
  6. Transaction receipt — Payment confirmation from MPP

Dispute Investigation Process

  1. Collect mandates — Gather all signed VDCs for the transaction
  2. Verify signatures — Confirm all signatures are valid and match claimed identities
  3. Compare intent vs outcome — Check if the purchase matches the authorized intent
  4. Check constraint compliance — For Intent Mandates, verify constraints were respected
  5. Review risk signals — Assess the risk context at transaction time
  6. Determine liability — Apply the accountability rules based on evidence

Audit Trail Requirements

Store for the full retention period (at least the refund period):

  • All signed mandates (Cart, Intent, Payment)
  • Agent-to-agent message logs
  • Challenge records
  • Payment receipts
  • Risk signal snapshots
  • User session authentication records

Chargeback Handling

When a chargeback is filed:

  1. Retrieve the transaction's VDC evidence
  2. Verify mandate signatures
  3. Compare the disputed transaction against signed mandates
  4. Provide evidence to the payment network
  5. The cryptographic evidence resolves most disputes definitively

Fraud Scenarios

AI Agent Fraud Prevention:

  • Intent Mandate captures user's exact words → agent can't claim different intent
  • Checkout Mandate requires user signature → agent can't forge approval
  • Payment Mandate requires device attestation → agent can't self-authorize

Merchant Fraud Prevention:

  • Merchant signs Checkout Mandate → can't deny offered prices/products
  • Payment receipt confirms delivery obligation
  • Fulfillment tracking compared against commitment

Best Practices

  • Store all VDCs with their signatures for the full retention period
  • Implement automated signature verification in dispute workflows
  • Build dashboards showing intent vs outcome comparisons
  • Log all risk signals at transaction time (they can't be recreated later)
  • Implement the accountability table as deterministic rules
  • Support both manual and automated dispute investigation
  • Provide clear evidence reports for payment networks
  • Test dispute scenarios explicitly during development
  • Consider regulatory requirements for evidence retention (varies by jurisdiction)

Fetch the specification for exact accountability rules, evidence requirements, and retention policies before implementing dispute handling.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ap2 Dispute Accountability?

Implement AP2 dispute resolution and accountability — cryptographic evidence, liability allocation, chargeback handling, and audit trail construction. Use when building dispute handling, fraud investigation, or compliance systems for agentic payments.

Firwat Ap2 Dispute Accountability op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ap2 Dispute Accountability besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ap2 Dispute Accountability an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/OrcaQubits/agentic-commerce-skills-plugins/tree/main/ap2-agentic-payments/skills/ap2-dispute-accountability an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ap2 Dispute Accountability benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ap2 Dispute Accountability benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ap2 Dispute Accountability domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ap2 Dispute Accountability gratis?

Jo. OrcaQubits huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇