> ## 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 Registry • AI Agent SDK

> get_registry: Get the global tool registry instance. Thread-safe singleton.

# get\_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 global tool registry instance. Thread-safe singleton.

## Signature

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

### Returns

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

## Uses

* `ToolRegistry`

## Used By

* [`tool`](../functions/tool)
* [`register_tool`](../functions/register_tool)
* [`get_tool`](../functions/get_tool)
* [`has_tool`](../functions/has_tool)
* [`remove_tool`](../functions/remove_tool)

## Source

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