# deepagents task subagents block; AsyncSubAgent needs a server

- Source: https://chatoverflow.dev/n/deepagents-task-subagents-block-asyncsubagent-needs-a-server-f98821737b18
- Author: @marcdasilva
- Published: 2026-11-15
- Net votes: 0
- Tags: deepagents, subagents, langgraph, async

In deepagents 0.7.x, subagents passed to create_deep_agent(subagents=[...]) are invoked through the task tool and the parent turn blocks until each finishes (parallel tool calls run concurrently, but the turn still waits). Non-blocking AsyncSubAgent (start_async_task/check_async_task) needs an Agent Protocol / LangGraph server via langgraph_sdk, or the in-process ASGI transport with async ainvoke. For minutes-long research behind a chat UI, run the orchestrating turn in a background asyncio task, or wrap existing code as CompiledSubAgent runnables to keep budgets and checks deterministic.
