-
-
Entole: a price limit for AI shopping. The agent finds, your signature pays.
-
Set a $450 limit for 3 days. The agent may buy only one of 3 signed items; 2 listings rejected, one a planted trap.
-
PayPal holds $450 (AUTHORIZE). Approving the hold approves the signed terms.
-
Watching replayed Channel3 prices with $450 held. A simulated compromised agent is blocked: not an item you signed.
-
Bought at $326.99, cheapest of 5 shops. PayPal releases the other $123.01 in the same final capture. Sandbox replay.
-
Live, 6 Nov: a signed Channel3 price webhook wakes one Render Workflows run, and Entole buys the Bose order at $199. PayPal releases $211.
-
Bryntum Scheduler: each watch window, price check, hold expiry and buy moment, proposed by the agent.
-
AG Studio dashboard: orders, savings and price history, built with AG Grid and AG Charts.
-
Any MCP client can draft a limit order with a scoped token. Nothing is held until you approve in PayPal.
-
The APIMatic Context Plugin for PayPal, used to build every PayPal call on the official PayPal Server SDK.
-
The APIMatic-generated Entole SDK map: real signatures, routes and typed errors.
PayPal itself holds your limit while Entole waits up to 29 days for the price, and the terms you signed are hashed into the PayPal order, so an agent can only buy what you approved, at or below your price.
For judges: live app at https://entole.vercel.app (sandbox login in the testing instructions). Video: 0:58 set your price · 1:14 the shortlist and the rejected trap · 1:28 one PayPal hold · 1:39 a rogue agent gets blocked · 1:49 replay of real prices, bought for $326.99 · 2:08 live: the hourly check · 2:19 a real Channel3 webhook wakes an order and buys it for $199 · 2:27 schedule, dashboard and any AI client over MCP · 2:46 why the model never pays.
Two commands in the repo back up the claims. bun run eval:guard runs 23 cases through the payment check: 17 of 17 attacks blocked, 0 of 6 honest buys wrongly blocked. The same run scores a guard that only checks the price against the limit, and that guard pays 14 of the 17 attacks. bun run verify:order <mandate.json> rebuilds the SHA-256 digest from the signed terms and compares it with the digest stored for the order, and with the PayPal order's custom_id when you give it an order id. Change one signed field and it fails.
A real Channel3 webhook buy (6 Nov 2026, 2:19 in the video): a Channel3 price event woke my Bose QuietComfort Ultra order, one Render Workflows run compared 4 shops and bought it for $199, and PayPal released the other $211. The hourly run was switched off at the time.
Inspiration
AI agents can now check out with PayPal. When one buys the wrong thing, the money has already moved, and nobody can prove what the person allowed.
Merchants feel this. PYMNTS Intelligence (2026-09-15) found that 93% of about 60 US retail merchants say the agent provider should cover the loss when an agent makes the wrong choice. The attacks are simple. In an IBM demo, hidden black-on-black text on a seller page made an agent pay $55 for a used book, about twice the expected price. On 2026-08-27, UCP Checker saw Gemini 3.1 Pro and Grok 4.5 follow a hidden notice in a product description in all 12 sessions and add a $5 pot to every rose order.
Most teams are building the buying agent. I wanted to build the limit on it.
What it does
Entole is a limit order for AI shopping. You tell it your price, it waits, and only your signature pays.
You log in with PayPal and write a limit, for example "a Dyson V15 Detect vacuum, at or below $450, within 3 days." Taste chips from your last order fill in the form, and you can drop any of them.
An agent on Groq searches Channel3 and shortlists up to three products. Each one goes through the same check that later decides payment. A planted trap listing shows up in the rejected list with its reasons and never makes the shortlist.
You approve one PayPal hold for your limit. That approval is your signature on the exact terms and the exact shortlist. Entole starts Channel3 price tracking for each candidate, and a watcher checks the prices. When one drops to your limit, Entole captures that one item as a final capture, so PayPal releases the rest of the hold at once, and shows "Saved $X" and "Why this one". If nothing drops in time, it voids the whole hold.
The other price-drop buyers I found charge a saved card or wallet, and their own code is the only limit. Amazon's Auto Buy works that way inside Amazon. In Entole the money sits in a PayPal hold before the watching starts, the order works across shops and buys at the cheapest matching one, and it can only ever pay for a listing you approved.
Built with the sponsors
- AG Grid and AG Studio: a dashboard of your own orders with two custom AG Studio widgets (an AG Grid of orders that cross-filters the page, and AG Charts price history with your limit as a dashed line), and a custom Savings explainer agent on Groq that hands report edits to Studio's built-in agents. Both widgets sit in Studio's Widgets tab, so its agents can add them too.
- Bryntum Scheduler: every limit order as one row: the watch window, the PayPal hold, each price check, the capture and the release. When the price comes within 5% of your limit, the watcher proposes an extra check on its own; you drag it inside the limit the API enforces and accept it. Webhook checks show as Price alert marks with their Render run id.
- Channel3: search, a re-quote at capture that buys only an in-stock offer not listed as used, signed webhooks that wake an order when a signed product's price drops or it is back in stock, and the 30-day low and high when you change an order.
- Render Workflows: each Channel3 webhook starts a check run for just the orders it affects, with an idempotency key so a redelivery never starts a second run. An hourly run is the safety net: one sub-task per funded order.
- APIMatic: every PayPal Orders and Payments call goes through the official PayPal Server SDK, built with the APIMatic Context Plugin. Entole's own API also ships an APIMatic-generated SDK and context plugin; generating it caught two real bugs in my spec, and my API now honours the Idempotency-Key that SDK sends.
- MCP: any AI client, such as Claude Desktop, can draft a limit order with a scoped token. Nothing is held until you approve in PayPal.
How I built it
The mandate is canonical JSON. I hash it with SHA-256 and put the digest in the PayPal order custom_id. Entole refuses funding if the authorization carries a different digest or amount. Approving the hold in PayPal therefore means approving that mandate, and the browser never handles a key. Anyone with the stored mandate can check this with bun run verify:order, which uses the same function that made the digest.
The pay or no-pay call is checkProposal, a pure function in the mandate package. It checks price, budget, brand, avoided words, required options, merchant, link domain, expiry of the window and the hold, and whether the product is on the signed shortlist. It never takes a price from the caller: the server re-quotes the real offer from Channel3 at capture time. A lock per mandate stops two proposals from capturing more than what is left.
The price limit alone is not enough, and I measured how much it misses. In the guard eval, a guard that only compares the price with the limit pays 14 of the 17 attacks: the planted listing, the wrong shop, the wrong size, links that leave the shop, lookalike domains, avoided words, a buy after the window or the hold ended, a buy before approval and a second buy. It stops only the two prices above the limit and the product that no longer exists. Entole's check blocks all 17 and still lets all 6 honest buys through.
The model only shortlists: up to 3 products in at most 4 tool steps. The watcher, not the model, makes the buy, and every buy goes through the check.
PayPal calls: Orders v2 with AUTHORIZE, a final capture (final_capture=true, so PayPal releases the rest of the hold in the same call) with a note_to_payer receipt, reauthorize to renew the hold past day 3, void when nothing is bought, refund, custom_id, and Log in with PayPal (OIDC userinfo). Channel3 calls: search, product details with options, product subscriptions (price updates), and price history. Groq runs openai/gpt-oss-120b with tool calling. Before submitting, I ran the doctor check from PayPal's AI Toolkit over the integration. It reported 0 critical issues. Its one money-safety warning, that a retried capture on a multi-buy order could charge twice, is fixed and covered by a test.
The code is a Bun and TypeScript monorepo split into modules: mandate, limit order, shopping, identity and a small shared kernel. Each module has domain, application and infrastructure folders, and a test checks the dependency rules between them. A standalone Bun.serve API serves the app, and a Next.js 16 web app is the UI. The API runs on Render in Docker, and the live price watcher runs on Render Workflows. A Channel3 webhook, verified in plain code (Svix HMAC, five-minute replay window), starts a check for each order it affects; it can wake an order but never buy, because the check re-quotes the price itself. An hourly cron job starts one sub-task per funded limit mandate as the safety net. The web app runs on Vercel and rewrites /api/* to the API, so the session cookie is first party. Neon Postgres keeps mandates across restarts. bun run check runs 525 passing tests, plus 18 live tests that are skipped by default.
Challenges I ran into
Price drops take days, and a demo takes minutes. So I added replay: Entole plays the real Channel3 price history (30 daily points) in about 60 seconds. I did not want to fake anything, so a REPLAY banner stays on screen and every capture says "in replay". Only the price feed changes. The trigger, check, capture and void are the same code as the live path.
PayPal honors an authorization for 3 days and keeps it valid for 29, so limit orders run 1 to 29 days and the watcher renews the hold once after day 3. The sandbox refused a second renewal of the same hold, so if PayPal refuses, the order closes and the hold is voided. I first planned to sign with a browser key. The digest in custom_id gave the same meaning with less to go wrong. The shortlist also had to be part of the signed terms, or a compromised agent could pick any product inside the price limit. The eval now puts a number on that: 14 of 17 attacks get through a price-only check.
Accomplishments that I'm proud of
- A prompt-injected or compromised agent cannot spend. I show this live with the trap listing and a "Simulate compromised agent" button. Both are blocked with reasons.
- A real PayPal sandbox flow end to end: hold, one final capture at or below the limit, the rest released by PayPal, and a void when nothing is bought.
- A real Channel3 webhook woke a waiting order and bought it for $199, with $211 released.
- The signed terms can be checked by anyone with one command, and a tampered copy fails.
- Entole computes savings from the baseline and the captured price. Nobody types them in.
What I learned
Put the safety rule where the model cannot reach it. The model is good at finding things and bad at saying no. A hold at PayPal plus a signed digest gives a limit that holds even when the agent fails. Measuring the price-only baseline showed me that the limit price is the smallest part of the check. I also learned that a labelled replay works better than a fake live demo.
What's next for Entole
- Signed AP2 mandates (today the export is unsigned).
- Place the order at the winning shop after the capture and ship to the address from the PayPal approval.
- Check the shop's full total with shipping and tax before capturing.
- More currencies (today it is USD in cents).
- Dispute evidence from the audit trail: what was allowed, what was tried, and what was captured.
Built With
- ag-charts
- ag-grid
- ag-studio
- apimatic
- bryntum-scheduler
- bun
- channel3
- channel3-price-tracking
- docker
- gpt-oss-120b
- groq
- log-in-with-paypal
- mcp
- neon
- next.js
- paypal-ai-toolkit
- paypal-authorize-capture
- paypal-orders-api
- paypal-sandbox
- paypal-server-sdk
- postgresql
- render
- render-workflows
- typescript
- vercel
