Skip to content

Multiagent sales system consisting of 3 Ai agents using Groq and Google Ai API Keys you need to provide, in the free Tier. Written in Python using Langchain and Streamlit.

Notifications You must be signed in to change notification settings

jomasego/multiagent_sales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚗 Advanced Multi-Agent Car Sales System (Groq + Gemini Edition)

Python 3.8+ LangChain Groq Gemini Streamlit

A sophisticated multi-agent AI system for intelligent car sales, demonstrating advanced agent coordination, real-time research, and professional sales workflows, all powered by high-speed Groq inference.


🏗️ Architecture

The system orchestrates three specialized AI agents, each with a distinct role, to create a seamless and intelligent customer experience. LangChain provides the agent framework, Streamlit powers the user interface, and Groq's LPU ensures near-instant responses.

Architecture Diagram

🤖 Meet the Agents

Agent Model Role Specialization
🎯 John llama3-70b-8192 (Groq) Sales Expert Customer interaction, sales process, negotiation
🔬 Dru gemini-pro (Google AI) Research Specialist Vehicle research, technical analysis, market data
🏢 Boss llama3-70b-8192 (Groq) Business Coordinator Inventory management, pricing, business policies

✨ Key Features

  • 🚀 High-Speed Inference: Near-instant agent responses powered by Groq's LPU technology.
  • 🧠 Intelligent Agent Coordination: Seamless communication between specialized agents for a comprehensive sales workflow.
  • 🔍 Smart Inventory Search: AI-powered vehicle matching against a local CSV database.
  • 🌐 Real-time Research: On-demand technical details and market data provided by the Gemini-powered research agent.
  • 💼 Professional Sales Process: The system can handle the entire sales funnel, from initial greeting to negotiation.

🚀 Quick Start

Prerequisites

Installation

  1. Clone the repository:

    git clone https://github.com/jomasego/multiagent_sales.git
    cd multiagent_sales
  2. Create a virtual environment:

    python3 -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  3. Install dependencies:

    pip install --upgrade pip
    pip install -r requirements.txt
  4. Configure environment variables: Create a file named .env in the project root and add your API keys:

    GROQ_API_KEY="gsk_..."
    GEMINI_API_KEY="AIza..."
  5. Run the application:

    streamlit run app.py
  6. Access the interface: Open your browser to http://localhost:8501 and start chatting with John!


📖 Usage Examples

Once the application is running, you can interact with the sales agent. Here are a few examples:

  • Initial Contact: "Hi, I'm looking for a car"
  • Specific Requirements: "I want a red sedan that's less than 2 years old"
  • Technical Inquiry: "What safety features does the Tesla Model 3 have for babies?"
  • Negotiation: "Can you offer any discount on the Ford Mustang?"

🛠️ Technical Stack

  • 🤖 AI Models: Groq llama3-70b-8192, Google gemini-pro
  • 🔗 Agent Framework: LangChain
  • 🖥️ Frontend: Streamlit
  • 📊 Data: Pandas
  • 🐍 Language: Python 3.8+

About

Multiagent sales system consisting of 3 Ai agents using Groq and Google Ai API Keys you need to provide, in the free Tier. Written in Python using Langchain and Streamlit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages