skillfed

harbor-rewardkit

Lightweight grading toolkit for environment-based tasks.

harbor-rewardkit v0.1.7 7.7M downloads/30d#1,700 on PyPI4,249
Permissive license Apache-2.0 Active released

What it is and what it does

Harbor Rewardkit is a lightweight grading toolkit for evaluating environment-based tasks. It lets you define verifiers using three approaches: simple programmatic criteria (file checks), LLM judges that score outputs using Claude or other models, and agent judges that can call MCP server tools during evaluation. The package integrates with the Harbor task framework but can be used independently.

You define criteria in TOML files or Python code, then run the verifier against task outputs. It handles LLM model selection, tool access control via allowed_tools lists, and binary or scored evaluation results. The single runtime dependency is litellm, which abstracts LLM provider APIs.

Use it for:

  • Score code quality or correctness by having Claude evaluate generated source files against criteria.
  • Verify task outputs with simple file-based checks (existence, content matching) without LLM overhead.
  • Build agent judges that navigate web pages or interact with systems via MCP tools to validate rendered output.
  • Grade benchmark submissions across multiple criteria in a CI/CD pipeline.
  • Evaluate multi-step task completion by combining programmatic checks with LLM judgment.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Harbor Rewardkit defines and runs verifiers for task evaluation, supporting programmatic criteria, LLM judges, and agent judges with MCP server integration.

Yes, if you need lightweight task evaluation with LLM or agent judges. The package is actively maintained, has low install friction, and offers a clean API for both simple checks and complex agent-based grading. Best suited for Harbor framework users or teams building evaluation pipelines for AI-generated outputs.

Install

harbor-rewardkit on PyPI

pip

pip install harbor-rewardkit

uv

uv add harbor-rewardkit

poetry

poetry add harbor-rewardkit

Installing harbor-rewardkit

Before you install

Low friction: pure Python wheel with a single runtime dependency (litellm). Active maintenance with recent releases; last commit 2026-08-13. Supports Python 3.12 and 3.13.

License in practice

Apache-2.0 permissive license allows commercial and private use with attribution; no copyleft restrictions.

Quickstart

# Install
uv tool install harbor-rewardkit

# Use programmatic criteria
from rewardkit import criteria
criteria.file_exists("output.txt")
criteria.file_contains("output.txt", "hello")

Requires Python 3.12 or later.

Verify before relying

  • Whether litellm's dependencies add meaningful install friction or platform-specific requirements beyond what the wheel distribution handles.
  • Whether the package works standalone or requires Harbor task format integration for full functionality.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.12)
Install friction low — pure-Python wheel
Runtime dependencies 1 — litellm
Maintenance actively maintained — 48 days since the last release
Last repo commit
First released
Downloads 7,739,787/month — #1,700 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: harbor_rewardkit-0.1.7-py3-none-any.whl

Keywords: grading, evaluation, rewards, llm, agents, benchmarks

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Testing

Tags

task evaluation frameworkllm judge verifiergrading toolkitautomated criteria checkingagent evaluationbenchmark scoringmcp server integration
llm-evaluationtask-gradingmcp-agents

More Testing packages

Further reading