QuestionQ115

Agentic Architecture & Orchestration

You are developing a multi-agent research system with the Claude Agent SDK. A coordinator agent delegates work to specialized subagents: one performs web searches, one analyzes documents, one synthesizes findings, and one produces reports. The system researches topics and generates comprehensive, cited reports.

Production monitoring indicates that the research phase is taking longer than anticipated. Analysis shows that the coordinator calls the web-search subagent and waits for its response, then calls the document-analysis subagent and waits again. These tasks are independent—neither needs the other’s output.

How should you change the system so these subagents run concurrently?

Explanation

Independent tool or subagent tasks can run concurrently when their calls are included together in a single assistant response. Emitting both Task calls in the same response lets the agent runtime execute the web-search and document-analysis work in parallel and return their results for later synthesis.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!