CoolFace
Apppublic

NeuralAesthetics/ai-inbox-openenv

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

๐Ÿง  AI Inbox: Emotion-Aware OpenEnv Environment

Evaluating AI agents on emotional intelligence, prioritization, and decision-making under cognitive overload.

๐Ÿš€ Overview

Modern email systems optimize for organization โ€” not for human well-being.

Users today face:

  • โ€”๐Ÿ“ฉ Information overload
  • โ€”๐Ÿ˜ต Decision fatigue
  • โ€”๐Ÿ˜ก Emotionally stressful communication

This project introduces an AI-powered inbox simulation environment designed to evaluate how well AI agents can:

  • โ€”Understand emotional tone
  • โ€”Prioritize important messages
  • โ€”Take appropriate actions
  • โ€”Reduce cognitive overload

๐Ÿ’ก Key Innovation

This environment introduces an Overwhelm Score to simulate cognitive load, enabling evaluation of emotionally intelligent AI agents in high-stress communication scenarios.


๐ŸŒ Real-World Applications

  • โ€”Workplace productivity tools
  • โ€”Customer support automation
  • โ€”AI personal assistants
  • โ€”Mental load-aware systems

โš™๏ธ Environment Design

This environment follows the OpenEnv specification.

๐Ÿ” Core API

  • โ€”reset() โ†’ Initializes inbox with predefined emails
  • โ€”step(action) โ†’ Executes agent action
  • โ€”state() โ†’ Returns current environment state

๐Ÿ‘€ Observation Space

The agent receives:

  • โ€”Email content (text)
  • โ€”Metadata (sender, timestamp)
  • โ€”Inbox summary
  • โ€”Overwhelm Score

โšก Action Space

The agent can:

  • โ€”Classify emotion โ†’ angry / neutral / positive
  • โ€”Assign priority โ†’ high / medium / low
  • โ€”Decide action โ†’ reply / schedule / ignore

๐ŸŽฏ Reward System

โœ… Rewards

  • โ€”Correct emotion detection โ†’ +0.3
  • โ€”Correct prioritization โ†’ +0.5
  • โ€”Correct action โ†’ +0.7

โŒ Penalties

  • โ€”Ignoring urgent email โ†’ -1.0
  • โ€”Wrong emotional classification โ†’ -0.8
  • โ€”Poor decision โ†’ -0.5

๐Ÿงฉ Tasks

๐Ÿ˜Œ Easy โ€” Emotion & Urgency Classification

Identify tone and urgency. Scored using accuracy (0.0โ€“1.0)


๐Ÿ˜ Medium โ€” Email Prioritization

Rank emails based on importance. Evaluated against ideal ranking.


๐Ÿ˜ค Hard โ€” Action Recommendation

Decide best action for each email. Tests contextual and emotional reasoning.


๐Ÿค– Baseline Performance

Run the baseline agent:

python3 baseline.py

Example output: Baseline Score: 0.77


๐Ÿณ Deployment

This project is containerized and runs on Hugging Face Spaces.

To run locally:

docker build -t ai-inbox . docker run ai-inbox


๐Ÿ“ฆ Installation

pip install -r requirements.txt


๐Ÿ“ Project Structure

ai-inbox-openenv/ โ”‚ โ”œโ”€โ”€ env.py โ”œโ”€โ”€ models.py โ”œโ”€โ”€ baseline.py โ”œโ”€โ”€ tasks/ โ”œโ”€โ”€ data/ โ”œโ”€โ”€ openenv.yaml โ”œโ”€โ”€ Dockerfile โ””โ”€โ”€ README.md


๐Ÿง  Why This Matters

Most AI environments focus on games or static tasks.

This project focuses on:

  • โ€”Human behavior
  • โ€”Emotional intelligence
  • โ€”Decision-making under stress

๐Ÿ Conclusion

This environment provides a realistic benchmark to evaluate how AI agents:

  • โ€”Understand people
  • โ€”Manage priorities
  • โ€”Reduce cognitive load

โœจ Future Improvements

  • โ€”Multi-user inbox simulation
  • โ€”Dynamic email generation
  • โ€”Advanced emotional modeling

๐Ÿค Acknowledgements

Built for the Meta x Hugging Face OpenEnv Hackathon.

NeuralAesthetics/ai-inbox-openenv ยท CoolFace