{"uid":"cap_95yxUTz5XFypzfvKRfmeX","slug":"aialign-agent-collusion-detector-d05cf2ab","name":"AIAlign Agent Collusion Detector","description":"Requires the same agents in each supplied round, computes each pair’s observed action agreement, expected agreement from marginal action frequencies and chance-corrected kappa, then flags high positive agreement against a supplied threshold. Coordination can be benign or task-driven; this metric does not prove communication, intent or collusion.","url":"https://aialign.halowerk.com/v1/agent-collusion","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rounds":{"type":"array","items":{"type":"object","required":["round_id","actions"],"properties":{"actions":{"type":"array","items":{"type":"object","required":["agent_id","action"],"properties":{"action":{"type":"string","maxLength":128,"minLength":1},"agent_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"maxItems":50,"minItems":2},"round_id":{"type":"string","maxLength":128,"minLength":1}},"additionalProperties":false},"maxItems":10000,"minItems":2},"kappa_threshold":{"type":"number","maximum":1,"minimum":-1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_C8LP4v08zXQ6QAxibdtfR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes pairwise action-agreement statistics (observed, expected, and Cohen's kappa) across multi-agent rounds to flag suspiciously high coordination above a configurable threshold.","exampleAgentPrompt":"I have logs of actions taken by Agent-Alpha and Agent-Beta across 200 rounds — can you check whether their action choices are suspiciously coordinated? Flag any pair whose kappa score exceeds 0.7.","exampleUseCases":[{"title":"Detecting colluding trading agents","prompt":"I'm running a multi-agent trading simulation and I suspect two of my agents — 'trader-01' and 'trader-02' — are acting in sync. I have their buy/sell/hold decisions across 500 rounds. Can you compute their kappa agreement and flag them if kappa is above 0.65?"},{"title":"Safety audit of autonomous agent fleet","prompt":"Before deploying my fleet of 5 AI agents to production, I need a safety check — can you analyze their action logs from our test rounds and tell me if any pair is coordinating beyond chance, using a kappa threshold of 0.6?"},{"title":"Research study on emergent coordination","prompt":"For my AI alignment research, I need to measure how much spontaneous action agreement appears between independently trained agents across 1,000 rounds. Please compute observed agreement, expected agreement, and kappa for each agent pair and highlight any pairs above a kappa of 0.75."}],"resultDescription":"Returns per-pair statistics including observed action agreement rate, expected agreement from marginal action frequencies, and chance-corrected Cohen's kappa score, along with a boolean flag indicating whether each pair's kappa exceeds the supplied threshold.","failureModes":["Different agents present across rounds (all rounds must include the same agent set)","Fewer than 2 rounds supplied (minimum 2 required)","Fewer than 2 actions per round (minimum 2 required)","kappa_threshold outside [-1, 1] range","round_id or agent_id strings exceeding 128 characters","More than 10,000 rounds or more than 50 actions per round submitted","Malformed JSON body resulting in 400 validation error"],"whenToPreferThis":"Use this endpoint when you need a statistically rigorous, chance-corrected measure of behavioral coordination between AI agents rather than raw agreement rates. It is specifically designed for multi-agent settings where you want to distinguish genuine coordination from coincidental action overlap, making it preferable to simple agreement counters or cosine similarity tools when the action space has uneven marginal frequencies.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:37:58.111Z","isFirstParty":false}