Finish revision on the agent part