# get_discovered_models

> **Function** in `deepagents_code`

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

Get the discovered lineup for one provider, unfiltered by policy.

`get_available_models()` applies `models.allowed` itself, so allowlist
machinery expanding a `provider:*` wildcard cannot call it without
recursing. This reads the same discovery result with the filter off.

## Signature

```python
get_discovered_models(
    provider_name: str,
) -> list[str]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `provider_name` | `str` | Yes | The provider whose models to list. |

## Returns

`list[str]`

Model identifiers discovery knows about, empty when the provider
declares none and none were discovered.

---

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