{
  "format": "delx/intent-card/v1",
  "id": "concurrency-cap-api",
  "intent": "Concurrency Cap for an agent workflow",
  "title": "Concurrency Cap API for agents",
  "description": "Cap desired worker concurrency against a hard limit and queue depth signal — call when clamping desired parallelism against a hard worker limit. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Concurrency Cap API",
    "Concurrency Cap for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/concurrency-cap-api",
  "machine_url": "https://commerce.delx.ai/intents/concurrency-cap-api.json",
  "recommendation": {
    "tool_name": "util_concurrency_cap",
    "service_name": "Delx Concurrency Cap",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/concurrency-cap",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "desired_workers": {
          "description": "Requested concurrent workers.",
          "type": "number"
        },
        "hard_cap": {
          "description": "Maximum allowed concurrent workers.",
          "type": "number"
        },
        "queue_depth": {
          "description": "Current queue depth used as a saturation signal (non-negative).",
          "type": "number"
        }
      },
      "required": [
        "desired_workers",
        "hard_cap"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "desired_workers": 32,
      "hard_cap": 8,
      "queue_depth": 12
    },
    "example_output": {
      "schema": "delx/util-concurrency-cap/v1",
      "desired_workers": 32,
      "hard_cap": 8,
      "effective_workers": 8,
      "queue_depth": 12,
      "saturated": true
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/concurrency-cap -m POST -H 'x-delx-source: intent-card-concurrency-cap-api' --max-amount 0.003 -b '{\"desired_workers\":32,\"hard_cap\":8,\"queue_depth\":12}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-concurrency-cap-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/concurrency-cap"
  }
}
