The agreements include investing in the development of systems and weapons for uncrewed undersea vehicles