Follow & Protect Agent


Follow & Protect Agent is an ML‑Agents powered companion AI that follows the player and protects them from enemies. Plug‑and‑play demo and training setup included.


by Iasia Bazelevskaya


Price History +

Follow & Protect Agent is a production‑ready companion AI for Unity. The agent follows the player at an optimal distance, detects and engages enemies, and is fully driven by a trained Unity ML‑Agents model. The package includes a clean demo scene for inference, training utilities, and documentation to fine‑tune or retrain the model.


Key features:

  • Smart following: maintains optimal distance and orients to the player.
  • Combat AI: detects enemies, aims and shoots with reward‑shaped behavior.
  • Pure NN control: movement/attack decisions come from the ML model.
  • Ready‑to‑use demo: minimal scene with HUD and camera controller.
  • Training tools: config, scene helpers, validation and scene fixer.
  • Clean codebase: English UI, tooltips, and API reference.