load_async_subagents(
config_path: Path | None = None,
) -> list[AsyncSubAgent]| Name | Type | Description |
|---|---|---|
config_path | Path | None | Default: None |
Path to config file. Passing a path also excludes
managed policy from this read, so production callers must pass
None.
Defaults to ~/.deepagents/config.toml.
Load async subagent definitions from config.toml.
Reads the [async_subagents] section where each sub-table defines a remote
LangGraph deployment:
[async_subagents.researcher]
description = "Research agent"
url = "https://my-deployment.langsmith.dev"
graph_id = "agent"