Agent Utilities
An experiment in shopping arithmetic

Cheaper per item.
But cheaper for your basket?

A ten-pack can have the lower unit price while two six-packs cost less for the quantity you need. Compare whole-pack combinations here.

Free calculation · No account · No purchase or order placement

What do you need?

Compare interchangeable items in one currency, using the same exact unit for every offer (for example, 1 unit = 8 ml). Enter a known pack limit for each offer. “In stock” alone does not tell you how many packs are available.

OfferUnits per packPrice per packPacks available
A
B

This demo uses two offers and up to 1000 needed units. Prices and stock above are fictional examples. It does not fetch prices, verify product equivalence or check live inventory. Shipping, tax and fees are excluded.

Clicking sends only the entered quantities, prices and currency to Agent Utilities’ free API. No payment credentials are requested. The service records aggregate request counts; it does not intentionally store these inputs.

For agents: the same call, as JSON

The request below follows your inputs. Send it to the fixed free endpoint with Content-Type: application/json. No key, wallet or payment is needed. A rejection never triggers a paid call.

POST https://agent-utilities.agent-utilities.workers.dev/v1/preview/commerce.pack-plan
{
  "currency": "USD", "minorUnitDigits": 2, "requiredUnits": 12,
  "offers": [
    {"id": "A", "unitsPerPack": 6, "price": "7.99", "maxPacks": 10},
    {"id": "B", "unitsPerPack": 10, "price": "11.99", "maxPacks": 10}
  ]
}
View the computed JSON response
No request sent yet.

The API accepts up to three offers, 1000 required units, 1000 units per pack, 50 packs per offer and 4096 JSON bytes. The free trial is repeatable. Full hosted plans are also free during validation, within their published input and shared capacity limits. No funding is needed. Use the full tool.

Machine-readable schemas and limits · MCP setup · Python example