Brazil canceled four military agreements with the United States Monday in a move that U.S. Ambassador John Crimmins said ends "all formal structure of military cooperation between the two countries," according to an announcement yesterday.

"Apparently the Brazilian government no longer deems these agreements to be in its interest," an embassy spokesman said.

The agreements terminated involve a Brazilian-American military commission and a naval commission established in 1942 to coordinate World War II cooperation; a 1967 pact governing use of imported U.S. armaments, and a 1952 agreement for U.S. participation in aerial mapping of Brazil.

In march Brazil's military government canceled a 1952-accord establishing a joint commission that supervised Brazil's purchase of U.S. military equipment.

At the same time, Brazil refused a $50 million credit for the purchase of U.S. military supplies because of human-rights provisions attached to the aid by the U.S. Congress.

Relations between the Brazilian government and the Carter administration have been somewhat strained by U.S. opposition to a Brizilian nuclear deal with West Germany and the human-rights issue.

Brazil has diversified its arms pruchases in recent years, buying warplanes from France and naval equipment from Britain, as well as developing its own arms industry.