Senior AI Dev Kit
Back to the catalog

hook

Python test gate

stop-gate

Runs pytest or unittest before the agent stops and blocks it if tests fail.

When to use it

Runs when the agent tries to stop.