Inspiration
AI agents now answer customer replies on their own, and more and more of them attach a payment link to anything that sounds positive. But "Thanks, I'll look at the price quote first" is not "Let's do it, how do I pay?". A checkout link at the wrong moment feels like pressure, and the customer walks away. It never shows up in a report.
What it does
BEZEN Reply Desk reads every customer reply for what the person is protecting, decides the next step, drafts the message, and waits for a team member to approve it. When, and only when, the customer clearly says they want to pay, it prepares a PayPal checkout link.
- The model returns
pay_readywithpay_evidence: the customer's exact words that show readiness. - Code checks those words are really in the reply.
payment_allowed()decides in code: only a "ready_yes" state, only the "answer now" route, only with a price on record, and never for intrusion ("Where did you get my email?"), guilt or loss ("My mother is 84..."), or career risk ("If it flops my boss will remember").- If allowed, a PayPal Orders v2 checkout is created and logged. It is attached to the message only after a person approves.
- "Check payment status" reads the order and captures it once the buyer approves.
On the 10-reply sample inbox, exactly 2 replies get a PayPal link; "Send me the price", "I'll look at the price quote first" and the 3 sensitive replies get none, each with the reason written in the log.
How we built it
- Python + FastAPI on a Vultr VM, Caddy for HTTPS, SQLite for the queue and every logged step.
- AI: Vultr Serverless Inference, model qwen3.8-27b, for the reading and the draft.
- PayPal: REST OAuth2 + Orders v2 (create, get, capture) in the sandbox, in
app/paypal.py. - The gate is code, not a model:
app/critic.py, with tests. - The demo video's English narration was generated from my own Hebrew recording with Vultr's chatterbox voice model.
Challenges
Getting the model to separate "asking about price" from "ready to buy". The answer was to make the model quote the words, and let code make the final call.
What we learned
In payments, the most valuable thing an agent can do is hold back. Every link not sent to someone who wasn't ready is a customer kept.
What's next
Real inboxes and CRMs, and PayPal invoicing for B2B replies that ask for an invoice.