Running Agents
Agents can be executed using different methods depending on your needs - synchronous, asynchronous, or streaming.Synchronous Execution
The simplest way to run an agent is using thedo() method, which executes synchronously and returns the result.
Asynchronous Execution
For concurrent operations or async applications, usedo_async() which returns a coroutine.
Streaming Execution
For real-time output, usestream() to get responses as they’re generated.

