# SubAgentConfig

> **Class** in `deepagents_cli`

📖 [View in docs](https://reference.langchain.com/python/deepagents-cli/deploy/config/SubAgentConfig)

Parsed from a subagent's deepagents.toml.

## Signature

```python
SubAgentConfig(
    self,
    agent: AgentConfig,
)
```

## Constructors

```python
__init__(
    self,
    agent: AgentConfig,
) -> None
```

| Name | Type |
|------|------|
| `agent` | `AgentConfig` |


## Properties

- `agent`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/64d45f67c86edb4df2ced0e7b82f1a8fd158ec8c/libs/cli/deepagents_cli/deploy/config.py#L80)