# InstallHint

> **Class** in `deepagents_code`

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

Resolved recovery action for a missing provider package.

Exactly one of three outcomes:

- `extra` set, `command` `None` — prefer installing the extra that declares
  the package (callers format this for their UI surface).
- `command` set, `extra` `None` — no declared extra; use this raw install
  command.
- both `None` — neither could be derived; caller should fall back to
  "install the package manually" phrasing.

## Signature

```python
InstallHint(
    self,
    extra: str | None,
    command: str | None,
)
```

## Constructors

```python
__init__(
    self,
    extra: str | None,
    command: str | None,
) -> None
```

| Name | Type |
|------|------|
| `extra` | `str \| None` |
| `command` | `str \| None` |


## Properties

- `extra`
- `command`

---

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