Spaces:
Build error
Build error
| # OpenEnv — 60-second demo script | |
| **Prereqs:** Postgres + Redis up (`docker compose up -d`), backend on `:8000`, frontend on `:3000`, `OPENAI_API_KEY` set. | |
| 1. **Open the UI** at http://localhost:3000 — dark inbox, “Startup support inbox” header. | |
| 2. **Seed data:** click **Seed demo** (three threads: VIP urgency, billing dispute, spam/injection). | |
| 3. **Knowledge:** optional — paste support policy in the RAG box → **Ingest to vector index** (grounds replies with `[1]` citations). | |
| 4. **Run autopilot:** select an email → **Run autopilot** — show **Draft reply**, **Diff** vs original, and toast with action + HITL flag. | |
| 5. **Trust:** open **Actions** tab — expand a **Decision trace** JSON (`classification`, `safety.injection_risk`, `rag_citations`, `agent_tool_results`). | |
| 6. **Metrics:** **Metrics** tab — processed count, auto-handled %, escalation %, time saved estimate; optional **Run golden evaluation**. | |
| 7. **OAuth (optional live):** **Connect Google** or **Connect Microsoft** in the footer — completes OAuth and enables **Fetch** from real mail (`POST /api/v1/emails/fetch` with `source=auto`). | |
| **One-liner for judges:** *“OpenEnv reads the inbox, scores risk and priority, retrieves our FAQ, drafts cited replies, calls tools when needed, and logs every decision for audit.”* | |