# PluginInstance

> **Class** in `deepagents_code`

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

A discovered plugin ready to feed dcode adapters.

## Signature

```python
PluginInstance(
    self,
    *,
    plugin_id: str,
    name: str,
    marketplace: str,
    version: str | None,
    root: Path,
    data_dir: Path,
    manifest: PluginManifest | None,
    inventory: ComponentInventory,
)
```

## Constructors

```python
__init__(
    self,
    *,
    plugin_id: str,
    name: str,
    marketplace: str,
    version: str | None,
    root: Path,
    data_dir: Path,
    manifest: PluginManifest | None,
    inventory: ComponentInventory,
) -> None
```

| Name | Type |
|------|------|
| `plugin_id` | `str` |
| `name` | `str` |
| `marketplace` | `str` |
| `version` | `str \| None` |
| `root` | `Path` |
| `data_dir` | `Path` |
| `manifest` | `PluginManifest \| None` |
| `inventory` | `ComponentInventory` |


## Properties

- `plugin_id`
- `name`
- `marketplace`
- `version`
- `root`
- `data_dir`
- `manifest`
- `inventory`

---

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