Add Verification • AI Agent SDK

add_verification: Register a verification hook for the current run.

add_verification

Method

</div>

This is a method of the Agent class in the agent module.

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

python
def add_verification(hook: Any) -> None

Parameters

ParamField Any

No description available.

Source

View on GitHub

praisonaiagents/agent/agent.py at line 5898