# Aayat AI Package Upgrade Planner

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

Generates a Markdown upgrade plan for a software package, covering breaking changes, security fixes, requirement changes, and migration guidance between two versions.

## Facts

- Endpoint: GET https://aayatai.com/upgrade/fix?utm_source=zero.xyz
- Price: $0.1/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-upgrade-planner-e2df271b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gHkdITQxHBaNd-f03WfT8

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-upgrade-planner-e2df271b
```

Example prompt: Can you give me an upgrade plan for the npm package hono from version 4.12.0 to 4.13.9 — what breaks, what security issues are fixed, and what runtime requirements change?

## When to prefer this

Use this endpoint when a coding agent or developer needs a structured, cited upgrade plan for a specific package version bump across npm, PyPI, crates, or Go modules, including security analysis and breaking change detection — especially when you want all of that in a single pay-per-use call with no API key required.

## Known failure modes

- Package name not found in the specified ecosystem — returns error or empty plan
- Invalid version strings for 'from' or 'to' — may return error
- Ecosystem mismatch (e.g. Go module path used with npm) — incorrect or no results
- No release notes available between versions — plan may be sparse
- Payment not completed or insufficient USDC — x402 payment required before response

## How this service works

Pay-per-use data and tools for AI agents: crypto token safety, prices and wallets, an LLM gateway, web search and documents to Markdown, library docs, package safety and AI model prices for coding agents, company research, news, UK/EU open data and an x402 market guide. Pay per call in USDC on Base or Solana with x402. No account or API key.

## Output

A structured JSON response containing a Markdown upgrade plan citing sources, lists of breaking change hints, security vulnerabilities fixed/remaining/introduced, runtime and peer dependency requirement changes, known issues, a migration guide (URL and excerpt if available), whether it's a major version change, and the number of release notes read.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name",
      "from"
     ],
     "properties": {
      "to": {
       "type": "string",
       "maxLength": 64,
       "description": "Target version (default: latest)."
      },
      "from": {
       "type": "string",
       "maxLength": 64,
       "description": "Version you use now, e.g. 6.22.0."
      },
      "name": {
       "type": "string",
       "maxLength": 214,
       "minLength": 1,
       "description": "Package name, e.g. express, requests, serde or github.com/gin-gonic/gin."
      },
      "ecosystem": {
       "enum": [
        "npm",
        "pypi",
        "crates",
        "go"
       ],
       "type": "string",
       "default": "npm",
       "description": "Package ecosystem: npm, pypi, crates (Rust) or go (Go modules)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "name",
      "from",
      "to",
      "plan",
      "sources",
      "breakingHints",
      "requirementChanges",
      "security",
      "knownIssues"
     ],
     "properties": {
      "to": {
       "type": "string"
      },
      "from": {
       "type": "string"
      },
      "name": {
       "type": "string"
      },
      "plan": {
       "type": "string",
       "description": "Markdown upgrade plan citing sources as [n]."
      },
      "trust": {
       "type": "object",
       "description": "Third-party text, cleaned: read trust.notice; removed = what we stripped."
      },
      "sources": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "releases": {
       "type": "integer",
       "description": "Release notes read."
      },
      "security": {
       "type": "object",
       "description": "Vulnerabilities fixed by the upgrade, still present, and newly introduced."
      },
      "checkedAt": {
       "type": "string"
      },
      "ecosystem": {
       "type": 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "4.13.9",
  "from": "4.12.0",
  "name": "hono",
  "plan": "## Summary\nA minor upgrade with no breaking changes [1]...\n\n## Steps\n1. ...",
  "sources": [
   {
    "n": 1,
    "url": "https://github.com/honojs/hono/releases/tag/v4.13.9",
    "kind": "release-notes"
   }
  ],
  "releases": 2,
  "security": {
   "fixed": [],
   "remaining": [],
   "introduced": []
  },
  "checkedAt": "2026-09-28T12:00:00.000Z",
  "ecosystem": "npm",
  "knownIssues": [],
  "breakingHints": [],
  "migrationGuide": null,
  "majorVersionChange": false,
  "requirementChanges": [
   {
    "to": ">=18.14.1",
    "from": ">=16.9.0",
    "what": "runtime"
   }
  ]
 }
}
```

## More

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