Sep 2026Solo
Archie
A chat helper on a student hackathon's public site that answers visitors' questions from the club's approved facts, tested on hundreds of questions it had never seen and on hundreds of attacks.
- correct answers on never-seen questions, from the first version to the shipped one (five runs of 150)
- 36% to 87%
- scripted attacks on the version before the switch, with 0 confirmed leaks
- 942
- goals an adaptive attacker broke on the shipped version
- 0 of 25
What it does
Archie answers visitors' questions about the hackathon and the club: events, committees and how to get involved. Every answer is written from the club's fact sheet, and when the sheet does not say something, such as tracks or prizes that are not announced yet, Archie says it is not announced yet instead of guessing.
I was the only engineer on the site and built Archie, its tests and its security checks. It is grounded in the club's Google Drive through a Google Cloud service account, and a check flags any name, date or number that is not in the approved facts.
How it works
Each answer is written with the club's fact sheet in the prompt, plus a small fixed set of tools for event times, a calendar file, whether applications are open and links from a fixed list. Plain code caps replies at four sentences and flags anything the facts do not support.
Quality is measured on 150 questions Archie has never seen per run, in ten kinds, graded by a reviewer model against the club's facts. The grader agreed with a second, more careful review 94% to 95% of the time, and gaps under about 3 points count as ties. No person has graded the answers yet.
For safety, a fixed list of 942 attacks and an adaptive attacker that tries up to 6 rounds on each goal go after secrets, private data and hidden instructions. Visitor messages are treated as questions, never orders.
Across 16 versions the score rose from 36% to 87%. The model was switched only after the new one scored higher on accuracy and held up better against the attacker, even though it is slower and costs more per answer.







- TypeScript
- Next.js
- OpenAI API
- Claude API
- Google Cloud
- LLM evaluation