> 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.cli.agents

## Module Contents

### Functions

| Name                                                    | Description                                                                                            |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| [`_inspect_agent`](#nemo_gym-cli-agents-_inspect_agent) | Render the `gym list agents &lt;name&gt;` inspect view for one agent (thin: no usage example).         |
| [`list_agents`](#nemo_gym-cli-agents-list_agents)       | List discovered agent harnesses and how each composes (Pattern A vs. self-contained B), or inspect one |

### API

```python
nemo_gym.cli.agents._inspect_agent(
    name: str,
    agents: dict,
    global_config_dict
) -> None
```

Render the `gym list agents &lt;name&gt;` inspect view for one agent (thin: no usage example).

```python
nemo_gym.cli.agents.list_agents() -> None
```

List discovered agent harnesses and how each composes (Pattern A vs. self-contained B), or inspect one
by name (`gym list agents &lt;name&gt;`). Optionally filtered by a `query` (the `gym search agents` entry
point). `--search-dir` adds extra roots on top of the cwd and built-ins.