# Aayat AI Package Compatibility Checker

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

Checks whether a set of npm or PyPI packages are compatible with your Node.js or Python runtime version, flagging conflicts, EOL status, and engine constraints.

## Facts

- Endpoint: POST https://aayatai.com/compat/check?utm_source=zero.xyz
- Price: $0.005/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-package-compatibility-checker-8e5c1c2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xm8qujsCd7pg0yBKzAEPq

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-package-compatibility-checker-8e5c1c2d -d '<json body>'
```

Example prompt: Check if react-router@7.1.0, react@18, and react-dom@18 are compatible with Node 18.20.0 — I want to know if there are any engine conflicts or EOL issues.

## When to prefer this

Use this endpoint when an AI coding agent needs to programmatically verify runtime/package compatibility before generating code, scaffolding a project, or advising on upgrades — especially when you want machine-readable conflict details and EOL signals in a single call without needing an npm or pip installation. It pays per-call with no account setup required, making it ideal for ephemeral agent workflows.

## Known failure modes

- Unknown or misspelled package names may be skipped and counted in notChecked
- Packages without published engine constraints cannot be checked and are marked unchecked
- Very new package versions may not yet be indexed
- Invalid version strings may cause parsing errors
- Providing both npm and pypi packages without ecosystem prefixes may cause misclassification

## How this service works

Do these package versions work together and on your runtime? Give up to 20 npm or PyPI packages (exact versions, ranges or latest) plus your Node or Python version; each package's engines, peer dependencies or Requires-Python / Requires-Dist are checked against the others and the runtime, with conflicts explained and end-of-life runtimes flagged.

## Output

Returns a JSON object with a verdict (compatible/incompatible), a list of checked packages with their engine constraints and statuses, a conflicts count, an array of constraint details showing which package requires which runtime range and whether it conflicts, runtime EOL information for Node and Python, and human-readable advice messages explaining any issues found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "node": {
   "type": "string",
   "maxLength": 20,
   "description": "Your Node.js version, e.g. 18.20.0 or 20."
  },
  "python": {
   "type": "string",
   "maxLength": 20,
   "description": "Your Python version, e.g. 3.9 or 3.12.1."
  },
  "packages": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 120
   },
   "maxItems": 20,
   "description": "e.g. [\"react-router@7.1.0\", \"react@18\", \"react-dom@18\"] or [\"fastapi==0.110.0\", \"pydantic==2.6.0\"]."
  },
  "ecosystem": {
   "enum": [
    "npm",
    "pypi"
   ],
   "type": "string",
   "default": "npm",
   "description": "Default ecosystem for entries without an npm:/pypi: prefix."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "advice": [
   "react-router@7.1.0 needs node >=20.0.0 but you have 18.20.0."
  ],
  "runtime": {
   "eol": {
    "node": {
     "eol": "2025-04-30",
     "cycle": "18",
     "endOfLife": true,
     "latestInCycle": "18.20.8"
    }
   },
   "node": "18.20.0",
   "python": null
  },
  "verdict": "incompatible",
  "packages": [
   {
    "name": "react-router",
    "runtime": ">=20.0.0",
    "version": "7.1.0",
    "ecosystem": "npm",
    "requested": "7.1.0"
   }
  ],
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "conflicts": 1,
  "notChecked": 0,
  "constraints": [
   {
    "on": "node",
    "from": "react-router@7.1.0",
    "range": ">=20.0.0",
    "status": "conflict",
    "against": "18.20.0"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-package-compatibility-checker-8e5c1c2d/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)
