// observations.
else:
del self.dones[agent]
del self.rewards[agent]
del self.obs[agent]
del self.infos[agent]
// update self.agents
After Change
assert agent in action_dict, \
"Live environment agent is not in actions dictionary"
self.aec_env.step(action_dict[agent])
stepped_agents.add(agent)
assert all(agent in stepped_agents or self.aec_env.dones[agent]
for agent in action_dict), \
"environment has a nontrivial ordering, and cannot be used with"\