# GENESIS Agent Tools — Semantic Version Comparison

> GENESIS Agent Tools — Semantic Version Comparison is a paid API for AI agents from genesis-agent-tools.genesisagenttools.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Compares two semantic version strings and returns a comparison result indicating their relationship

## Facts

- Endpoint: POST https://genesis-agent-tools.genesisagenttools.workers.dev/api/tools/semver-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/genesis-agent-tools-semantic-version-comparison-7fbd5d55
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OzyZVP712YRfiLySvFhpL

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 genesis-agent-tools-semantic-version-comparison-7fbd5d55 -d '<json body>'
```

Example prompt: Compare these two semver strings for me — is version 2.3.1 greater than, equal to, or less than 1.18.0?

## When to prefer this

Use this endpoint when an AI agent needs programmatic, pay-per-call semver comparison without spinning up its own parsing logic — especially within automated workflows on Base USDC using the x402 payment protocol. Prefer it over rolling custom semver logic when working in agentic pipelines that already use GENESIS Agent Tools for other API compatibility or readiness checks.

## Known failure modes

- Malformed semver strings (e.g. missing patch segment) may return an error or unexpected comparison
- Non-semver version strings (e.g. calendar versions like '2024.01') may not parse correctly
- Missing required fields 'a' or 'b' will cause a 400-level error
- Payment failure via x402 protocol will block the request before processing

## How this service works

Pay-per-call x402 APIs for autonomous agents on Base USDC: API compatibility analysis, bounded HTTP/JSON workflows, URL evidence analysis, crypto price consensus, and agent/MCP readiness checks.

## Output

Returns a JSON object with a 'comparison' string field indicating the relationship between the two versions — typically values like 'greater', 'less', or 'equal', describing how version A relates to version B.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "a",
  "b"
 ],
 "properties": {
  "a": {
   "type": "string"
  },
  "b": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "comparison": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/genesis-agent-tools-semantic-version-comparison-7fbd5d55/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from genesis-agent-tools.genesisagenttools.workers.dev](https://www.zero.xyz/host/genesis-agent-tools.genesisagenttools.workers.dev/llms.txt)
