About the Project
Inspiration
I have always been interested in exploring how AI can be used to solve everyday problems. When I thought about online shopping, I realised that although there are plenty of products available, finding what we actually need, managing the cart and completing the purchase can involve quite a few steps.
I wanted to try something different by bringing AI into this experience. That's how I came up with CartPilot AI, a conversational shopping assistant that helps users shop through natural language.
How I Built It
I built CartPilot AI using Python and FastAPI for the backend, Gemini AI for the conversational experience and SQLite to store the product catalogue and shopping cart information.
The idea was to let users describe what they are looking for and interact with the shopping assistant naturally. I also implemented cart management so that the shopping cart data is retained across interactions.
One of the important parts of the project was integrating PayPal. I used the PayPal Orders API v2 in Sandbox mode to implement the checkout process including order creation and payment capture. I also developed a dashboard to get an overview of the application.
The frontend was developed using HTML, CSS and JavaScript.
Challenges I Faced
Since I was building this project on my own, connecting all the different components was one of the challenging parts.
Getting the AI assistant to work with actual application features rather than just generating text responses took some effort. Integrating PayPal was also a learning experience especially understanding how order creation and payment capture work.
I also spent time testing the different workflows and fixing issues to make sure the AI interaction, cart and checkout worked together properly.
What I Learned
This project gave me an opportunity to work with technologies that I had previously explored individually and bring them together into a working application.
I gained practical experience with Gemini AI integration, FastAPI, database management, API development and the PayPal checkout workflow. More importantly, I understood that building an AI-powered application involves much more than integrating an AI model. The AI needs to work with the rest of the application to make the experience genuinely useful.
What's Next?
I would like to improve CartPilot AI further by adding more personalised recommendations and making product discovery even better.
Building this project independently was a great learning experience and it helped me understand how AI and payment integrations can come together to create a practical application.
With CartPilot AI, I wanted to make online shopping a little simpler — just describe what you need and let the assistant help you through the process.