Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agent Web Application

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.

Features

  • 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

Project Structure

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

Prerequisites

  • Python 3.8+
  • pip (Python package manager)
  • Virtual environment (recommended)

Installation

  1. Clone the repository:

    git clone https://github.com/khalidKE/Agent-webApp.git
    cd Agent-webApp
  2. Set up a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows: .\venv\Scripts\activate
  3. 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

Running the Application

Web Application

cd agent-web-app
uvicorn app:app --reload

Access the web interface at: http://localhost:8000

LangGraph Chatbot (Optional)

cd LangGraph-API-with-Tools-0.1.0-
# Follow instructions in the LangGraph README.md

API Endpoints

  • GET / - Main chat interface
  • POST /send - Send a message to the chatbot
  • GET /whatsapp - WhatsApp message management
  • GET /email - Email composition interface
  • GET /calendar - Calendar view

Dependencies

Main Web App

  • FastAPI
  • Uvicorn
  • Jinja2
  • Python-multipart

LangGraph Chatbot

  • LangGraph
  • LangChain
  • Groq LLM

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages