# NotificationRegistry

> **Class** in `deepagents_cli`

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

In-memory store of pending notifications.

Instance-scoped (one per app) so test apps don't pollute each other.
Owns the bidirectional key-to-toast-identity binding so callers
cannot accidentally desynchronize the click-routing indices.

## Signature

```python
NotificationRegistry(
    self,
)
```

## Constructors

```python
__init__(
    self,
) -> None
```


## Methods

- [`add()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/add)
- [`remove()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/remove)
- [`get()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/get)
- [`bind_toast()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/bind_toast)
- [`toast_identity_for()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/toast_identity_for)
- [`unbind_toast()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/unbind_toast)
- [`key_for_toast()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/key_for_toast)
- [`is_actionable_toast()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/is_actionable_toast)
- [`list_all()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/list_all)
- [`clear()`](https://reference.langchain.com/python/deepagents-cli/notifications/NotificationRegistry/clear)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/64d45f67c86edb4df2ced0e7b82f1a8fd158ec8c/libs/cli/deepagents_cli/notifications.py#L132)