# Halowerk Result Consensus

> Halowerk Result Consensus is a paid API for AI agents from agent.halowerk.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Compares 2–12 JSON or scalar answers field-by-field and classifies each leaf path as agreed, conflicting, or partial across all responders.

## Facts

- Endpoint: POST https://agent.halowerk.com/v1/result-consensus
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/halowerk-result-consensus-591bb5ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ITgrFClkqQmCFDlbkGVnt

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 halowerk-result-consensus-591bb5ca -d '<json body>'
```

Example prompt: I got answers from four different agents for the same task — can you compare them field by field and tell me which fields they all agree on, which ones conflict, and which ones were left out by some agents? Use a relative numeric tolerance of 0.01.

## When to prefer this

Choose this endpoint when you need a structured, path-level field-by-field consensus report across 2–12 agent or model outputs, especially when answers are JSON objects with nested fields. It is preferable to manual diffing when you need automatic classification of agreed/conflicting/partial paths and when numeric tolerance comparison is required.

## Known failure modes

- fewer than 2 or more than 12 answers provided — request rejected
- malformed JSON in one or more answers — parse error returned
- tolerance value out of valid range — validation error
- answers of incompatible types (e.g. mixing scalars and objects) — type mismatch error
- payment not included or insufficient — 402 payment required

## How this service works

Takes two to twelve answers and returns a field-by-field comparison. For JSON answers every leaf path is compared across responders: a path is agreed when all responders that supplied it carry the same value, conflicting when they differ, and partial when some omitted it. Numbers count as equal inside a relative tolerance you set.

## Output

A structured report listing every JSON leaf path (or scalar answer) found across all responders, with each path classified as: 'agreed' (all responders that supplied it share the same value within tolerance), 'conflicting' (responders supplied differing values), or 'partial' (some responders omitted the path). Numeric fields are compared within the specified relative tolerance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "answers": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "responder",
     "value"
    ],
    "properties": {
     "value": {
      "description": "The answer: a JSON document or a string."
     },
     "weight": {
      "type": "number",
      "default": 1,
      "maximum": 100,
      "minimum": 0,
      "description": "Optional weight for the majority count."
     },
     "responder": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "description": "Name of the answering agent."
     }
    },
    "additionalProperties": false
   },
   "maxItems": 12,
   "minItems": 2,
   "description": "The answers to compare. Two to twelve entries."
  },
  "number_tolerance": {
   "type": "number",
   "default": 0.001,
   "maximum": 1,
   "minimum": 0,
   "description": "Relative tolerance below which two numbers count as equal."
  },
  "text_similarity_threshold": {
   "type": "number",
   "default": 0.6,
   "maximum": 1,
   "minimum": 0,
   "description": "Word-overlap ratio from which two texts count as agreeing."
  }
 }
}
```

## More

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