NeuralAesthetics/ai-inbox-openenv
๐ง 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 emailsstep(action)โ Executes agent actionstate()โ 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.
