- Step1: Install via pip: pip install chatstreamaiagent
- Step2: Import ChatAgent from chatstreamaiagent
- Step3: Initialize agent with your OpenAI API key and settings
- Step4: Call agent.stream_response(prompt) to begin streaming
- Step5: Handle streamed tokens via async callbacks in your application