78trust / 100

Decide Concentration

by business-frameworks.matryoshka-paradigms.workers.dev in Security & trust

x402 APIPassing, checked 42 min ago

Business Frameworks — Limit concentration, applied to the caller's own numbers. Send the largest customer's and supplier's shares and the owner-only functions; get which dependencies are priced risks and what to do first. Deterministic (the node's rule, no model); returns the worked decision plus the node text and its public citations. Schema at GET /apply/risk/decide/concentration.

POST https://business-frameworks.matryoshka-paradigms.workers.dev/apply/risk/decide/concentration

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
161 ms typical, 812 ms slowest 5%
Last check
42 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://business-frameworks.matryoshka-paradigms.workers.dev/apply/risk/decide/concentration" \
  -H "content-type: application/json" \
  -d '{"largest_customer_share_pct":42,"largest_supplier_share_pct":20,"owner_only_functions":["pricing","key-account sales","bank relationship"]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fbusiness-frameworks.matryoshka-paradigms.workers.dev%2Fapply%2Frisk%2Fdecide%2Fconcentration
const res = await pay("https://business-frameworks.matryoshka-paradigms.workers.dev/apply/risk/decide/concentration", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"largest_customer_share_pct":42,"largest_supplier_share_pct":20,"owner_only_functions":["pricing","key-account sales","bank relationship"]}),
});
console.log(await res.json());

Example input

{
  "largest_customer_share_pct": 42,
  "largest_supplier_share_pct": 20,
  "owner_only_functions": [
    "pricing",
    "key-account sales",
    "bank relationship"
  ]
}

Example output

{
  "applied": {
    "action": [
      "<what to do first>"
    ],
    "basis": [
      "<where the node ends and the arithmetic begins>"
    ],
    "check": "<when to re-run>",
    "figures": "<the computed figures>",
    "verdict": "<the decision, worked for these inputs>"
  },
  "handle": "business-frameworks/risk/decide/[email protected]",
  "node": {
    "cites": [],
    "text": "<the node text>"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
42 min agoPassed402148 ms$0.05
4 h agoPassed402812 ms$0.05
8 h agoPassed402767 ms$0.05
12 h agoPassed402264 ms$0.05
15 h agoPassed40269 ms$0.05
18 h agoPassed402157 ms$0.05
23 h agoPassed402742 ms$0.05
26 h agoPassed402131 ms$0.05
30 h agoPassed402161 ms$0.05
34 h agoPassed402521 ms$0.05
37 h agoPassed40238 ms$0.05
42 h agoPassed4021.0 s$0.05