An equity agreement, often referred to as a shareholder agreement or a shared equity agreement, is a legal contract that defines the relationship between a company and its shareholders. It specifies the rights, duties, and protections of shareholders, as well as the operational procedures of the company.