Agency workers are to be given the same basic rights as permanent workers within 12 weeks of starting a job, under a government plan agreed with unions.

The deal will include pay rates and hours of employment.