A buy-sell agreement is a legally binding document between company shareholders. The agreement addresses what will happen if a partner passes away, becomes disabled, or otherwise exits the business. The document also establishes a clear framework for how the business will be valued in these situations.