Skip to main content
asyncio.gather() runs conversations for three users concurrently against one agent. Each call passes a user_id and session_id to preserve both scopes.

Code

multi_user_multi_session_chat_concurrent.py

Usage

1

Set up your virtual environment

2

Set your API key

3

Install dependencies

4

Run example