# discover_plugins

> **Function** in `deepagents_code`

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

Discover enabled marketplace plugins from their install cache paths.

## Signature

```python
discover_plugins() -> PluginDiscoveryResult
```

## Returns

`PluginDiscoveryResult`

Discovery result. Broken marketplaces/plugins are returned as warnings and

---

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