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

# registry • AI Agent SDK

> registry: Get the hook registry.

# registry

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**HookRunner**](../classes/HookRunner) class in the [**runner**](../modules/runner) module.

Get the hook registry.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def registry() -> HookRegistry
```

### Returns

<ResponseField name="Returns" type="HookRegistry">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/hooks/runner.py#L78">
  `praisonaiagents/hooks/runner.py` at line 78
</Card>
