CoolFace
Apppublic

EshwarChandra/OpenENV_Hackathon

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

๐Ÿ“ง Email Triage Agent (OpenEnv)

An interactive AI environment that simulates real-world enterprise email triage.


๐Ÿง  What This System Does

This project models how companies handle incoming emails by:

  • โ€”๐Ÿ“ฉ Classifying emails (billing, technical, sales, etc.)
  • โ€”โšก Assigning priority based on SLA urgency
  • โ€”๐Ÿ”€ Routing emails to the correct team
  • โ€”๐ŸŽฏ Evaluating decisions using a reward system

๐Ÿš€ Key Features

  • โ€”โœ… Multi-step decision environment
  • โ€”โœ… SLA-aware prioritization
  • โ€”โœ… Queue-based email handling
  • โ€”โœ… Reward-driven evaluation
  • โ€”โœ… Interactive Gradio UI (live demo)

๐ŸŽฎ How to Use (Demo)

  1. 1.Select a task:
  2. 2.easy โ†’ basic classification
  3. 3.medium โ†’ queue + SLA decisions
  4. 4.hard โ†’ multi-step + strict constraints
  1. 1.Click ๐Ÿ”„ Reset Environment
  1. 1.Choose:
  2. 2.Category
  3. 3.Priority
  4. 4.Assign To
  1. 1.Click ๐Ÿš€ Submit Action
  1. 1.Observe:
  2. 2.Reward score
  3. 3.Next email
  4. 4.System behavior

โšก Quick Demo

Use built-in buttons:

  • โ€”โœ… Correct Decision โ†’ optimal handling (high reward)
  • โ€”โŒ Wrong Decision โ†’ poor handling (low/negative reward)

๐Ÿ—๏ธ Environment Design

Observation

The agent receives:

  • โ€”Current email
  • โ€”Queue length
  • โ€”Active SLA pressure
  • โ€”Previous actions

Action Format

json
{
  "category": "billing | technical | sales | spam | other",
  "priority": "low | medium | high | urgent",
  "assign_to": "support | engineering | sales | ignore",
  "draft_reply": "optional (used in hard task)"
}