> This page is for version 0.2.1.
> For other versions, use one of these documentation indexes:
> - Main (default): https://docs.nvidia.com/nemo/gym/main/llms.txt
> - 0.7.0: https://docs.nvidia.com/nemo/gym/v0.7.0/llms.txt
> - 0.6.0: https://docs.nvidia.com/nemo/gym/v0.6.0/llms.txt
> - 0.5.1: https://docs.nvidia.com/nemo/gym/v0.5.1/llms.txt
> - 0.5.0: https://docs.nvidia.com/nemo/gym/v0.5.0/llms.txt
> - 0.4.0: https://docs.nvidia.com/nemo/gym/v0.4.0/llms.txt
> - 0.3.0: https://docs.nvidia.com/nemo/gym/v0.3.0/llms.txt
> - 0.2.1: https://docs.nvidia.com/nemo/gym/v0.2.1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/gym/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/gym/_mcp/server.

# nemo_gym.environment.assets

Resolve a named asset (a benchmark, environment, resources server, model type or agent type) to its config path.

## Module Contents

### Functions

| Name                                                                  | Description                                                     |
| --------------------------------------------------------------------- | --------------------------------------------------------------- |
| [`asset_config_path`](#nemo_gym-environment-assets-asset_config_path) | Map a named asset (`name` or `name/flavor`) to its config path. |

### Data

[`ASSETS`](#nemo_gym-environment-assets-ASSETS)

[`logger`](#nemo_gym-environment-assets-logger)

### API

```python
nemo_gym.environment.assets.asset_config_path(
    flag: str,
    value: str
) -> str
```

Map a named asset (`name` or `name/flavor`) to its config path.

Searches the roots from `component_search_roots` (`NEMO_GYM_EXTRA_ROOTS` +
cwd + install root), the same helper that backs `gym list`/`gym search`, so config resolution and
discovery agree on where components live. On a name collision across roots the highest-priority root wins
(as in `gym list`), with a warning. `--search-dir` reaches here via `NEMO_GYM_EXTRA_ROOTS` (set
in `main`). Searching the install root is what lets built-ins resolve by name from an arbitrary cwd
(e.g. a wheel install), not just inside the repo checkout.

```python
nemo_gym.environment.assets.ASSETS = {'benchmark': ('benchmarks', '', 'config'), 'environment': ('environments', '', ...
```

```python
nemo_gym.environment.assets.logger = logging.getLogger(__name__)
```