The 'basic' AI is RampageAI, which basically makes your homun go completely out of your control. Depending on the homun type it will become evasive (Armistr, Lif) or aggressive (Vanil, Filir) which explains the bolting.
To make your homun not attack things, you want the standby command: Alt-T, or rightclick the homun and select standby (the third option).