This is where you define what your agent does, how it reacts, and the way…