Inspiration
Sending money should be as easy as sending a message, but payment apps are full of forms and fields. We wanted to let people simply say "Pay Meera $50" and have it happen, without making money moves risky. An AI that touches money must be safe by design, so PayPilot puts the user in control at every step.
What it does
PayPilot is an AI agent that turns plain-English commands into PayPal payouts. A user types something like "Pay Meera $50 and Arjun $75." Gemini AI reads the message and extracts the names and amounts. PayPilot checks each name against a list of known contacts and shows a confirm card. Only after the user clicks Confirm does the server send the payout through the PayPal API.
Features:
- Natural-language payments
- Multiple payments in one message
- Invoice commands, e.g. "Invoice Ravi $200 for logo design, due Friday"
- A human confirmation step before any money moves
- Cancel at any time, and nothing is sent
- Unknown contacts are rejected, so money never goes to the wrong person
How we built it
The server is built with Node.js. The Gemini API turns free-form text into structured actions (who, how much, what type). The PayPal API in sandbox mode handles payouts and invoices. The web interface is plain HTML, CSS and JavaScript. The flow has two steps: /parse understands the command and returns a preview, and /execute only runs after the user confirms.
Challenges we ran into
The hardest part was making AI safe around money. A language model can misread a name or amount, so we never let the AI send anything directly. Its output is only a proposal: it is checked against an allow-list of contacts, shown to the user, and executed only after explicit confirmation.
Accomplishments that we're proud of
A working end-to-end agent: type a sentence, confirm, and a real PayPal sandbox payout happens. Unknown contacts are blocked, and cancelling sends nothing.
What we learned
AI is best used to understand intent, while the code decides what is allowed. Keeping a human confirmation step and a strict allow-list makes an AI agent trustworthy enough to handle payments.
What's next for PayPilot
Voice commands, recurring payments, spending limits, payment history, and support for more currencies.
Built With
- css
- gemini-api
- html
- javascript
- node.js
- paypal
