{
"desired_workers": 32,
"hard_cap": 8,
"queue_depth": 12
}
Agent workflow composition · agent-workflow
Delx Concurrency Cap
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.
One-command purchase
Run it from an agent.
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/concurrency-cap -m POST -H 'x-delx-source: product-page' --max-amount 0.003 -b '{"desired_workers":32,"hard_cap":8,"queue_depth":12}'
{
"schema": "delx/util-concurrency-cap/v1",
"desired_workers": 32,
"hard_cap": 8,
"effective_workers": 8,
"queue_depth": 12,
"saturated": true
}
Machine-readable evidence