A legal custody agreement is a formal document which outlines the rights and responsibilities of both parents in regards to their child or children. It sets forth who has legal and physical custody, visitation rights, educational decision-making authority, health care related decisions, and other important matters. This agreement should be based on what is in the best interest of the child and can be enforced by law. A legal custody agreement provides security for the kids and can help protect their best interests. It’s an important way to ensure the safety and wellbeing of all those involved.