# get_config_options

> **Function** in `deepagents_code`

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

Return every option, credentials-first then by domain group.

Cached: provider credentials are generated once from `PROVIDER_API_KEY_ENV`
on first call (which lazily imports `model_config`). The cache assumes that
registry is an immutable module constant; a test that monkeypatches it must
call `get_config_options.cache_clear()` (and `_options_by_key.cache_clear()`).

## Signature

```python
get_config_options() -> tuple[ConfigOption, ...]
```

---

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