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

Function

> This function is defined in the [**registry**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/registry.md) 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

**Returns** `ToolRegistry`

The result of the operation.

## 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] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/tools/registry.py#L607)
>
> `praisonaiagents/tools/registry.py` at line 607


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.