Linkdine AI - LinkedIn Content Generation Platform
Turns a short note about your project or internship into a LinkedIn post. It first pulls proven writing patterns from a knowledge base (RAG), then checks and scores what the model writes.
A shopping assistant agent built at the Razorpay hackathon. It looks up real products through tool calls instead of guessing, asks the shopper before touching the cart or payment, and records every step so the store owner can see why it acted.
Shopping chatbots often make up products, prices or stock, and letting an AI move money without asking is risky. Merchants also cannot see why the AI recommended something.
An agent that can only answer from verified tool results, must ask the shopper before cart or checkout actions, and records every step so the merchant can review the AI's decisions on a dashboard.
Shopper chat UI, merchant dashboard and external AI agents call a FastAPI backend (Vercel serverless)
/api/chat runs the agent loop: Gemini decides which tool to call, the backend runs it and returns the result
Money-moving tools pause the loop until the shopper confirms through /api/chat/confirm
Conversation state, products, orders and the ai_actions audit log live in PostgreSQL (Supabase)
Checkout creates a Razorpay order with server-side prices, verifies the HMAC signature and locks stock rows with FOR UPDATE
Challenge 1
The LLM could invent products or prices.
How I fixed it
Gave it no built-in catalog knowledge, so every product fact has to come from a tool call against the database.
Challenge 2
Free-tier Gemini keys hit 429 quota errors during demos.
How I fixed it
Built a thread-safe key pool with round-robin rotation and cooldowns. History is stored in Postgres, so switching keys loses no context.
Challenge 3
Two shoppers buying the last item at the same time could oversell stock.
How I fixed it
Stock is decremented inside a transaction with SELECT ... FOR UPDATE row locking.
Challenge 4
Raw API errors and tracebacks were leaking into the chat.
How I fixed it
Added an error sanitizer that shows friendly messages to users and keeps full tracebacks in server logs.
ShopMind AI is an agentic e-commerce assistant built for the Razorpay hackathon (AI growth and agentic commerce track). Instead of a prompt-only chatbot, it runs a bounded agent loop: the model has no product knowledge of its own and must call tools to search, compare and check stock in a live PostgreSQL catalog.
Turns a short note about your project or internship into a LinkedIn post. It first pulls proven writing patterns from a knowledge base (RAG), then checks and scores what the model writes.
An AI-powered workflow app built using Google Opal for experimenting with prompt-based automation.