AI tools, scored for your job
Get paid to train AI
🤝 You're in the Free & Open Source library — community-built tools you can use without paying. A different concept from our scored AI directory.
Home › Free & Open Source › Medical › llm-as-a-verifier
✦ Free & open sourceMedical

llm-as-a-verifier

Fine-grained evaluation framework to score, select, and track AI agent outputs without retraining.

Fine-grained agent verification and step-by-step evaluation

Rank candidate agent outputs and monitor execution progress using logprob-based scoring models.

Free forever · open source · MIT
✓ Light setup✓ Browser-based✓ Real-time collaboration
7.8
ZEKAI
Agent trajectory verifier.
Free & open source · Medical
Ease of setup6
Usefulness8
Maintenance9.5
Community7.5
★ 3,322
GITHUB
Oct 2026
UPDATED
MIT
LICENSE
🛠 Don't want to self-host? We can set it up →
⚡ Quick answer

LLM-as-a-Verifier is a Python framework that uses logprob distribution scoring to evaluate and rank AI agent trajectories. It suits developers building agentic workflows who need test-time scaling, output selection, and step-by-step progress tracking without fine-tuning new models. Medical AI researchers can use it to rank clinical agent trajectories on benchmarks like MedAgentBench.

Runs on
Cross-platform
Hosting
Self-host
Languages
Python
License
MIT

What it is

The tool evaluates multi-step agent trajectories using pairwise reward models, single-step progress tracking, and Probabilistic Pivot Tournaments. It calculates fine-grained score expectations from LLM logprobs across custom evaluation criteria. You can use weaker models like DeepSeek V4.1 Flash to verify trajectories generated by larger systems.

Who it's for

This tool suits AI developers and medical informatics researchers who build multi-step agent systems and want automated test-time verification. It is ideal for teams running agent benchmarks like MedAgentBench or SWE-Bench Verified. It is not intended for end-user clinical decision support without integration into a larger developer workflow.

Key features

Probabilistic Pivot Tournament

Ranks N agent trajectories using reduced pairwise comparisons instead of full round-robin matrices.

Fine-grained Logprob Scoring

Calculates expectation scores over the full logprob distribution of evaluation tokens for candidate selection.

Real-time Progress Tracking

Monitors agent step executions live with ProgressTracker to identify failed runs early.

Custom Criteria Evaluation

Accepts user-defined criteria dictionaries to evaluate domains like clinical reasoning or code fixes.

How to start

Up and running in 3 steps

1
Install the package via pip using 'pip install llm-verifier'.
2
Configure your API keys or run a local vLLM server that returns token logprobs.
3
Call 'llm_verifier.select()' with your problem statement, candidate trajectories, and criteria.
Real talk

Our honest verdict

What's great

  • Ranks agent trajectories efficiently using O(Nk) pairwise comparisons.
  • Provides live step-by-step tracking to halt failing agent rollouts early.
  • Works across proprietary model APIs and self-hosted vLLM endpoints.
  • Requires no additional training or fine-tuning of verifier models.

Where it falls short

  • Requires access to external model APIs or local GPU setups that return token logprobs.
  • Repeated candidate evaluations incur significant API token usage or compute overhead.
  • Requires Python coding to integrate scoring workflows into existing agent pipelines.
Cost

Pricing & license

LLM-as-a-Verifier is free and open-source under the MIT license. The primary cost comes from model API token usage or running your own GPU server to generate logprobs.

Paid work

Open remote AI-training roles

880 open remote AI-training roles, updated November 15, 2026; most pay $20–$175 an hour. Zekai lists them free; the application goes to the employer’s platform.

See all open roles →
Compare

Alternatives

🎁 Free & open-source alternatives
Get more

Use it, or have us set it up

📄 Free PDF: llm-as-a-verifier for Medical
A plain-language guide to getting your first result. Sent to your inbox.
🔔 64 people want a full video tutorial — add your vote
🛠 Don't want to set it up yourself?
We'll install, host & configure llm-as-a-verifier for you — and train your team.
Get it done for you ↗
Questions

FAQ

Can I run this with a locally hosted LLM?

Yes, you can connect it to an OpenAI-compatible server such as vllm serve provided it returns token logprobs.

How does it reduce evaluation costs for best-of-N selection?

It uses a Probabilistic Pivot Tournament to rank candidates in O(Nk) comparisons rather than full O(N^2) round-robin checks.

Can a smaller model verify a larger model's output?

Yes, benchmarks in the README show smaller verifiers like DeepSeek V4.1 Flash successfully ranking rollouts from larger models like Claude Opus.

Radar

Latest AI news

✉️ The weekly free toolkit
The best new free & open-source tools for Medical — one short email a week, in your language.
Free · 1 email/week · unsubscribe anytime
Get paid to train AI →

See Zekai first in Google