{
  "format": "delx/intent-card/v1",
  "id": "seeded-ab-assignment-api",
  "intent": "Seeded Ab Assignment for an agent workflow",
  "title": "Seeded Ab Assignment API for agents",
  "description": "Seeded Ab Assignment: Seeded Ab Assignment assigns a stable subject to A or B using caller weights from bounded caller-supplied values without an external provider. Call Seeded Ab Assignment 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 Ab Assignment 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.",
  "keywords": [
    "Seeded Ab Assignment API",
    "Seeded Ab Assignment for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/seeded-ab-assignment-api",
  "machine_url": "https://commerce.delx.ai/intents/seeded-ab-assignment-api.json",
  "recommendation": {
    "tool_name": "util_seeded_ab_assignment",
    "service_name": "Seeded Ab Assignment",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/seeded-ab-assignment",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "subject": {
          "type": "string",
          "maxLength": 8192,
          "description": "Subject supplied to Seeded Ab Assignment; used only for this bounded calculation and processed in memory without retention."
        },
        "weight_a": {
          "type": "number",
          "description": "Weight A supplied to Seeded Ab Assignment; used only for this bounded calculation and processed in memory without retention."
        },
        "seed": {
          "type": "string",
          "maxLength": 8192,
          "description": "Seed supplied to Seeded Ab Assignment; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "subject",
        "weight_a",
        "seed"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "subject": "user-42",
      "weight_a": 0.5,
      "seed": "experiment-1"
    },
    "example_output": {
      "schema": "delx/util-seeded-ab-assignment/v1",
      "operation": "seeded_decision:seeded_ab_assignment",
      "status": "pass",
      "result": {
        "variant": "A",
        "bucket": 0.20753750438844298
      },
      "evidence": {
        "input_sha256": "96739ac478c933dfd4385515e11012fab06dfd8342764dd368da174bbe750bfa",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/seeded-ab-assignment -m POST -H 'x-delx-source: intent-card-seeded-ab-assignment-api' --max-amount 0.001 -b '{\"subject\":\"user-42\",\"weight_a\":0.5,\"seed\":\"experiment-1\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-seeded-ab-assignment-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/seeded-ab-assignment"
  }
}
