> ## 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 doctor rules registry (singleton).

# get\_default\_registry

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

> This function is defined in the [**doctor\_registry**](../modules/doctor_registry) module.

Get the default doctor rules registry (singleton).

## Signature

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

### Returns

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

## Uses

* `DoctorRulesRegistry`

## Used By

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

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_registry.py#L249">
  `praisonaiagents/runtime/doctor_registry.py` at line 249
</Card>
