pub fn revert_agent(agent_id: &AgentId, revert_target: RevertAgentTarget)
Revert an agent to a previous state