{
"item_count": 1000,
"max_batch": 50,
"max_bytes": 100000,
"avg_item_bytes": 2500
}
Agent workflow composition · agent-workflow
Delx Batch Size Plan
Recommend a batch size from item count, hard cap, and average item bytes — call when batching micro-calls under item and byte caps. 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/batch-size-plan -m POST -H 'x-delx-source: product-page' --max-amount 0.003 -b '{"item_count":1000,"max_batch":50,"max_bytes":100000,"avg_item_bytes":2500}'
{
"schema": "delx/util-batch-size-plan/v1",
"item_count": 1000,
"recommended_batch_size": 40,
"estimated_batches": 25,
"max_batch": 50,
"byte_limited_batch": 40
}
Machine-readable evidence