Skip to content

Latest commit

Β 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FoodBot AI Agent πŸš€

FoodBotAI is a semi-CRM AI agent system designed to intelligently manage restaurant leads, communicate via command protocols, and support AI-powered prompt enhancements. It features a modular monorepo architecture with three main services:

  • client/: React frontend
  • backend-api/: Node.js backend for lead management
  • api-agent/: AI agent powered by Gemini
  • mcp-server/: Message Control Protocol (MCP) server

✨ Features

  • 🎯 Lead Management System – Add, list, and manage restaurant leads with proper source tracking.
  • πŸ€– AI Prompt Handling – Gemini-integrated prompt system to generate contextual responses.
  • πŸ—£οΈ Speech-to-Text Prompting – Speak your prompts using microphone and get accurate AI replies via speech-to-text.
  • 🧠 MCP Agent Server – Lightweight command execution protocol (MCP) for backend automation and decision handling.
  • 🌐 Modular Monorepo – Structured project for seamless development across services.

πŸ—‚οΈ Project Structure

FoodBotAI/
β”œβ”€β”€ client/                      # Frontend React Application
β”‚   β”œβ”€β”€ public/                 # Static files
β”‚   β”‚   └── assets/             # Images, fonts, etc.
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/         # Reusable UI components
β”‚   β”‚   β”‚   β”œβ”€β”€ chatBot/        # Chat interface components
β”‚   β”‚   β”‚   └── leadsForm/      # Lead management components
β”‚   β”‚   β”œβ”€β”€ hooks/              # Custom hooks (e.g. for speech-to-text)
β”‚   β”‚   β”œβ”€β”€ App.jsx             # Main App component
β”‚   β”‚   └── main.jsx            # Entry point
β”‚   β”œβ”€β”€ .env                    # Frontend env variables
β”‚   β”œβ”€β”€ package.json
β”‚   └── vite.config.js

β”œβ”€β”€ backend-api/                # Main Backend Service
β”‚   β”œβ”€β”€ config/                 # Configuration files
β”‚   β”œβ”€β”€ controllers/            # Route controllers (leads etc.)
β”‚   β”œβ”€β”€ middleware/             # Express middleware
β”‚   β”œβ”€β”€ models/                 # Firestore or DB models
β”‚   β”œβ”€β”€ routes/                 # REST API routes
β”‚   β”œβ”€β”€ services/               # Business logic
β”‚   β”œβ”€β”€ .env
β”‚   └── app.js                  # Express server entry

β”œβ”€β”€ api-agent/                  # Gemini AI Agent Service
β”‚   β”œβ”€β”€ geminiClient.js         # Gemini API wrapper
β”‚   β”œβ”€β”€ .env
β”‚   └── app.js

β”œβ”€β”€ mcp-server/                 # Message Control Protocol Server
β”‚   β”œβ”€β”€ commands/               # Command handlers
β”‚   β”œβ”€β”€ middleware/             # Request pre-processing
β”‚   β”œβ”€β”€ services/               # Business logic (MCP)
β”‚   β”œβ”€β”€ .env
β”‚   └── app.js

β”œβ”€β”€ package.json                # Root shared scripts

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages