> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add Verification • AI Agent SDK

> add_verification: Register a verification hook for the current run.

# add\_verification

Method

> This is a method of the [**Agent**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/Agent.md) class in the [**agent**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/agent.md) 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 theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def add_verification(hook: Any) -> None
```

## Parameters

**hook** `Any` *required*

No description available.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/agent.py#L5898)
>
> `praisonaiagents/agent/agent.py` at line 5898


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.