DELXCOMMERCE Payable now

Portable intent card · agent-ops-math

Seeded Weighted Partition API for agents

Seeded Weighted Partition: Seeded Weighted Partition assigns items to partitions using reproducible capacity weights from bounded caller-supplied values without an external provider. Call Seeded Weighted Partition when an agent needs a reproducible decision that another run can independently replay. Returns the deterministic selection plus seed provenance, population bounds, and the operation-specific outcome for Seeded Weighted Partition as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Uses Python pseudorandomness for reproducibility, not cryptography, lotteries with value, security tokens, gambling, or custody. Advisory output only; the buyer owns authorization, payment policy, and production decisions.

Seeded Weighted Partition APISeeded Weighted Partition for agentspay per result APIx402 APIno API key

Intent to transaction

One command, attributed.

The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/seeded-weighted-partition -m POST -H 'x-delx-source: intent-card-seeded-weighted-partition-api' --max-amount 0.001 -b '{"items":["a","b","c","d"],"partitions":["small","large"],"weights":[1,3],"seed":"weighted-part-1"}'
Example inputPOST /api/v1/x402/seeded-weighted-partition
{
  "items": [
    "a",
    "b",
    "c",
    "d"
  ],
  "partitions": [
    "small",
    "large"
  ],
  "weights": [
    1,
    3
  ],
  "seed": "weighted-part-1"
}
Agent discoverydelx/intent-card/v1
{
  "intent": "Seeded Weighted Partition for an agent workflow",
  "tool_name": "util_seeded_weighted_partition",
  "price_usdc": "0.001",
  "machine_url": "https://commerce.delx.ai/intents/seeded-weighted-partition-api.json"
}

Portable and inspectable

Share the intent, not a directory search.