India and Brazil Wednesday signed an agreement in Brasilia on cooperation in the field of environment, the external affairs ministry said.