agenta.init()

Initialize your variant. You need to call this function once at the entry point of your code.