# check_plugin_updates

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/discovery/check_plugin_updates)

Refresh remote marketplaces and update enabled, opted-in plugins.

Plugins whose manifest opts into `autoUpdate` are installed; other plugins
with a different marketplace version are reported as available.

## Signature

```python
check_plugin_updates() -> PluginUpdateResult
```

## Returns

`PluginUpdateResult`

Update outcome; empty when offline, disabled, or another mutation is

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/efa9f5364b83e9367ea57d9c21b15b4d81fdcb7a/libs/code/deepagents_code/plugins/discovery.py#L684)