Artur Soboń, the head of a government delegation that has been negotiating with unionists amid an underground protest by miners, said the agreement outlines a "fair path to the transformation of the Polish mining and energy industry".
Heavily coal-dependent Poland is striving to cut emissions that damage the environment without triggering massive job losses in its mining sector.
Dominik Kolorz, from the Solidarity trade union, welcomed Friday’s agreement, though he said that in practice it would mean the end of the Polish mining industry in the long term.
The deal ends underground protests that have underway since Monday in mines belonging to the Polska Grupa Górnicza mining group, state news agency PAP reported.
The company said that on Friday morning 215 workers were taking part in the protests.
Earlier, the government and unionists reportedly agreed that miners would have guaranteed jobs in mines until they retire.