Anti-government protesters in Ukraine agreed on Thursday to a truce of several hours in clashes with police while new talks took place between opposition leaders and President Viktor Yanukovych, Interfax news agency said.