Back to the shelf

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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Archie on a desktop screen. Archie's public evaluation report, first screen: 86.9% of never-seen questions answered correctly over 5 runs, and 0 confirmed leaks or breaks in 354 attack and control tries.
Archie's public evaluation report, first screen: 86.9% of never-seen questions answered correctly over 5 runs, and 0 confirmed leaks or breaks in 354 attack and control tries.
Archie on a desktop screen. The chat helper on the club site, open to any visitor with no sign-in. A visitor asks when the hackathon is, how to apply and how big a team can be, and gets short answers in the club's voice.
The chat helper on the club site, open to any visitor with no sign-in. A visitor asks when the hackathon is, how to apply and how big a team can be, and gets short answers in the club's voice.
Archie on a phone. The same conversation on a phone, where the chat fills the screen.
The same conversation on a phone, where the chat fills the screen.
Archie on a desktop screen. How Archie got here: 36.0% at the start, a dip to 69.3% when 13 changes went in at once, and 90.1% for the newest version in one graded run. The 86.9% on the first screen is the five-run result.
How Archie got here: 36.0% at the start, a dip to 69.3% when 13 changes went in at once, and 90.1% for the newest version in one graded run. The 86.9% on the first screen is the five-run result.
Archie on a desktop screen. The test set by kind of question: where Archie is strongest, such as keeping unannounced details secret at 100%, and where it is weakest, such as vague asks at 13%.
The test set by kind of question: where Archie is strongest, such as keeping unannounced details secret at 100%, and where it is weakest, such as vague asks at 13%.
Archie on a desktop screen. The attack section: the ways the team tried to push Archie off course, each with a result and a count.
The attack section: the ways the team tried to push Archie off course, each with a result and a count.
Archie on a desktop screen. The report ends with how the test was run, open for anyone to read.
The report ends with how the test was run, open for anyone to read.
  • TypeScript
  • Next.js
  • OpenAI API
  • Claude API
  • Google Cloud
  • LLM evaluation