State lawmakers have reached an agreement on what backers say is a historic environment, energy and climate budget bill that will make transformative investments to help Minnesota combat climate change and move more aggressively toward a carbon-free economy.