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. Enter a known pack limit for each offer. “In stock” alone does not tell you how many packs are available.

OfferItems per packPrice per packPacks available
A
B

This demo uses two offers and up to 50 needed items. 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, 50 required units, 50 units per pack, 50 packs per offer and 4096 JSON bytes. The free trial is repeatable. Larger separately authorized plans cost $0.0008 per call; hosted MCP/Python paid calls use prepaid credits funded with $1 or $5 credit packs. There is no automatic upgrade here.

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