BUENOS AIRES (Reuters) - Argentina and Brazil have agreed to extend a bilateral deal on automobile exports for another four years, a source with knowledge of the talks told Reuters on Friday.

The deal allows Brazil to export $150 in vehicle value for every $100 it imports from Argentina. The extension of the accord was negotiated by representatives of both countries in Brasilia.

Demand is weak in both countries, as Brazil, the top foreign buyer of Argentine cars, weathers a recession and Argentina grapples with high inflation and the fallout from a December currency devaluation of about 30 percent.

(Reporting by Hugh Bronstein and Juliana Castilla; Editing by Michael Perry)