A comprehensive web application featuring a chatbot interface with multiple communication channels including WhatsApp, Email, and Calendar integration. Built with FastAPI and modern web technologies.
- Interactive Chat Interface: Real-time chat with a responsive bot
- Multi-channel Communication:
- WhatsApp message management
- Email composition and tracking
- Calendar integration for scheduling
- Modern Web UI: Clean, responsive design with Jinja2 templates
- FastAPI Backend: High-performance Python web framework
Agent-webApp/
├── agent-web-app/ # Main web application
│ ├── static/ # Static files (CSS, JS, images)
│ ├── templates/ # HTML templates
│ │ ├── index.html # Main chat interface
│ │ ├── whatsapp.html # WhatsApp integration
│ │ ├── email.html # Email management
│ │ └── calendar.html # Calendar view
│ ├── app.py # Main FastAPI application
│ └── requirements.txt # Python dependencies
│
└── LangGraph-API-with-Tools-0.1.0-/ # LangGraph chatbot with tools
├── Chat_bot/ # Chatbot implementation
├── README.md # LangGraph documentation
├── pyproject.toml # Project configuration
└── req.txt # Dependencies
- Python 3.8+
- pip (Python package manager)
- Virtual environment (recommended)
-
Clone the repository:
git clone https://github.com/khalidKE/Agent-webApp.git cd Agent-webApp -
Set up a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate
-
Install dependencies:
# For the main web app cd agent-web-app pip install -r requirements.txt # For the LangGraph chatbot (optional) cd ../LangGraph-API-with-Tools-0.1.0- pip install -r req.txt
cd agent-web-app
uvicorn app:app --reloadAccess the web interface at: http://localhost:8000
cd LangGraph-API-with-Tools-0.1.0-
# Follow instructions in the LangGraph README.mdGET /- Main chat interfacePOST /send- Send a message to the chatbotGET /whatsapp- WhatsApp message managementGET /email- Email composition interfaceGET /calendar- Calendar view
- FastAPI
- Uvicorn
- Jinja2
- Python-multipart
- LangGraph
- LangChain
- Groq LLM
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.