Formal agreements are vital because they provide a framework for data governance, enhance transparency, and ensure compliance with ethical standards and legal regulations. They help in mitigating risks associated with data breaches, misinterpretation of data, and intellectual propertydisputes.