Skip to main content
After the agent runs, the default Verifier executes /tests/test.sh in the verifier sandbox. Harbor uploads tests/ unless the verifier image already bundles it. 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.