# list()

Canonical URL: https://developers.iagenify.com/sdk/ref/agents/subagents/list/
Language: en

`api.agents.subagents.list() → Promise<Subagent[]>`

Both sources, merged and sorted by name, each item saying where it came from and what it is allowed to use.

Status: free · sorted by name · no content

```javascript
const agents = await api.agents.subagents.list();
// [{ name: "explore", description: "…", tools: [...], model: "gemini-3.5-flash", source: "account" }]
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name · description · source` |  |  | As in the skills library. |
| `tools` | string[]|null |  | Its tool selection, or `null` to inherit. |
| `model` | string|null |  | Its model, or `null` to inherit. |

## An empty list has consequences {#empty}

No `task` tool, and no « Subagents » section in the system prompt. Nothing fails — the agent simply does everything itself.

## Claude Code names are translated {#translated}

A file written for that format works as it is: its tool names are mapped, and model names of that family fall back to the agent's own model rather than failing.

## The body is not in it {#no-content}

Names, descriptions, tools and models. [get()](/sdk/ref/agents/subagents/get) for the instructions.

- [get()](/sdk/ref/agents/subagents/get): With the content.
- [Options · tools and library](/sdk/ref/agents/options/tools): Choosing which a run gets.

```python
agents = api.agents.subagents.list()
# [{"name": "explore", "description": "…", "tools": [...], "model": "gemini-3.5-flash", "source": "account"}]
```
