Learn how to create a mass simulation using the Python SDK and in the UI
There are 2 ways to create a mass sim: 1) in the UI OR 2) using the Python SDK
create_mass_sim()
function:
n
is the number of sessions you want to run and your-script.py
is the file path from the current directory to the script that runs your agent.
Example Usage:
gemini.py
agent 5 times.
Important Note: If you are running more than 5 sessions in parallel, ensure that your computer can handle it!
Note: The &
at the end of the command runs the process in the background and allows you to run multiple processes at the same time.
Where n
is the number of sessions you want to run and your-script.py
is the file path from the current directory to the script that runs your agent.
Example Usage:
gemini.py
agent 5 times in parallel (i.e. launch 5 processes at the same time).