# HackerRank Orchestrate

A terminal-based support-ticket triage agent that classifies incoming tickets across three domains, retrieves answers from a local documentation corpus, and escalates high-risk or ambiguous requests instead of guessing.

HackerRank Orchestrate processes support tickets for three domains, HackerRank, Claude and Visa, using only documentation shipped inside its own data folder. It classifies each ticket, retrieves the relevant documentation through hybrid retrieval that combines sentence-transformer semantic similarity with a lightweight keyword score and an optional company-domain boost, and generates a grounded response with the source filename kept in the justification when it is safe to answer.

A safety-first escalation layer checks for prompt injection, destructive commands, sensitive personal information, fraud, identity theft, access-boundary requests, score manipulation, outage reports, unsupported security reports and insufficient context, and routes any of those to escalation rather than generating an answer. It supports a batch CSV workflow and an interactive chat workflow with conversation history, reads its model, retrieval, retry and escalation-pattern settings from environment variables, and caches embedding vectors and metadata locally. It was built for the HackerRank Orchestrate challenge and exposes no HTTP server, only a Python command-line interface.

Website: https://github.com/vincenzo-afk/hackerrank-agent
