# Aayat AI License Compatibility Checker

> Aayat AI License Compatibility Checker is a paid API for AI agents from aayatai.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-02).

Checks software licence compatibility for each dependency against a project's own licence and usage model, returning ok/conditions/review/incompatible status per dependency with reasons.

## Facts

- Endpoint: POST https://aayatai.com/license/check?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-license-compatibility-checker-70ab22ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-wYUWo74VqC37nr9bLvvQ

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 aayat-ai-license-compatibility-checker-70ab22ae -d '<json body>'
```

Example prompt: Check if these dependencies are compatible with my proprietary SaaS product: GPL-3.0-only, MIT, AGPL-3.0-only, npm:express@4.21.2, and pypi:requests — usage is saas.

## When to prefer this

Choose this endpoint when an AI coding agent needs rapid, structured, per-dependency licence compatibility verdicts without manual legal research — especially during CI/CD pipelines, pre-release audits, or when evaluating new dependencies for a project with a known licence and deployment model. It is particularly useful for catching copyleft and network-copyleft conflicts (GPL, AGPL, LGPL, MPL) before they become legal liabilities.

## Known failure modes

- Unrecognized package name or version returns an error or unknown status for that dependency
- Invalid SPDX identifier causes parsing failure for that entry
- Exceeding 50 dependencies in a single request results in a validation error
- Ambiguous dual-licence packages may return a 'review' status requiring human judgment
- Edge cases in less common licences (e.g. EUPL, CDDL) may produce imprecise results

## How this service works

Licence compatibility check for coding agents: give your project's licence (or proprietary) and how it's used (distributed, SaaS or internal) plus up to 50 dependencies as SPDX ids or packages (npm:express@4.21.2); get ok / conditions / review / incompatible per dependency with the reason (GPL, AGPL, LGPL, MPL, Apache, dual licences...). Not legal advice.

## Output

A JSON response listing each dependency with its detected licence, licence family (permissive, copyleft, network-copyleft, etc.), compatibility status (ok, conditions, review, or incompatible), and a plain-language reason. Includes an overall verdict and summary string for the whole dependency set, plus a disclaimer that this is not legal advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "usage": {
   "enum": [
    "distributed",
    "saas",
    "internal"
   ],
   "type": "string",
   "default": "distributed",
   "description": "distributed (you ship code or apps), saas (users use it over the network), internal (staff only)."
  },
  "project": {
   "type": "string",
   "default": "proprietary",
   "maxLength": 60,
   "description": "Your project's SPDX licence id (e.g. MIT, GPL-3.0-only) or proprietary."
  },
  "dependencies": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 250
   },
   "maxItems": 50,
   "description": "SPDX ids or packages, e.g. [\"GPL-3.0-only\", \"npm:react@19.0.0\", \"pypi:requests\"]."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "usage": "saas",
  "project": "proprietary",
  "summary": "At least one dependency's licence conflicts with how you plan to use or ship your project.",
  "verdict": "incompatible",
  "disclaimer": "Automated guidance from licence texts and common compatibility rules, not legal advice.",
  "dependencies": [
   {
    "input": "MIT",
    "family": "permissive",
    "reason": "Permissive: keep its copyright and licence notice.",
    "status": "ok",
    "licence": "MIT"
   },
   {
    "input": "AGPL-3.0-only",
    "family": "network-copyleft",
    "reason": "AGPL: offering it to users over a network (SaaS)...",
    "status": "incompatible",
    "licence": "AGPL-3.0-only"
   },
   {
    "input": "npm:express@4.21.2",
    "family": "permissive",
    "reason": "Permissive.",
    "status": "ok",
    "licence": "MIT",
    "package": "express",
    "version": "4.21.2"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-license-compatibility-checker-70ab22ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
