Code
async_basic_stream.py
Usage
1
Set up your virtual environment
2
Set your API key
bash export COMETAPI_KEY=xxx 3
Install dependencies
bash uv pip install -U agno openai 4
Run Agent
Save the code above as
async_basic_stream.py, then run: