-
-
Paypilot-ai project Local Front end screen
-
Paypilot-ai project Local host backend cmd screen
-
Paypilot-ai Project Local Host Frontend cmd screen
-
Paypilot-ai Project Github Repository screen
-
Paypilot-ai project Backend Render cloud deployment screen
-
Paypilot-ai project Frontend Vercel cloud deployment screen
-
Paypilot-ai Project Web Purchase Request screen
-
Paypilot-ai project Run Ai Agent Grids Gemini API 3.1 Flash Lite Model Analysis screen
-
Paypilot-ai Project Ai Agents work flow Analysis screen
-
Paypilot-ai project Pay pal sandbox Paypilot Ai screen
-
Paypilot-ai project Mongo db order screen
-
Paypilot-ai project Paypal sanbox testing account screen
-
Paypilot-ai project paypal sanbox API calls details screen
-
Paypilot-ai project Paypal sanbox payment confirmed screen
-
Paypilot-ai project Mongo db paypal payment verified screen
PayPilot AI — AI-Powered Commerce & Procurement Payment Agent
An AI-powered procurement and payment assistant for businesses and India's MSME ecosystem.
PayPilot AI is an AI-assisted purchasing platform that helps businesses manage purchase requests, evaluate budgets, compare illustrative supplier offers, identify procurement risks, and manage approval-driven PayPal Sandbox payment workflows.
Inspiration
Businesses often manage purchasing decisions across disconnected tools, spreadsheets, supplier listings, and payment systems. Small businesses need a simpler way to evaluate purchasing requirements, understand budgets, identify procurement risks, and manage payment workflows.
We built PayPilot AI to demonstrate how artificial intelligence and PayPal payment technology can work together in a practical business procurement workflow.
Our vision is to make business purchasing more intelligent, transparent, and accessible, particularly for India's growing MSME ecosystem.
What It Does
PayPilot AI is an AI-assisted procurement and payment application designed to simplify purchasing decisions for small and medium-sized businesses.
Its main capabilities include:
- Purchase Request Management: Create purchase requests with product descriptions, quantities, and INR budgets.
- AI Research Agent: Generates procurement investigation recommendations and identifies information buyers should verify.
- AI Budget Agent: Evaluates budget suitability and calculates per-unit purchasing costs.
- AI Risk Agent: Highlights potential quality, delivery, warranty, and supplier-related risks.
- AI Procurement Agent: Provides procurement recommendations and practical next steps while retaining buyer approval.
- Gemini AI Intelligence: Uses Google Gemini 3.1 Flash Lite to generate contextual AI-powered procurement insights.
- Supplier Comparison: Compares three illustrative supplier offers, estimated totals, delivery estimates, and budget checks.
- PayPal Sandbox Integration: Demonstrates test checkout, order creation, and payment capture using PayPal Sandbox.
- Purchase History: Stores purchase requests and procurement analysis in MongoDB Atlas.
How We Built It
We developed PayPilot AI using a modern full-stack architecture.
Frontend
- React
- Vite
- CSS
Backend
- Python
- FastAPI
- REST APIs
Database
- MongoDB Atlas
Artificial Intelligence
- Google Gemini API
- Gemini 3.1 Flash Lite
Payment Integration
- PayPal Sandbox APIs
- Test order creation and payment capture
Cloud Deployment
- Vercel for frontend hosting
- Render for backend hosting
The procurement workflow uses Python-based business rules for calculations, budget evaluation, and supplier comparisons. Google Gemini generates additional contextual recommendations based on the purchase request and illustrative supplier data.
The four procurement agent roles coordinate the analysis workflow, combining structured calculations with AI-generated insights.
PayPal Sandbox demonstrates a separate test payment workflow. Buyer approval remains an important step, and no real purchase or live payment is initiated automatically.
Challenges We Faced
During development, we addressed several technical challenges:
- Integrating the Google Gemini API with the FastAPI backend.
- Handling temporary Gemini service errors through retry and fallback logic.
- Connecting the React frontend with the deployed backend APIs.
- Managing purchase requests and analysis records through MongoDB Atlas.
- Implementing PayPal Sandbox checkout and payment capture.
- Maintaining clear distinctions between illustrative supplier data and verified marketplace information.
- Deploying and testing the application across Vercel and Render.
Accomplishments
- Built a working AI-assisted procurement application with four coordinated agent roles.
- Successfully integrated Google Gemini AI for contextual procurement insights.
- Implemented purchase request management and budget calculations.
- Developed illustrative supplier comparison and procurement risk analysis.
- Integrated PayPal Sandbox checkout and payment capture testing.
- Connected MongoDB Atlas for purchase request and analysis storage.
- Deployed the frontend and backend.
- Published the project source code on GitHub under the MIT License.
What's Next
We plan to expand PayPilot AI into a more comprehensive business procurement platform.
Future improvements include:
- Integrating verified live supplier and marketplace data.
- Developing supplier registration and onboarding.
- Adding purchase order generation and approval workflows.
- Expanding procurement analytics and business reporting.
- Improving payment reconciliation and transaction tracking.
- Introducing production-ready authentication and role-based access controls.
- Developing business subscription plans for MSMEs.
Vision
Our vision is to make intelligent, transparent, and user-controlled digital commerce more accessible to small businesses.
Starting with India's MSME ecosystem, PayPilot AI aims to bring procurement intelligence, business automation, and payment workflows together in one accessible platform.
Important Demo Clarification
Supplier prices, delivery estimates, and marketplace-style offers currently use illustrative synthetic demo data. Live supplier search, verified inventory, and real marketplace price feeds are not yet connected.
Google Gemini generates AI-assisted recommendations using the purchase request and illustrative supplier information.
PayPal payments are demonstrated in Sandbox mode only. No real-money transactions are performed by the demo application.