Prime Minister Narendra Modi and Brazil's President Luiz Inácio Lula da Silva on Thursday agreed to enhance cooperation in trade, technology, energy, defence, agriculture, health and people-to-people ties, Modi's office said in a statement.