Pranav GudiseCode on GitHub

Prompt to Quote

Describe a deal the way a rep would. You get a quote priced from PagerDuty's public price book (November 3, 2026), checked against an example approval policy, and routed to the people who need to approve it.

or Ctrl / ⌘ + Enter
Loading Python in your browser (about 10 seconds the first time). The examples work now.
Examples
No quote yetPick an example or describe a deal, then press Quote it.

Deal record the interpreter extracted

This is all the pricing engine sees. There are no prices in it.

How it works

The interpreter turns your words into a deal record, and a separate pricing engine prices that record from PagerDuty's public price book, checks it against an example approval policy, and routes it. The interpreter never sees a price. Anything the book can't price, or any term it can't read, goes to deal desk or back to the rep instead of being guessed.

1Interpret

Words to fields. Plan, users, stakeholders, billing, term, discount, payment terms, price lock, close date, events, AI Actions, add-ons. A term it can't read goes on an unparsed list.

2Price

Fields to dollars. Prices come only from data/price_book.json, and every line cites the entry it came from. A new price book changes prices without a code change.

3Check

Book and policy rules. Starter's 30-seat cap, stakeholders counting as seats, annual-upfront billing, bonus seats, the AI Actions promotion deadline, discount bands, payment terms, price locks.

4Route

Status and approvers. Ready, needs approval, blocked, or needs info. A quote could approve on its own only at 10% off or less with nothing but informational flags.

  • infoFor the record. Nothing to do.
  • checkA person confirms.
  • routeAdds an approver.
  • blockCan't be quoted as asked.
  • askThe rep needs to supply or restate something.

Blocked and needs-info quotes show no total, so nobody can forward a number that isn't real. This page runs the offline rules interpreter; the repo also has a Claude interpreter that fills the same record through a strict tool call.

Test results

30 hand-checked deals, rules interpreter + engine
30 of 30

Zero critical errors. 10 of the deals are price-book traps. The go-live gate is 29 of 30 with no critical errors.

Engine alone, on hand-written deal records
30 of 30

The pricing and routing are right independent of the interpreter.

List price times quantity
3 of 30

A floor, not a competitor. It shows the cases test more than multiplication.

Price-book change, before vs. at launch
7 of 30 move

A 20-user Essential deal at 40,000 events fit before November 3 and needs credits for 15,000 events after.

15 fresh deals written by an outside reviewer
0 wrong

5 priced correctly and 10 asked the rep. Too many asks for a product, but the right direction to err.

25 tricky phrasings found in review
25 of 25

A regression check. The parser was fixed against these, so it isn't a held-out score.

Limits

  • The rules interpreter is a regex written with the test prompts in view. Unusual wording usually gets a request to restate rather than a price. The Claude interpreter is the intended path and hasn't been run against the test set yet.
  • The approval policy is an example. PagerDuty's real discount rules aren't public.
  • PagerDuty doesn't publish a price per credit, so quotes show credit quantities and leave the rate to deal desk.
  • Terms that change by year (ramps, stepped discounts) aren't modeled yet; the demo asks the rep instead.
  • No CRM write-back and no order form.