# installed_extra_names

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/extras_info/installed_extra_names)

Return extras with at least one installed dependency.

## Signature

```python
installed_extra_names(
    distribution_name: str = 'deepagents-code',
    *,
    strict: bool = False,
) -> set[str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `distribution_name` | `str` | No | Name of the installed distribution to inspect. (default: `'deepagents-code'`) |
| `strict` | `bool` | No | Raise when the distribution metadata cannot be read or parsed reliably. (default: `False`) |

## Returns

`set[str]`

Set of extra names whose optional dependency metadata has at least one
installed package. Composite extras are excluded.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/extras_info.py#L190)