Inspiration

Support tickets arrive as messy, unstructured text, but triage decisions still have to be fast, consistent, and explainable. I wanted a system where a ticket goes in and a defensible priority comes out — with every point of the score accounted for, instead of a black-box number.

What it does

AgentLens is a multi-agent triage and orchestration system. Paste any support ticket and three specialist agents run in sequence with structured outputs:

  • Triage classifies the ticket and spots urgency.
  • Risk checks SLA, due date, and blast radius, and calls the kbLookup tool.
  • Action checks workload and writes a timed, owned action plan.

The Orchestrator then scores the ticket 0-100 (P0 >= 80, P1 >= 60, P2 >= 40, otherwise P3), and the reasons sum to the score. A failed tool call is retried once; if it still fails, the run switches to an honest DEGRADED mode instead of inventing numbers.

Verified results

  • AGT-101: 80/100, P0
  • AGT-102: 10/100, P3
  • AGT-103: 15/100, P3
  • AGT-104: 80/100, P0, DEGRADED

How I built it

Built Dec 2, 2026, as a new solo project in Node.js, JavaScript, HTML, and CSS, with zero dependencies and no external LLM at runtime. Development was AI-assisted with Muse.

Challenges

The hardest part was making the score truly explainable: every point of the 0-100 score must be accounted for by reasons that add up to it. The second was failure handling — retrying a failed tool call exactly once, then degrading honestly rather than fabricating a confident-looking result.

What's next

More specialist agents, more tools, and richer workload and SLA data — while keeping the same rule: no invented numbers, ever.

Share this project:

Updates

Submission history