A Virtual Sales Agent that uses LangChain, LangGraph, and Gemini Flash to simulate customer interactions. Features include product inquiries, order management, and personalized recommendations through a user-friendly Streamlit interface.
# Virtual Sales Agent powered by LangGraph, Streamlit & Gemini Flash
This project implements a **Virtual Sales Agent** that simulates customer interactions, providing information and support through a Streamlit interface. Using the power of **LangChain**, **LangGraph**, and a SQLite database, this agent can answer product questions, create orders, check order statuses, and offer personalized recommendations. These tools are divided into safe and sensitive categories. For sensitive tools, such as creating orders, a human-in-the-loop mechanism is implemented, requiring approval or denial before proceeding.
š Check out a quick demo of the Virtual Sales Agent in action in the [Interface Preview](#interface-preview) section!

---
## Table of Contents
1. [Key Features](#key-features)
2. [Built With](#built-with)
3. [Use Cases](#use-cases)
4. [Project Structure](#project-structure)
5. [Interface Preview](#interface-preview)
6. [Get Started](#get-started)
7. [Contributing](#contributing)
8. [Related Resources](#related-resources)
9. [Future Plans](#future-plans)
10. [License](#license)
---
## Key Features
This virtual sales agent can assist customers with:
1. **Product Inquiries:**
- Answer questions about product availability, pricing, and stock levels.
- **Example Questions:**
- "What products do you have in stock?"
- "How much does product X cost?"
- "Is product Y available?"
2. **Order Placement:**
- Allow customers to create new orders, referencing data from the database.
- **Example Request:** "I would like to order 2 units of product Z."
3. **Order Tracking:**
- Provide up-to-date status information for existing orders.
- **Example Question:** "What is the status of order #54321?"
4. **Personalized Recommendations:**
- Suggest relevant products based on a customer's past purchase history.
- **Example Recommendation:** "Based on your previous order, you might alsoGoogle's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.