DETROIT -- Two people briefed on the matter say car automakers have reached a deal with the U.S. government to put automatic emergency braking in most vehicles by 2022.

The deal will be announced Thursday by car companies and the Department of Transportation. The life-saving feature will be phased in during the next six years, the people said. They spoke on condition of anonymity because terms of the agreement haven't been released.

Automatic emergency braking uses cameras, radar and other sensors to see objects in the way and slow or stop a vehicle if the driver doesn't react. Studies show it will reduce crashes and make roads safer.

The technology already is available on many models, but automakers are struggling with how to fit it into all current product plans.