# BRAINIAC Software License Compatibility Check

> BRAINIAC Software License Compatibility Check is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Checks software components or an SBOM against a license policy to determine compatibility and release approval

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/software-security/license-compatibility-check?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-software-license-compatibility-check-a7447b1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RVfl5FUtcWratztRxs4ey

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-software-license-compatibility-check-a7447b1d -d '<json body>'
```

Example prompt: Check whether my project's dependencies are license-compatible for a commercial release — here's the SBOM: [sbom content]. Deny any GPL or LGPL licenses and allow MIT, Apache-2.0, and BSD.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call license compliance check with no account setup, especially in CI/CD pipelines or agent workflows that handle SBOMs or component lists. It is well-suited when you need real-time registry lookups from npm, PyPI, crates.io, or RubyGems alongside a custom allow/deny policy. Prefer it over heavyweight SCA platforms when you want lightweight, per-invocation pricing via USDC on Base.

## Known failure modes

- Invalid or unparseable SBOM content returns an error
- More than 25 components triggers truncation with a warning
- Unrecognized ecosystem may result in missing registry license lookups
- Missing or malformed purl causes registry lookup to fail for that component
- No policy provided results in licenses being reported without a pass/fail judgment

## 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 per-component breakdown with declared and registry-verified licenses, policy decision (allowed/denied), any problems found, and a top-level approvesRelease boolean. Also includes warnings (e.g. truncation), source retrieval status from package registries (npm, PyPI, crates.io, RubyGems), and limitations notes.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sbom": {
   "type": "string",
   "maxLength": 400000,
   "minLength": 2
  },
  "policy": {
   "type": "object",
   "properties": {
    "deny": {
     "type": "array",
     "items": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "maxItems": 30
    },
    "allow": {
     "type": "array",
     "items": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "maxItems": 30
    }
   },
   "additionalProperties": false
  },
  "components": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "purl": {
      "type": "string",
      "maxLength": 500,
      "minLength": 4
     },
     "license": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "version": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1
     },
     "ecosystem": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 25,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "sources": [
   {
    "url": "https://registry.npmjs.org",
    "detail": "npm, PyPI, crates.io, and RubyGems records are read when the ecosystem matches.",
    "source": "Package registry",
    "status": "ok",
    "retrievedAt": "2026-11-02T18:00:00.000Z"
   }
  ],
  "warnings": [
   "Only the first 25 components were checked."
  ],
  "truncated": false,
  "components": [
   {
    "name": "lodash",
    "purl": "pkg:npm/lodash@4.17.21",
    "policy": "allowed",
    "problem": null,
    "version": "4.17.21",
    "ecosystem": "npm",
    "registryDetail": null,
    "registryStatus": "retrieved",
    "declaredLicense": "MIT",
    "registryLicense": "MIT"
   }
  ],
  "limitations": [
   "Without an allow or deny policy, licences are reported and not judged compatible."
  ],
  "retrievedAt": "2026-11-02T18:00:00.000Z",
  "approvesRelease": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-software-license-compatibility-check-a7447b1d/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)
