| title | SupportDesk OpenEnv |
|---|---|
| emoji | 🤖 |
| colorFrom | blue |
| colorTo | green |
| sdk | docker |
| app_port | 7860 |
SupportDesk OpenEnv is a real-world customer support operations environment built for OpenEnv-style agent training and evaluation. Instead of a toy game, the agent must inspect support tickets, consult policy knowledge, assign urgency, route ownership, write a customer reply, and resolve the case correctly.
This environment models work that real support teams do every day:
- Billing dispute handling
- Security incident escalation
- Logistics recovery for VIP customers
The environment is deterministic and reproducible, but still requires multi-step reasoning across ticket facts, contract notes, recent events, and policy snippets.
billing_duplicate_charge(easy): identify a duplicate annual charge, route to billing, approve the refund, and communicate the settlement window.security_compromised_account(medium): triage a likely account takeover, escalate to Security Ops, and communicate containment steps.logistics_missing_order_vip(hard): resolve a missing event-critical shipment, dispatch a replacement, and apply a shipping credit.
The agent interacts through typed actions:
open_ticketsearch_policyset_priorityroute_ticketsend_replyresolve_ticket
You can inspect the machine-readable schema at GET /action_schema.
Each observation contains:
- Task instruction
- Available ticket IDs
- The active ticket once opened
- Latest search results from the policy base
- Recent action log
- Partial score so far
- Remaining step budget
The reward function emits partial progress instead of a sparse pass/fail signal:
0.05for opening the correct ticket0.10for consulting required policy knowledge0.15for correct priority0.20for correct team routing0.20for reply coverage of required policy details0.30for the correct final resolution
Total score is capped at 1.0, and /grader returns a deterministic component breakdown.
POST /resetPOST /stepGET /state/{episode_id}GET /tasksPOST /graderPOST /baselineGET /healthGET /action_schema
python -m venv .venv
. .venv/bin/activate
pip install -e .
uvicorn main:app --reload --host 0.0.0.0 --port 7860On Windows PowerShell:
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e .
uvicorn main:app --reload --host 0.0.0.0 --port 7860Run the deterministic baseline agent:
python baseline.pyIt executes the built-in heuristic policy against all 3 tasks and prints reproducible scores.
This repository includes a Dockerfile that launches the environment with Uvicorn on port 7860, which is suitable for Spaces container deployment.