The gate for an agent belongs in the environment, not in the agent

· Dev.to