# reload_registry

> **Function** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/theme/reload_registry)

Rebuild the theme registry from disk and update `ThemeEntry.REGISTRY`.

Re-reads `~/.deepagents/config.toml` for user-defined themes so that
`/reload` can pick up config changes without restarting the app.

## Signature

```python
reload_registry() -> MappingProxyType[str, ThemeEntry]
```

## Returns

`MappingProxyType[str, ThemeEntry]`

The new frozen registry.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/4869645403fe9ce57df6067417fdefc6bf509fe0/libs/cli/deepagents_cli/theme.py#L685)