-
Is it possible to let agent call MCP tools parallel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Response from ADK Answering Agent (experimental, answer may be inaccurate) TLDR: Yes, it is possible for an agent to call MCP tools in parallel. The ADK framework is designed to support parallel execution of tools, and this extends to MCP tools as well. The ADK framework has built-in support for parallel function calling. This is demonstrated by the ADK also features the When you use an Therefore, the parallel execution of MCP tools is supported by the ADK framework. [1] https://github.com/google/adk-python/blob/main/contributing/samples/parallel_functions/README.md |
Beta Was this translation helpful? Give feedback.
Response from ADK Answering Agent (experimental, answer may be inaccurate)
TLDR: Yes, it is possible for an agent to call MCP tools in parallel. The ADK framework is designed to support parallel execution of tools, and this extends to MCP tools as well.
The ADK framework has built-in support for parallel function calling. This is demonstrated by the
parallel_functions
sample agent, which you can use as a reference [1]. The underlying mechanism usesasyncio
to run tool calls concurrently, which can significantly improve performance [2].ADK also features the
ParallelAgent
, which can execute sub-agents in parallel [3]. This further illustrates the framework's capability for concurrent exec…