# Maha Strategies Exact Linear System Solver

> Maha Strategies Exact Linear System Solver is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.011/call, status unknown (last checked 2026-09-14).

Solves a 1-8 variable rational linear system exactly, returning rank, pivots, particular solution, and null space while classifying the system as unique, inconsistent, or underdetermined.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/micro/exact-linear-system
- Price: $0.011/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maha-strategies-exact-linear-system-solver-d7bc0536
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vocwn4pfA1qwaeJnEgT_6

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 maha-strategies-exact-linear-system-solver-d7bc0536 -d '<json body>'
```

Example prompt: Solve this linear system exactly — no floating-point approximations — matrix rows [[2,1,-1],[−3,−1,2],[−2,1,2]] and right-hand side [8,−11,−3], and tell me the rank, pivots, particular solution, and null space.

## When to prefer this

Choose this endpoint when you need an exact, symbolic-quality solution to a small (1-8 variable) rational linear system and cannot tolerate floating-point rounding errors. It is ideal for formal verification, educational or audit contexts, or any scenario where the distinction between unique, inconsistent, and underdetermined systems must be provably correct. Prefer alternatives if you need large-scale numerical solvers, physical model conditioning, or systems with more than 8 variables.

## Known failure modes

- Matrix or RHS dimension mismatch — more than 8 rows or columns rejected
- Invalid data class enum value causes validation error
- Non-numeric or malformed matrix/RHS entries cause parse failure
- Empty matrix or RHS array (below minItems of 1) rejected
- Payment failure via x402 protocol prevents execution

## How this service works

Get an inspectable exact solution to a 1-8 variable rational linear system. Returns rank, pivots, particular solution and null space; distinguishes unique, inconsistent and underdetermined systems. No floating-point conditioning or physical-model assessment.

## Output

Returns a structured JSON result containing: the system rank, pivot column indices, a particular solution vector (if one exists), the null space basis vectors, and a classification of the system as unique (one solution), inconsistent (no solution), or underdetermined (infinitely many solutions). Also returns versioning, offer ID, input and receipt digests, and amount charged in base units.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "dataClass",
      "matrix",
      "rhs"
     ],
     "properties": {
      "rhs": {
       "type": "array",
       "maxItems": 8,
       "minItems": 1
      },
      "matrix": {
       "type": "array",
       "maxItems": 8,
       "minItems": 1
      },
      "dataClass": {
       "enum": [
        "public",
        "synthetic"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "version",
      "offerId",
      "amountBaseUnits",
      "inputDigest",
      "result",
      "boundaries",
      "receiptDigest"
     ],
     "properties": {
      "result": {
       "type": "object"
      },
      "offerId": {
       "enum": [
        "exact-linear-system"
       ],
       "type": "string"
      },
      "version": {
       "enum": [
        "maha-microproducts/0.1"
       ],
       "type": "string"
      },
      "boundaries": {
       "type": "array",
       "maxItems": 128,
       "minItems": 0
      },
      "inputDigest": {
       "type": "string",
       "maxLength": 71
      },
      "receiptDigest": {
       "type": "string",
       "maxLength": 71
      },
      "amountBaseUnits": {
       "enum": [
        "11000"
       ],
       "type": "string"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/maha-strategies-exact-linear-system-solver-d7bc0536/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
