How EvalRoom is built
A solo-built platform that tests LLM answers and blocks the ones that must never ship.
The idea
Most eval tools give you a score. A score is an average, and averages hide failures. EvalRoom scores answers with many evaluators, then adds hard gates: pass or fail checks that block an answer no matter how well it scored. That is the whole idea. Everything else here supports it.
How it fits together
In the browser, your API key is kept in session. Requests go to the Next.js app, which calls your chosen LLM providers. Answers enter the eval engine: evaluators run checks and judges, hard gates apply pass-or-fail rules, and a verdict combines score with gate outcomes. Results are stored in SQLite as runs, scores, and verdicts.
Browser
Key kept in session
Next.js app
Pages and API
LLM providers
Your key, your bill
Eval engine
Evaluators
9+ checks and judges
Hard gates
Pass or fail
Verdict
Score plus gate
SQLite
Runs, scores, verdicts
You bring your own API key. The app sends your prompts to the model provider, runs the eval engine on the answers, and stores the results.
What it does today
- Compare prompt variations or compare models
- 9+ evaluators, including exact match, F1, BLEU, ROUGE-L and LLM-as-judge
- Pairwise comparison
- Hard gates and a final verdict
- Judge validation: people review the judge's verdicts blind
- A CI check that compares a new candidate against a baseline
Key decisions
Decision 1: Your keys, never stored
EvalRoom never keeps your API key.
Technical detail
Keys are sent over HTTPS with each request and held in your browser session only. The server does not persist them, so there is nothing to leak from the database.
Decision 2: Gates, not just averages
An answer can win on score and still be unsafe.
Technical detail
A critical gate, such as a personal-data check, can stamp an answer BLOCKED even when its aggregate score is the highest. Gates are kept separate from scores so strong scores cannot outvote them.
Decision 3: SQLite with plain SQL
Small, fast and easy to reason about.
Technical detail
The app uses better-sqlite3 with raw SQL and no ORM. One file holds runs, scores and verdicts, which keeps the system simple to run and back up.
Decision 4: A server, not serverless
The database needs a real disk.
Technical detail
Serverless platforms have read-only or short-lived filesystems, which do not work for SQLite or an in-process job queue. EvalRoom runs on a single virtual server instead.
Decision 5: Model choice is separate from prompts
Comparing prompts and comparing models are different jobs.
Technical detail
Provider, model, temperature and judge are chosen when a run starts, not saved inside a prompt version. The run wizard has two paths: compare prompt variations on one model, or compare models on one prompt.
Decision 6: Judges get checked by people
An LLM judge can be wrong.
Technical detail
Judge validation lets a person review the judge's verdicts blind, then reports the exact match rate, the close match rate and the average deviation.
Stack at a glance
- Next.js 14
- TypeScript
- SQLite
- Tailwind CSS
- Google sign-in (Auth.js)
- Single virtual server
What I learned
- Pull the model out of the prompt early. The same coupling bit me three times before I made it a rule.
- Match hosting to the database. SQLite needs a real disk, so a serverless platform was the wrong fit.
- Check the judge, not just the answers. I chose a judge validation screen over arena-style voting because it tells you whether the judge itself can be trusted.
Not built yet
Agent evaluation is a different problem from what is here, so it comes later. RAG failure-mode checks are in progress.
Want something like this for your team?
I build evaluation and AI product tooling. See what I do, or try the demo.