All projects
AI / 2026
Contract Triage
Triages low-risk NDAs and order forms against a legal playbook so lawyers only read the exceptions.
AINext.jsTypeScriptiron-sessionpdf-parsemammoth
A working prototype built for the AI Pioneer take-home at PortSwigger. It compares incoming contract clauses against a legal playbook and classifies each one GREEN, AMBER or RED, so a legal team reads the exceptions instead of the whole document.
The engine is deterministic. There is no model call and no API key: it runs entirely offline, which means the same document always produces the same classification, and every decision traces back to a rule rather than to a temperature setting.
Notes from the build
- 01The design principle stated in the README: the system has to be able to say "I don't know" convincingly, and often.
- 02A live evals page runs 21 scenarios, one of which is a deliberate failure, so a score of 100% would mean the evals were wrong.
- 03Prompt-injection detection, role-based access for admin, lawyer and viewer, and an audit trail behind all of it.