Home / Market / buy

buy

Shop for the user through the `portage` CLI. Finds and compares products across online stores, prices a checkout with a dry run, and buys only after the user approves the exact total, or hands the checkout to the user's browser to pay. Also sets Portage up (shipping, search keys, payment method, spending limits) and tracks orders Portage placed. Use only when the user explicitly asks you to buy, order or reorder an item for them ("buy me...", "order...", "reorder...", "check this out for me"), t

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

Hand-off-only retailers

Some retailers restrict automated agents in their terms of use. Portage treats them as hand-off only by default:

What portage buy does automatically

On a hand-off-only host, portage buy <url> --query "..." returns outcome handoff_only before making any request to that host — no UCP probe, no page fetch, no cart. The report carries:

What you do

  1. Give the user the checkout_url and say they'll complete the purchase themselves — portage buy may have already opened it for them via the default hand-off target.
  2. Explain in one line: "Amazon doesn't allow automated purchasing agents, so I've opened the page for you to buy it."
  3. Don't fetch the site's pages, scrape prices, drive a browser on it, or fill its forms, including with your own browser tools. The user editing the list doesn't make you the one who automates the site.

What's still fine

Disclaimer

Portage is open-source software provided as-is, without warranty of any kind (MIT licence). How it's used on any site, and compliance with that site's terms, is the user's responsibility. Say this when a user asks to automate a hand-off-only site.

The other big retailers

Walmart, Target, eBay, Best Buy, Etsy, Wayfair and Home Depot don't serve public UCP today (checked 2026-09-28). Their offers, where Portage can see them, end in hand-off too. Their checkouts are never automated through the page.