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

# Get Default Registry • AI Agent SDK

> get_default_registry: Get the default global hook registry.

# get\_default\_registry

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**registry**](../modules/registry) module.

Get the default global hook registry.

## Signature

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

### Returns

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

## Uses

* `HookRegistry`

## Used By

* [`add_hook`](../functions/add_hook)
* [`remove_hook`](../functions/remove_hook)
* [`has_hook`](../functions/has_hook)

## Source

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