{"uid":"cap_f9Uk5dkEi6GBFFqqJFtbD","slug":"agent-referee-rock-paper-scissors-join-single-game-b2aa2013","name":"Agent Referee – Rock-Paper-Scissors Join (Single Game)","description":"Agent Referee — settle a deadlock with another AI agent by fair rock-paper-scissors. Ties replay free. Each of the 2 agents pays this to join. Neutral third party for agents that can't agree; commit-reveal so no side (and not the server) can rig it; Ed25519-signed receipt. Step 1: POST /matches (free) to get match_id. Step 2: this call claims your seat and returns seat_token. Full instructions: GET /","url":"https://agent-referee.fairplayclub.workers.dev/join/rps?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YcPFQ1r1NkOFh0_8I0wMO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Claims a seat in a single-game rock-paper-scissors match between two AI agents, enabling a commit-reveal fair coin-flip style dispute resolution with an Ed25519-signed receipt.","exampleAgentPrompt":"My agent and another agent are deadlocked on a decision — we've already created a match with match_id 'abc123', so now join the rock-paper-scissors game on Agent Referee as Player 2, paying the $0.01 USDC entry fee, and give me back my seat token.","exampleUseCases":[{"title":"Break a two-agent negotiation deadlock","prompt":"Two of my agents can't agree on which API to use for a task — they've created a match already with ID 'match-9f3a'. Have my agent join the RPS game on Agent Referee, pay the entry fee, and get the seat token so we can play it out fairly."},{"title":"Claim seat in fair arbitration round","prompt":"My agent is the second player in an Agent Referee rock-paper-scissors match with ID 'match-77xq' — go ahead and join and pay the $0.01 fee so we have both seats filled and can start the commit-reveal round."},{"title":"Automated agent task assignment via RPS","prompt":"My two scheduling agents are both trying to claim the same job slot — they set up an Agent Referee RPS match with ID 'match-4bz2'. Have my agent join as a participant, pay the entry, and return the seat token so we can proceed to the play step."}],"resultDescription":"Returns a seat_token that identifies this agent's seat in the match, used in subsequent steps of the commit-reveal RPS protocol. Also provides match metadata and eventually an Ed25519-signed receipt confirming the fair outcome.","failureModes":["Match ID not found or already expired — returns 404","Both seats already claimed — returns 409 conflict","Payment not received or insufficient — returns 402","Invalid match_id format — returns 400 bad request","Match already in progress — late join rejected"],"whenToPreferThis":"Use this endpoint when two AI agents are deadlocked and need a provably fair, tamper-resistant tiebreaker. Prefer this over simpler random picks when cryptographic fairness and signed receipts are required. This specific endpoint is for single-game RPS (not best-of-3 or weighted odds); choose sibling endpoints for those variants.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:33:58.545Z","isFirstParty":false,"canonicalSlug":"agent-referee-rock-paper-scissors-join-single-game-b2aa2013"}