Install judgekeeper
in your project.
- No API key needed
- Runs locally
- Open source
Install in your project’s virtual environment
pip install judgekeeperRun in your project folder
judgekeeperRun in your project folder, with nothing to install first (uv)
uvx judgekeeperOr add it to your project, then run uv run judgekeeper
uv add --dev judgekeeperGive your coding agent this prompt
Follow www.judgekeeper.com/start.html to run judgekeeper on my project.It installs judgekeeper, runs it and gives you the marking page link. You mark, then it explains the result.
macOS, Linux and Windows. Python 3.11 to 3.14.
What do you have?
Agent runs
Runs of your agent in a JSONL file, one run per line with an id and its steps.
Read.
Opens a page with each run’s steps. Click the first wrong step, or All steps are fine.
judgekeeper steps runs.jsonlMeasure.
Add the picks of your agent-as-a-judge to see how often it finds the same first wrong step as you.
judgekeeper steps runs.jsonl --reviewer picks.jsonlRe-check.
Change your agent-as-a-judge, save its new picks and run it again. No new marking.
judgekeeper steps runs.jsonl --reviewer new-picks.jsonl
Other starting points
{"id": "run-1", "first_wrong_step": 3, "model": "my-judge"}judgekeeper steps export.jsonEval results
Results graded by your LLM-as-a-judge, from
- promptfoo
- DeepEval
- Inspect AI
- MLflow
- Your own file
Read.
Run it in your project folder. It finds your results and opens the marking page. Mark each answer Pass or Fail. While you mark, the grade from your LLM-as-a-judge stays hidden.
judgekeeperMeasure.
See how often your LLM-as-a-judge agrees with you, and the answers where you disagree. Too early to tell? Mark more.
judgekeeper markFix.
Get the answers it got wrong and write a better rule. Grade the marked answers again with the new rule, and judgekeeper tests it on marks kept aside.
judgekeeper fixjudgekeeper fix <new results file>Re-check.
Changed its model or rule? Grade your marked answers again and see if it still agrees with you. No new marking.
judgekeeper check <new results file>
Other starting points
input, output and verdict columns.judgekeeper results.csvjudgekeeper.judgekeeper.record(input=question, output=answer, verdict=grade)judgekeeper --labels your-labels.csvAnswers only
Answers from your agent or chatbot, with no grades: a CSV, TSV or JSONL file with input and output columns.
Read.
Run it in your project folder. Mark each answer Pass or Fail, and add a reason to the failed ones.
judgekeeperMeasure.
From 10 marks, see how many passed, with a range.
Fix.
Get the failed answers, apart from the half kept aside, with a prompt for your coding agent to improve the prompt of your agent or chatbot.
judgekeeper fixRe-check.
Save the new answers over the old file and mark them. On the answers kept aside, see how many were fixed and how many broke.
judgekeeper
Other starting points
Read this project and list what its AI is meant to do (its prompt and the tasks it handles).
Write about 40 test questions the way its real users would ask them: cover every task, and make about half of them hard (missing details, out of scope, against the AI's own rules, a wrong premise, or more than one step). No near-duplicates.
Show me the questions as a numbered table (question, the task it tests, normal or hard) and wait for my yes. I may edit or drop any.
Then run the AI on each question and save the questions and answers in results.csv, with two columns: input (the question) and output (the answer). Do not grade the answers. Then run judgekeeper.Handy commands
judgekeeper --stopjudgekeeper --newjudgekeeper --no-browserjudgekeeper --help