Skip to content

Example — Perturb and compare

Category: Big (AI agent) · Script: examples/big/05_perturb_compare.py

Agent compares baseline vs perturbed simulation for BIOMD0000000206.


How to run

pip install -e "src/praisonai-bio"
export OPENAI_API_KEY=sk-...
python examples/big/05_perturb_compare.py

Needs: Internet + OpenAI API key + BASICO.


Tested output

Live capture from ./scripts/capture_example_outputs.sh.

Click to view full output
To compare the baseline simulation with a perturbed simulation for the model BIOMD0000000206, I'll first run a baseline simulation to obtain the normal behavior of the model, and then I’ll perform a perturbed simulation by changing one of the model parameters. After that, I will compare the results of both simulations.
Let's start with the baseline simulation. I'll set a duration for this simulation. How long would you like the simulation to run? A duration of 100 time units is common, but please specify if you have any preferences.

← All examples