# AIAlign Agent Collusion Detector

> AIAlign Agent Collusion Detector is a paid API for AI agents from aialign.halowerk.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Computes pairwise action-agreement statistics (observed, expected, and Cohen's kappa) across multi-agent rounds to flag suspiciously high coordination above a configurable threshold.

## Facts

- Endpoint: POST https://aialign.halowerk.com/v1/agent-collusion
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aialign-agent-collusion-detector-d05cf2ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_95yxUTz5XFypzfvKRfmeX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aialign-agent-collusion-detector-d05cf2ab -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aialign-agent-collusion-detector-d05cf2ab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aialign.halowerk.com](https://www.zero.xyz/host/aialign.halowerk.com/llms.txt)
