It’s really hard to give advice without knowing more about your game, but you mention “follow the player with missiles coming out of the enemy” so perhaps it is a top down game?
Personally I wouldn’t bother with some kind of generic AI model or API that you train using a neural network or whatever. Focus on creating the logic for an AI that works for your game.
If it is a top down game with ranged and melee weapons then perhaps you can create some basic rules for your AI that would work well enough?
- If AI has above 80% in health and has a ranged weapon then move away from the player if too close and move towards the player if outside of ranged weapon range.
- If AI has above 80% in health and has a melee weapon then move towards the player
- If AI has between 30-80% and there is some kind of source of healing nearby then move towards that, if not then move towards other AIs, otherwise continue according to rules above
- If the AI has less than 30% health then move away from player at all times, and towards a source of healing, unless it takes the AI close to the player.
Simple things like this can be surprisingly efficient. If you model it as a number of different forces/vectors pushing the AI in different directions (away/towards player, possibly towards other AIs, possibly towards healing) you get very natural motions.