This article seeks to demonstrate the nexus between agent-related technology and the protection of the environment in armed conflicts, looking at how agent-based modelling and simulation (ABMS) can be used as a tool to protect the environment in armed conflicts. It further analyzes the precautionary principle and due regard, as relevant rules, and explains the legal benefits of deploying ABMS to protect and preserve the natural environment. The article argues that the deployment of ABMS helps States to better understand the environmental effects of conflicts, reassess their military activities and comply with the relevant applicable rules and norms.