The governments of Brazil and the US formalized on Friday a bilateral security cooperation agreement in Brasilia.