Praison AI
Enterprise
Agents
Bot
Use Cases
University
Docs
Async agents with astart
Run
import asyncio from praisonai import Agent async def main(): agent = Agent(instructions='Reply in five words or fewer.') results = await asyncio.gather( agent.astart('Name one ocean.'), agent.astart('Name one continent.'), ) for reply in results: print(reply) asyncio.run(main())
Press Run. The result appears here.
Esc
Search in
All
Docs
University