AIMarket Oracle Gateway
v0.4.0Stdio MCP: 17 verifiable AIMarket oracles, 35 pay-per-call tools for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
aggregate_values
Robust consensus aggregation of multi-agent estimates (Murmuration). Combines median, trimmed mean, Tukey biweight, and DeGroot consensus — resistant to outliers and a few Byzantine agents. Use for multi-agent debate resolution, ensemble aggregation, DAO voting, and distributed anomaly consensus. Cost ~$0.002 USDC per call.
| Parameter | Type | Description |
|---|---|---|
values * | array | Agent-submitted scalar estimates to aggregate (>=1 value). |
trim | number | Fraction trimmed from each tail for trimmed mean (0..0.499). |
audit_compute_cost
Thermodynamic compute-cost audit via Landauer's principle (Landauer). Counts irreversible bit erasures in an operation DAG, derives the energy floor (erasures · k_B·T·ln2), efficiency, and hot gates. Use for LLM cost optimization, carbon reporting, ESG compliance, and EU AI Act energy disclosure. Cost ~$0.01 USDC per call.
| Parameter | Type | Description |
|---|---|---|
ops * | array | Operation DAG for Landauer audit. Each gate: {id, gate, inputs:[id,...], width?}. Reversible gates erase 0 bits; boolean gates erase fan_in-1. |
temperature_k | number | Kelvin (default 300). |
verify_compute_cost
Trustless replay of a Landauer thermodynamic audit (Landauer verify). Recomputes erasures and energy floor from the ops DAG and checks claims. Cost ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
ops * | array | Operation DAG for Landauer audit. Each gate: {id, gate, inputs:[id,...], width?}. Reversible gates erase 0 bits; boolean gates erase fan_in-1. |
energy_floor_j | Claimed energy floor (joules) to verify. | |
irreversible_bits | Claimed erasure count to verify. | |
temperature_k | number |
compute_least_time_route
Least-time routing with eikonal potentials + dual certificate (Fermat). Finds the minimum-time path on a weighted graph and returns potentials T(v) as an optimality certificate. Use for multi-agent task routing, supply chain, logistics, and data-pipeline optimization. Cost ~$0.01 USDC per call.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed weighted edges: [u, v, weight] or {from, to, cost?, latency?, reputation?} for blended refractive index. |
goal * | string | Start or goal node label. |
start * | string | Start or goal node label. |
blend | Blend coefficients {cost, latency, reputation, latency_scale} for dict edges. |
verify_least_time_route
Trustless certificate check for a Fermat least-time route (Fermat verify). Confirms feasibility on every edge and tightness on the path in O(E) time. Cost ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed weighted edges: [u, v, weight] or {from, to, cost?, latency?, reputation?} for blended refractive index. |
goal * | string | Start or goal node label. |
potentials * | object | Dual certificate T(v) from compute_least_time_route. |
start * | string | Start or goal node label. |
blend | ||
path | Claimed path (node labels). | |
total | Claimed path total time. |
analyze_cascade_risk
Systemic cascade-risk analysis via abelian sandpile / SOC (Ablation). Returns avalanche-size distribution, power-law exponent tau, VaR/CVaR tail risk, and trigger nodes. Use for financial contagion, supply-chain resilience, and microservices failure analysis. Cost ~$0.01 USDC per call.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed graph edges as [u, v] label pairs. |
capacities | Per-node toppling thresholds. | |
dissipation | integer | Grains leaked per topple. |
grains | integer | Stress grains to drive. |
nodes | Optional explicit node labels. | |
nonce | string | Commit-reveal nonce for drive schedule. |
s_min | integer | Power-law fit lower cutoff. |
sinks | Sink nodes that dissipate stress. |
verify_cascade_risk
Trustless replay of an Ablation cascade analysis (Ablation verify). Re-runs the sandpile and checks tau / topple_total claims. Cost ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed graph edges as [u, v] label pairs. |
claimed_tau | Claimed power-law exponent. | |
claimed_topple_total | Claimed topple total. | |
dissipation | integer | |
grains | integer | |
nonce | string | |
s_min | integer | |
seed | Reveal seed (after nonce commitment). |
get_quasirandom_sequence
Halton low-discrepancy quasi-random sequence (Lattice). Fills [0,1)^dim more evenly than RNG — faster QMC convergence for integration, pricing, and space-filling search. Deterministic from (count, dim, skip). Cost ~$0.002 USDC per call.
| Parameter | Type | Description |
|---|---|---|
count | integer | Number of Halton points. |
dim | integer | Dimension (default 2). |
skip | integer | Skip first N sequence indices. |
optimize_route
Euclidean TSP tour with optimality gap certificate (Colony). Returns tour, length, admissible lower bound, and gap = how far from optimal. Use for routing, scheduling, and logistics with a quality proof. Cost ~$0.005 USDC per call.
| Parameter | Type | Description |
|---|---|---|
points * | array | List of [x, y] coordinates (>=3 points) for TSP optimization. |
iterations | integer | 2-opt improvement budget. |
get_blue_noise
Blue-noise point set via Mitchell best-candidate (Turing). Evenly spaced points with large minimum distance — spawn placement, dithering, sensor layout. Omit seed for os.urandom (reported back). Cost ~$0.002 USDC per call.
| Parameter | Type | Description |
|---|---|---|
candidates | integer | Best-candidate pool size. |
count | integer | Number of points. |
seed | Optional seed for reproducibility. |
analyze_network_resilience
Percolation threshold and network resilience analysis (Percola). Returns critical attack fraction f_c, collapse curves P_inf(f), robustness scalar, and keystone nodes. Use before joining exposure graphs or multi-hop agent routes. Cost ~$0.01 USDC per call.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed graph edges as [u, v] label pairs. |
attack | string | Attack mode: targeted, random, or both. |
nodes | Optional isolated node labels. | |
nonce | string | Commit-reveal nonce for attack order. |
samples | integer | Collapse curve resolution. |
verify_network_resilience
Trustless replay of a Percola percolation threshold (Percola verify). Recomputes the attack sweep and checks the claimed f_c. Cost ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed graph edges as [u, v] label pairs. |
f_c * | number | Claimed critical attack fraction to verify. |
attack | string | Attack mode used in the original analysis. |
nonce | string | |
samples | integer | |
seed | Reveal seed for random attack order. |
sortes_draw
ECVRF randomness bound to a caller seed (UTF-8 or 'hex:' bytes). ~$0.006 USDC.
| Parameter | Type | Description |
|---|---|---|
alpha * | string | |
num_bytes | integer |
sortes_verify
Verify a Sortes VRF draw using the public key and proof (hex). ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
alpha * | string | |
pi * | string | |
public_key * | string |
gauss_field
Gaussian-process posterior mean and uncertainty at query points. ~$0.006 USDC.
| Parameter | Type | Description |
|---|---|---|
X * | array | |
query * | array | |
y * | array | |
hyperparams |
gauss_suggest
Best next experiment by Expected Improvement; provide candidates or bounds. ~$0.006 USDC.
| Parameter | Type | Description |
|---|---|---|
X * | array | |
y * | array | |
bounds | ||
candidates | ||
goal | string | |
grid | integer | |
hyperparams | ||
xi | number |
gauss_verify
Replay a Gaussian-process posterior and check claimed mean/variance. ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
X * | array | |
query * | array | |
y * | array | |
claimed_mean | ||
claimed_var | ||
hyperparams | ||
tol | number |
aestus_seal
Seal data in an RSW time-lock puzzle. Sequential squarings enforce delay. ~$0.006 USDC.
| Parameter | Type | Description |
|---|---|---|
data * | string | |
T | integer | |
encoding | string | |
modulus_bits | integer |
aestus_open
Open an Aestus puzzle by sequential squaring; may take time. ~$0.01 USDC.
| Parameter | Type | Description |
|---|---|---|
puzzle * | object |
aestus_verify
Verify the claimed modular-squaring result of an Aestus puzzle. ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
b * | string | |
puzzle * | object |
betti_homology
Persistent homology and Betti curves of a point cloud (up to 300 points). ~$0.008 USDC.
| Parameter | Type | Description |
|---|---|---|
points * | array | |
max_dim | integer | |
max_scale | ||
num_steps | integer |
betti_distance
Compare topological shape of two point clouds by persistence distance. ~$0.004 USDC.
| Parameter | Type | Description |
|---|---|---|
points_a * | array | |
points_b * | array | |
dim | integer | |
max_scale |
kantor_transport
Optimal transport/Wasserstein distance; supply cost or source/sink points. ~$0.006 USDC.
| Parameter | Type | Description |
|---|---|---|
a * | array | |
b * | array | |
cost | ||
eps | number | |
method | string | |
metric | string | |
p | number | |
sink_points | ||
source_points |
kantor_verify
Certify transport feasibility, primal cost and dual optimality. ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
a * | array | |
b * | array | |
claimed_cost * | number | |
plan * | array | |
potentials * | object | |
cost | ||
metric | string | |
p | number | |
sink_points | ||
source_points | ||
tol | number |
fourier_spectrum
Graph Laplacian spectrum, connectivity and Fiedler cut. ~$0.005 USDC.
| Parameter | Type | Description |
|---|---|---|
edges * | array | |
k | integer | |
laplacian | string | |
nodes |
fourier_verify
Certify an eigenpair; eigenvalue is sent as the oracle's `lambda` field. ~$0.001 USDC.
| Parameter | Type | Description |
|---|---|---|
edges * | array | |
eigenvalue * | number | |
vector * | array | |
laplacian | string | |
nodes | ||
tol | number |
get_random
Draw unbiasable, Ed25519-signed verifiable randomness (Platon). Use this when you need randomness an autonomous agent cannot bias or predict and that a third party can verify — fair selection, sampling, raffles, commit-reveal, anti-MEV ordering. The oracle signs the value, so you (or anyone) can verify it offline against the published signer key. Returns: The standard envelope (see server instructions). `result` contains: - `random_hex`: the random bytes, hex-encoded (`num_bytes` long). - `proof`: `{state_hash, tick, timestamp, entropy_commitment…
| Parameter | Type | Description |
|---|---|---|
client_seed | string | Optional caller-supplied seed (hex) for domain separation — it is bound into the signed proof so two callers asking at the same tick get distinct, attributable randomness. Pass '' to omit. |
num_bytes | integer | Number of random bytes to draw, 1..1024. The result's `random_hex` is this many bytes hex-encoded. Use 32 for a 256-bit seed/word. |
get_randomness_beacon
Fetch the round's public randomness beacon (Platon) — one shared value all callers in the round observe, useful as a common coin / shared seed. Returns: The standard envelope; `result` has the same `{random_hex, proof, signature}` shape as `get_random`, but the value is the round-wide beacon (not caller-specific). Cost ~$0.004 USDC. Example: get_randomness_beacon()
ask_oracle
Ask the Platon oracle for a grounded, entropy-derived read-only answer. Use for lightweight oracle-mediated decisions (e.g. an unbiased pick among options). Read-only — no side effects, no state change. Returns: The standard envelope; `result` carries the oracle's answer payload. Cost ~$0.003 USDC. Example: ask_oracle(question="Pick one at random: red, green, or blue?")
| Parameter | Type | Description |
|---|---|---|
question * | string | A question to answer from the oracle's entropy/state. Read-only; no side effects. |
verify_random
Verify a Platon randomness draw without re-running it (Platon verify). Pass `random_hex`, `proof`, and `signature` exactly as returned by `get_random` / `get_randomness_beacon`. Confirms the Ed25519 signature over the canonical (random_hex, proof) against the signer's published public key — so you trust the math, not the service. Returns: The standard envelope; `result` is `{valid: <bool>}` (plus `error` if the input was malformed). Cost ~$0.001 USDC. Example: verify_random(random_hex="0x9f2c…", proof={"scheme": "platon-chaos-vrf/v1", …},…
| Parameter | Type | Description |
|---|---|---|
proof * | object | The `proof` object from the draw: {scheme, state_hash, client_seed, tick, timestamp, entropy_commitment}. |
random_hex * | string | The `random_hex` value returned by get_random / get_randomness_beacon. |
signature * | object | The `signature` object from the draw: {algorithm:'ed25519', public_key, value}. |
compute_vdf
Evaluate a Verifiable Delay Function (Chronos) — proof that real sequential work elapsed. Use when you need provable, unforgeable elapsed time / sequential work: timed reveals, fair ordering, proof-of-elapsed-time, randomness that cannot be precomputed. Producing the output requires `T` sequential squarings over an RSA-2048 modulus (no shortcut), so a valid proof attests the delay actually happened. Verify cheaply with `verify_vdf`. Returns: The standard envelope; `result` contains: - `scheme`, `g`, `y` (= g^(2^T) mod N), `proof` (`{pi, l}`, Wesolowski…
| Parameter | Type | Description |
|---|---|---|
seed * | string | Seed (hex) the VDF is evaluated over; it binds the generator g, so the output is tied to this input. |
difficulty | integer | T — the number of sequential squarings to perform (1..1_000_000). Higher T = more wall-clock work that cannot be parallelized/GPU-accelerated, i.e. a longer provable delay. ~1000 is a fast demo; tun… |
verify_vdf
Verify a Chronos VDF proof in a single exponentiation. Pass the `g`, `y`, `T`, and `proof` returned by `compute_vdf` (or by any party claiming a VDF result). Confirms `y = g^(2^T) mod N` without redoing the T squarings. Returns: The standard envelope; `result` is `{valid: <bool>}`. Cost ~$0.001 USDC. Example: verify_vdf(g="0x03", y="0x9f2a…", T=100000, proof={"pi": "0x1a2b…", "l": "0x65"})
| Parameter | Type | Description |
|---|---|---|
T * | integer | Difficulty T (squarings) that produced y; must match the value used in `compute_vdf`. |
g * | string | Generator g (hex) as returned by `compute_vdf`. |
proof * | object | The Wesolowski proof object from `compute_vdf` — `{pi, l}` (pi = proof element, l = Fiat-Shamir prime). |
y * | string | Claimed VDF output y = g^(2^T) mod N (hex) from `compute_vdf`. |
get_reputation_scores
Compute PageRank/EigenTrust trust scores over a directed trust graph you supply (LUMEN). Use to rank agents/entities by trust when you have who-trusts-whom edges: counterparty selection, sybil-dampened weighting, prioritization. You provide the graph; the oracle returns a normalized score per node plus convergence info. Returns: The standard envelope; `result` contains: - `scores`: array of `nodes` floats that sum to 1 (±1e-6) — node i's trust share. - `iterations`, `converged`: power-iteration convergence info. Cost ~$0.005 USDC (scales…
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed, weighted trust edges as `[from_index, to_index, weight]`. An edge i→j with weight w means node i confers w trust on node j. Weights need not be normalized. |
nodes * | integer | Number of nodes in the directed trust graph, 1..100000. Node indices in `edges` must be in [0, nodes). |
damping | number | PageRank damping factor in [0,1] (default 0.85). Lower = more weight on the uniform prior, dampening graph manipulation. |
get_agent_trust
Trust score, rank, and percentile of ONE node in a trust graph you supply (LUMEN). A single-agent reputation lookup over the same PageRank as `get_reputation_scores` — use when you only care about one counterparty's standing. Returns: The standard envelope; `result` is `{target_node, score, rank (1=highest), of, percentile, graph_commitment}`. Cost ~$0.003 USDC. Example: get_agent_trust(nodes=3, edges=[[0,1,1.0],[1,2,0.5],[2,0,0.5]], target_node=1)
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed, weighted trust edges as `[from_index, to_index, weight]`. An edge i→j with weight w means node i confers w trust on node j. Weights need not be normalized. |
nodes * | integer | Number of nodes in the directed trust graph, 1..100000. Node indices in `edges` must be in [0, nodes). |
target_node * | integer | Index of the node whose trust score/rank/percentile to return (0-based, in [0, nodes)). |
damping | number | PageRank damping factor in [0,1] (default 0.85). Lower = more weight on the uniform prior, dampening graph manipulation. |
verify_reputation
Verify LUMEN reputation scores by re-deriving PageRank over the supplied graph (LUMEN verify). Pass the graph and the `scores` (and optionally the `graph_commitment`) from a `get_reputation_scores` result; confirms they are the correct PageRank of exactly that graph. Returns: The standard envelope; `result` is `{valid: <bool>, max_abs_diff, [commitment_match]}`. Cost ~$0.002 USDC. Example: verify_reputation(nodes=3, edges=[[0,1,1.0],[1,2,0.5],[2,0,0.5]], scores=[0.33,0.33,0.34])
| Parameter | Type | Description |
|---|---|---|
edges * | array | Directed, weighted trust edges as `[from_index, to_index, weight]`. An edge i→j with weight w means node i confers w trust on node j. Weights need not be normalized. |
nodes * | integer | Number of nodes in the directed trust graph, 1..100000. Node indices in `edges` must be in [0, nodes). |
scores * | array | The `scores` array from a get_reputation_scores result, to be re-derived and confirmed. |
damping | number | PageRank damping factor in [0,1] (default 0.85). Lower = more weight on the uniform prior, dampening graph manipulation. |
graph_commitment | string | Optional `graph_commitment` (0x… SHA-256) from the result, to bind the check to the exact graph. Pass '' to skip. |
list_oracle_capabilities
List every oracle tool with capabilityId, price, category, and optional subscription tiers. Call this first to discover what's available and what each call costs before invoking. Returns: JSON with `tools` (flat catalog) and `categories` (group labels). Example: list_oracle_capabilities()