> ## 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.

# types • AI Agent SDK

> Hook Types for PraisonAI Agents.

# types

<Badge color="blue">AI Agent</Badge>

Hook Types for PraisonAI Agents.

Defines the core types, enums, and dataclasses for the hook system.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.hooks import types
```

## Classes

<CardGroup cols={2}>
  <Card title="HookEvent" icon="brackets-curly" href="../classes/HookEvent">
    Event names for the hook system.
  </Card>

  <Card title="HookInput" icon="brackets-curly" href="../classes/HookInput">
    Base hook input - common fields for all events.
  </Card>

  <Card title="HookOutput" icon="brackets-curly" href="../classes/HookOutput">
    Base hook output - common fields for all events.
  </Card>

  <Card title="HookResult" icon="brackets-curly" href="../classes/HookResult">
    Result from a hook execution.
  </Card>

  <Card title="HookDefinition" icon="brackets-curly" href="../classes/HookDefinition">
    Hook definition with matcher and configuration.
  </Card>

  <Card title="CommandHook" icon="brackets-curly" href="../classes/CommandHook">
    Hook that executes a shell command.
  </Card>

  <Card title="FunctionHook" icon="brackets-curly" href="../classes/FunctionHook">
    Hook that executes a Python function.
  </Card>

  <Card title="HookExecutionResult" icon="brackets-curly" href="../classes/HookExecutionResult">
    Result of executing a single hook.
  </Card>
</CardGroup>
