# SubagentMetadata

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/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/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/subagents.py#L37)