# add_local_marketplace

> **Function** in `deepagents_code`

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

Add a local marketplace to dcode state.

## Signature

```python
add_local_marketplace(
    path: str | Path,
) -> PluginMarketplace
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `path` | `str \| Path` | Yes | Marketplace root directory. |

## Returns

`PluginMarketplace`

Parsed marketplace.

---

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