Command Verification Hook • AI Agent SDK

CommandVerificationHook: Verification hook that runs a shell command.

CommandVerificationHook

Defined in the verification module.

AI Agent

Verification hook that runs a shell command.

Diagram

Allow

Deny

Event Trigger

Hook: CommandVerificationHook

Decision

Process

Block

Constructor

ParamField str

No description available.

ParamField Any

No description available.

ParamField Optional[str]

No description available.

ParamField float

No description available.

ParamField bool

No description available.

Usage

python
hook = CommandVerificationHook(
        name="pytest",
        command=["pytest", "-v", "--tb=short"]
    )

Source

View on GitHub

praisonaiagents/hooks/verification.py at line 176


Related Documentation