Kinetic theory frameworks are widely used for modeling stochastic interacting systems, where the evolution primarily depends on binary interactions. Recently, in this framework an external action has been introduced. In this paper, we introduce nonconservative kinetic equations where a particular shape external force field acts on the overall system. Then, this framework is used in an ecological context for modeling the evolution of a system composed of two species interacting with a prey--predator mechanism. The linear stability analysis concerned with the coexistence equilibrium point is provided, and a case where a Hopf bifurcations occurs is discussed. Finally, some relevant scenarios are numerically simulated.