Learn how to build common composition patterns
run_agent
function enables remote invocation of agents through ACP.run_agent
function enables remote invocation of agents through ACP.TranslationTool
, which can invoke both translation_french
and translation_spanish
agents via ACP by using run_agent
.asyncio.gather
to execute multiple remote agent calls concurrently via ACP. The process then awaits both responses, effectively blocking until all agents return their results.
run_agent
function enables remote invocation of agents through ACP.translation_french
and translation_spanish
in parallel using asyncio.gather