Agentic AI - Production Agent Architecture
Given the code below, what will be the output?
import asyncio
async def agent1():
await asyncio.sleep(1)
return 'Agent1 done'
async def agent2():
await asyncio.sleep(2)
return 'Agent2 done'
async def main():
results = await asyncio.gather(agent1(), agent2())
print(results)
asyncio.run(main())