diff --git a/docs/user-guide/concepts/multi-agent/agent-to-agent.md b/docs/user-guide/concepts/multi-agent/agent-to-agent.md index 16900579..81084f02 100644 --- a/docs/user-guide/concepts/multi-agent/agent-to-agent.md +++ b/docs/user-guide/concepts/multi-agent/agent-to-agent.md @@ -234,12 +234,11 @@ agent = Agent(tools=provider.tools) response = agent("pick an agent and make a sample call") logger.info(response) -# Async usage -async def main(): - response = await agent.invoke_async("pick an agent and make a sample call") - logger.info(response) - -asyncio.run(main()) +# Alternative Async usage +# async def main(): +# response = await agent.invoke_async("pick an agent and make a sample call") +# logger.info(response) +# asyncio.run(main()) ``` This approach allows your Strands agent to: