set agent.max_history = 1