How do international trade agreements balance the interests of different domestic groups, such as farmers, while promoting economic growth?

There is debate over whether Indian farmers' interests are protected in the Indo-U.S. trade deal. I want to understand the complexities involved in negotiating trade agreements that both foster international cooperation and safeguard vulnerable groups at home.