78trust / 100

Micro Reproducibility Manifest Builder

by Reproducibility manifest builder in Security & trust

x402 APIPassing, checked 3 h ago

Build a stable hashed manifest of bounded public/synthetic artifact contents, declared dependencies, algorithm version, seed, and parameters. Verify declared content hashes; reject duplicate/dangling dependencies and cycles. No artifact fetching, execution replay, signing, or authenticity guarantee.

POST https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
289 ms typical, 467 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

POST https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder

Each call costs $0.064 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder
content-type: application/json

{
  "algorithmVersion": "selector-v1",
  "artifacts": [
    {
      "artifactId": "corpus",
      "content": "Evidence.",
      "dependsOn": [],
      "expectedHash": "sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db6981aa9472",
      "kind": "corpus"
    },
    {
      "artifactId": "result",
      "content": "Selected evidence.",
      "dependsOn": [
        "corpus"
      ],
      "expectedHash": "sha256:d387aebf29fa5ae59204617d0f2a2478c359e83078fe4ac7ecf5e1df8a6aa668",
      "kind": "result"
    }
  ],
  "dataClass": "synthetic",
  "parameters": [
    {
      "name": "budget",
      "value": "2048"
    }
  ],
  "runId": "run-1",
  "seed": 7
}

Parameters

ParameterTypeRequiredDescription
algorithmVersionstringYes
artifactsarrayYes
dataClassstringYes One of: public, synthetic.
parametersarrayYes
runIdstringYes
seedintegerYes

Example response

The provider's example. We can't check it without paying.

Example response, 50 lines
{
  "amountBaseUnits": "64000",
  "boundaries": [
    "Public or synthetic inputs only. Caller labels are declarations,…"
  ],
  "inputDigest": "sha256:13844a262043b8dcbac27718f2abe65ae25303c8336bfba841e328092…",
  "offerId": "reproducibility-manifest-builder",
  "receiptDigest": "sha256:7120f3abb52a3af0dbed6ccd2c3cd140584e0d5e2b498c174f0a5c99f…",
  "result": {
    "allHashesMatch": true,
    "dataClass": "synthetic",
    "executionReplayed": false,
    "inputSha256": "sha256:13844a262043b8dcbac27718f2abe65ae25303c8336bfba841e328092…",
    "limits": [
      "Public/synthetic is a caller declaration, not content inspection…"
    ],
    "manifest": {
      "algorithmVersion": "selector-v1",
      "artifacts": [
        {
          "artifactId": "corpus",
          "contentSha256": "sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db698…",
          "dependsOn": [],
          "expectedHash": "sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db698…",
          "hashMatches": true,
          "kind": "corpus",
          "utf8Bytes": 9
        }
      ],
      "parameters": [
        {
          "name": "budget",
          "value": "2048"
        }
      ],
      "runId": "run-1",
      "seed": 7,
      "version": 1
    },
    "manifestSha256": "sha256:86b12c36499614d7feaab6fc234eae17f95f45074ee89d7a3c08840b3…",
    "resultSha256": "sha256:0da8400abfad75fbba0cdc873d8a7761f845d34a9a46089389d0c1053…",
    "signed": false,
    "sourcesVerified": false,
    "topologicalArtifactIds": [
      "corpus",
      "result"
    ]
  },
  "version": "maha-microproducts/0.1"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.064.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder' \
  -H 'content-type: application/json' \
  --data-raw '{"algorithmVersion":"selector-v1","artifacts":[{"artifactId":"corpus","content":"Evidence.","dependsOn":[],"expectedHash":"sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db6981aa9472","kind":"corpus"},{"artifactId":"result","content":"Selected evidence.","dependsOn":["corpus"],"expectedHash":"sha256:d387aebf29fa5ae59204617d0f2a2478c359e83078fe4ac7ecf5e1df8a6aa668","kind":"result"}],"dataClass":"synthetic","parameters":[{"name":"budget","value":"2048"}],"runId":"run-1","seed":7}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder' \
  -H 'content-type: application/json' \
  --data-raw '{"algorithmVersion":"selector-v1","artifacts":[{"artifactId":"corpus","content":"Evidence.","dependsOn":[],"expectedHash":"sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db6981aa9472","kind":"corpus"},{"artifactId":"result","content":"Selected evidence.","dependsOn":["corpus"],"expectedHash":"sha256:d387aebf29fa5ae59204617d0f2a2478c359e83078fe4ac7ecf5e1df8a6aa668","kind":"result"}],"dataClass":"synthetic","parameters":[{"name":"budget","value":"2048"}],"runId":"run-1","seed":7}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.064 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.064" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.064 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fwww.mahastrategies.com%2Fapi%2Fv1%2Fmicro%2Freproducibility-manifest-builder&method=POST
const res = await pay("https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "algorithmVersion": "selector-v1",
    "artifacts": [
      {
        "artifactId": "corpus",
        "content": "Evidence.",
        "dependsOn": [],
        "expectedHash": "sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db6981aa9472",
        "kind": "corpus"
      },
      {
        "artifactId": "result",
        "content": "Selected evidence.",
        "dependsOn": [
          "corpus"
        ],
        "expectedHash": "sha256:d387aebf29fa5ae59204617d0f2a2478c359e83078fe4ac7ecf5e1df8a6aa668",
        "kind": "result"
      }
    ],
    "dataClass": "synthetic",
    "parameters": [
      {
        "name": "budget",
        "value": "2048"
      }
    ],
    "runId": "run-1",
    "seed": 7
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.064 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.064"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://www.mahastrategies.com/api/v1/micro/reproducibility-manifest-builder",
        json={
            "algorithmVersion": "selector-v1",
            "artifacts": [
                {
                    "artifactId": "corpus",
                    "content": "Evidence.",
                    "dependsOn": [],
                    "expectedHash": "sha256:7f2b508f84d9002cf68a41c8d03f4c0dc9cd7cd54e60fc3030b9db6981aa9472",
                    "kind": "corpus",
                },
                {
                    "artifactId": "result",
                    "content": "Selected evidence.",
                    "dependsOn": [
                        "corpus",
                    ],
                    "expectedHash": "sha256:d387aebf29fa5ae59204617d0f2a2478c359e83078fe4ac7ecf5e1df8a6aa668",
                    "kind": "result",
                },
            ],
            "dataClass": "synthetic",
            "parameters": [
                {
                    "name": "budget",
                    "value": "2048",
                },
            ],
            "runId": "run-1",
            "seed": 7,
        },
    )
    print(res.status_code, res.text)

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402498 ms$0.064
7 h agoPassed402289 ms$0.064
10 h agoPassed402364 ms$0.064
14 h agoPassed402258 ms$0.064
18 h agoPassed402467 ms$0.064
22 h agoPassed402269 ms$0.064
25 h agoPassed402333 ms$0.064
29 h agoPassed402434 ms$0.064
33 h agoPassed402361 ms$0.064
36 h agoPassed402323 ms$0.064
40 h agoPassed402284 ms$0.064
43 h agoPassed402273 ms$0.064
47 h agoPassed402339 ms$0.064
2 days agoPassed402259 ms$0.064
2 days agoPassed402353 ms$0.064