# BRAINIAC Network Intelligence Configuration Diff

> BRAINIAC Network Intelligence Configuration Diff is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-12).

Compares two sets of network device configurations side-by-side, identifies changed values, and reports conflict findings between the two states.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/network-intelligence/configuration-diff?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-network-intelligence-configuration-diff-cbd52de0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KVgIb44u97A6u7FSzW1qz

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 brainiac-network-intelligence-configuration-diff-cbd52de0 -d '<json body>'
```

Example prompt: Compare these two network config snapshots for edge-1 and tell me what changed — I'll give you the before config with MTU 1500 and local-as 64500, and the after config with MTU 9000 and local-as 64500, and I want to know which settings actually differ.

## When to prefer this

Use this endpoint when you need to programmatically compare two discrete snapshots of network device configuration — especially for infrastructure change auditing, compliance validation, or detecting drift between known-good and current states. It is purpose-built for structured network config fields (BGP routes, interface settings, key-value config pairs) rather than generic text diffing. Prefer it over generic diff tools when you want structured findings with conflict codes and device-scoped change tracking, and when you need a no-account, pay-per-call model via USDC on Base.

## Known failure modes

- Malformed or missing config arrays returns a validation error
- Exceeding maxItems (10000 configs) causes rejection
- Invalid side enum values (not left/right/before/after/a/b) cause schema errors
- Empty input produces an empty diff with zero pairs
- Oversized base64 file payloads exceeding 12MB per file cause rejection
- Truncated or non-parseable config values may produce incomplete diff results

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a list of diff items for each config key pair, each showing the left and right values, whether the value changed, the device ID, path, and source. Also returns a findings list with conflict codes and details, a summary count of changed pairs, the timestamp of the check, and a set of limitation disclosures about what data sources were and were not used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "fileBase64"
   ],
   "properties": {
    "role": {
     "type": "string",
     "maxLength": 80
    },
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json",
      "application/octet-stream"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "logs": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "at": {
      "type": "string",
      "maxLength": 40
     },
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "host": {
      "type": "string",
      "maxLength": 253
     },
     "source": {
      "type": "string",
      "maxLength": 200
     },
     "message": {
      "type": "string",
      "maxLength": 4000
     },
     "facility": {
      "type": "string",
      "maxLength": 80
     },
     "severity": {
      "type": "string",
      "maxLength": 40
     },
     "sourceIp": {
      "type": "string",
      "maxLength": 80
     },
     "destinationIp": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 10000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "files": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "fileBase64"
    ],
    "properties": {
     "role": {
      "type": "string",
      "maxLength": 80
     },
     "filename": {
      "type": "string",
      "maxLength": 180,
      "minLength": 1
     },
     "mediaType": {
      "enum": [
       "text/plain",
       "text/csv",
       "application/json",
       "application/octet-stream"
      ],
      "type": "string"
     },
     "fileBase64": {
      "type": "string",
      "maxLength": 12000000,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 20
  },
  "configs": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "key": {
      "type": "string",
      "maxLength"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "key": "edge_1_interfaces_eth0_mtu",
    "path": "interfaces/eth0",
    "leftId": "K1",
    "source": "Caller-supplied; Caller-supplied",
    "changed": true,
    "rightId": "K2",
    "deviceId": "edge-1",
    "configKey": "mtu",
    "leftValue": "1500",
    "rightValue": "9000",
    "privateNetworkScanned": false
   },
   {
    "key": "edge_1_bgp_local_as",
    "path": "bgp",
    "leftId": "K3",
    "source": "Caller-supplied; Caller-supplied",
    "changed": false,
    "rightId": "K4",
    "deviceId": "edge-1",
    "configKey": "local-as",
    "leftValue": "64500",
    "rightValue": "64500",
    "privateNetworkScanned": false
   }
  ],
  "status": "diffed",
  "findings": [
   {
    "code": "config_changed",
    "kind": "conflict",
    "detail": "Configuration value changed for mtu.",
    "subject": "K1"
   }
  ],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "pairCount": 2,
  "limitations": [
   "Network logs, latency/packet-loss samples, DNS answers, BGP routes, certificates, configs, reputation labels, and incidents are copied only from labeled fields supplied by the caller, or from optional key-free public DNS / public TLS port-443 inspection when explicitly requested.",
   "Private, loopback, link-local, and documentation addresses are never contacted. Private networks are not scanned.",
   "No intrusive security testing is performed and no paid reputation API is used.",
   "IP reputation uses only caller-supplied labels/observations. Missing reputation data is not invented.",
   "Infrastructure health reports aggregate only sections for which records were supplied or optionally fetched."
  ],
  "changedCount": 1,
  "apiKeyRequired": false,
  "paidProviderUsed": false,
  "publicDnsQueried": false,
  "publicTlsInspected": false,
  "paidReputationApiUsed": false,
  "privateNetworkScanned": false,
  "intrusiveScanPerformed": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-network-intelligence-configuration-diff-cbd52de0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
