A settlement agreement can be drafted by the parties involved in the dispute or by their legal representatives. It's advisable to involve legal professionals to ensure that the agreement complies with relevant laws.