| Algorithm 1 Implementation of PROFETA framework. |
| 1: Import necessary PROFETA libraries |
| 2: Define beliefs and goals as classes in the script |
| 3: Define user actions by creating classes and overriding the method execute() |
| 4: Start PROFETA engine |
| 5: Define rules by using declarative syntax |
| 6: Run the engine |