# SML Matrix Solve

> SML Matrix Solve is a paid API for AI agents from scriptmasterlabs.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Solves a system of linear equations given a matrix and vector, returning the solution via a pay-per-call x402 API at $0.005 USDC per successful call.

## Facts

- Endpoint: POST https://scriptmasterlabs.com/v1/compute/matrix-solve?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sml-matrix-solve-562136d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_73Ct_6bDegal4m4ErSVps

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 sml-matrix-solve-562136d9 -d '<json body>'
```

Example prompt: Solve the system of linear equations where my matrix A is [[2, 1], [5, 7]] and my vector b is [11, 13] — I need the solution vector x.

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.005 USDC), pay-per-call numerical solution to a system of linear equations without committing to a subscription. Ideal for agents that solve linear systems sporadically and want on-demand access with verifiable payment proof via x402.

## Known failure modes

- Non-square or singular matrix causing no unique solution
- Dimension mismatch between matrix rows and vector length
- Payment not accepted or insufficient USDC balance
- Malformed array inputs (non-numeric values)
- Route-specific values not returned if payment delivery not confirmed

## How this service works

Pay-per-call APIs and a read-only provider check for x402 buyers. Inspect evidence and live terms before a caller-controlled payment; accept delivery with proof.

## Output

A JSON response containing the computed solution to the linear system (the vector x satisfying Ax = b), returned after successful payment and delivery confirmation via the x402 protocol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "matrix": {
   "type": "array"
  },
  "vector": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Route-specific live values are returned after successful accepted delivery.",
  "product": "SML Matrix Solve"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sml-matrix-solve-562136d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scriptmasterlabs.com](https://www.zero.xyz/host/scriptmasterlabs.com/llms.txt)
