Skip to main content
During a trial, after the agent runs, the Verifier object uploads the tests/ directory to the sandbox and executes /tests/test.sh. The Verifier object is the default implementation of the BaseVerifier. If a user wants to orchestrate verification differently, or run some of the verifier logic on the host machine, they can implement a custom BaseVerifier.
A custom verifier replaces the default workflow. It must perform any required uploads, commands, and reward calculation itself.
For example, this verifier checks whether the agent created a required file in the sandbox:
custom_verifier.py
The file must be importable by the Harbor process. Select the class with verifier.import_path; values in verifier.kwargs are passed to its constructor.
See Configs for the complete verifier configuration schema.