TriageDesk Checking model…

Built in 24 hours for HackerRank Orchestrate · May 2026

Every support ticket gets a decision, and a paper trail.

An AI triage agent for three very different help desks: HackerRank, Claude and Visa. It routes each ticket to the right knowledge base, screens out prompt-injection and high-risk requests before the model sees them, answers only from the docs, and hands anything risky to a human.

3
support domains
6
pipeline stages
2
deterministic safety screens
JSON
schema-enforced output

01 · Playground

File a ticket. Watch it get triaged.

Pick an example or write your own. Try a tricky one: a refund demand, a stolen card, or an attempt to make the agent reveal its instructions.

TICKET #0001
Company
Ctrl + Enter

No ticket on the desk yet.
Run one and the decision, the drafted reply and the full routing slip will appear here.

02 · Batch run

29 real tickets from the hackathon test set.

The agent's actual output from the terminal batch run, unedited.

    03 · How it works

    Deterministic where it matters, generative where it helps.

    The model only drafts the answer. Routing, safety screening and the final escalation call are plain, testable code, so the model can't talk its way past them.

    1. 01

      Company routing

      Uses the company field, or scores domain keywords to infer HackerRank, Claude or Visa.

      deterministic
    2. 02

      Injection screen

      Phrase and pattern checks (English and French) block jailbreaks before any model call.

      deterministic
    3. 03

      Risk scan

      Flags fraud, identity theft, security, legal and self-harm language for mandatory escalation.

      deterministic
    4. 04

      Knowledge base

      Injects only that company's curated docs, which keeps prompts small and policies from mixing.

      deterministic
    5. 05

      Grounded generation

      An LLM on Groq drafts the reply and classification as strict, schema-checked JSON.

      LLM
    6. 06

      Guardrails

      Validates every field and overrides a reply when risk signals demand a human.

      deterministic

    Curated, in-memory knowledge base

    The help-centre corpus was distilled into a compact knowledge base per company instead of a vector database. Retrieval is instant and deterministic, and every answer traces back to a section you can read. The trade-off is manual curation, which wouldn't scale to thousands of articles.

    Fail closed, never guess

    A rate limit, a timeout, malformed output or a missing key all lead to the same place: the ticket is escalated to a human with a safe message. In a support queue, a wrong answer costs more than a slow one.

    Screens before and after the model

    Injection attempts never reach the model. High-risk tickets still get a drafted answer, but the guardrail stage replaces a direct reply with an escalation, so the final call stays outside the model's control.

    Built to be shown in public

    The API key never leaves the server. Requests are rate-limited per visitor, inputs are capped, ticket text is never logged, and the trace you see here is exactly what the pipeline produced.