# SubagentMetadata

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/subagents/SubagentMetadata)

Metadata for a custom subagent loaded from filesystem.

## Signature

```python
SubagentMetadata()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    name: str,
    description: str,
    system_prompt: str,
    model: str | None,
    source: str,
    path: str,
)
```

| Name | Type |
|------|------|
| `name` | `str` |
| `description` | `str` |
| `system_prompt` | `str` |
| `model` | `str \| None` |
| `source` | `str` |
| `path` | `str` |


## Properties

- `name`
- `description`
- `system_prompt`
- `model`
- `source`
- `path`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/88c2b5cb874dc1d093acf54d2a967ba6e085c99b/libs/cli/deepagents_cli/subagents.py#L34)