Nightdrom/ticket-triage-env
0
OpenEnv Ticket Triage
This is a text-based, deterministic customer support ticket triage environment following the OpenEnv API standard. It evaluates an AI agent's ability to read a ticket, properly classify it, set a priority, and resolve or escalate it.
Architecture
The project has been perfectly organized matching the required structure:
Frontend (React Dashboard)
↓
Backend (Node.js + Express)
↓
OpenEnv Environment Logic
↓
Tasks + Grader + Reward System
↓
Baseline Agent (OpenAI API)
↓
Docker → Hugging Face DeploymentQuick Start
- Install dependencies for backend:
npm install- Build and run:
npm run build
npm startFrontend Dashboard
Navigate to frontend/ and run npm install, then npm run dev to access the UI visualization dashboard. To build it for production serving via the main app, run npm run build in the frontend directory.
Docker & Hugging Face Spaces Deployment
Build the image:
docker build -t ticket-env .
docker run -p 7860:7860 -e OPENAI_API_KEY=my_key ticket-envRunning the Baseline
Provide an OpenAI API key to execute the baseline agent against all tasks:
OPENAI_API_KEY="sk-..." npm run baselineIt should output steps taken by the LLM and the final 0.0-1.0 score for each task correctly based on the deterministic grader.
