Add Verification • AI Agent SDK
add_verification: Register a verification hook for the current run.
add_verification
Method
</div>
Register a verification hook for the current run.
Lets an autonomous agent (or caller) add a task-specific completion gate discovered mid-run, e.g. the regression test it just wrote.
Signature
def add_verification(hook: Any) -> NoneParameters
ParamField
AnyNo description available.
Source
View on GitHubpraisonaiagents/agent/agent.py at line 5898