WASHINGTON (AP) -- Mexican President Andres Manuel López Obrador agreed to spend $1.5 billion over the next two years to improve "smart" border technology during meetings Tuesday with President Joe Biden -- a move the White House says shows neighborly cooperation succeeding where Trump administration vows to wall off the border and have Mexico pay for it could not.
A series of agreements the two countries hammered out as their leaders spoke called for several other concrete moves, including expanding the number of work visas the U.S. issues, creating a bilateral working group on labor migration pathways and worker protections and welcoming more refugees. Both also pledged to continue joint patrols for Mexico and Guatemala to hunt human smugglers along their shared border.
But the Biden administration hailed securing border funding from Mexico after years of failed attempts by former President Donald Trump.
"Borders that are more resilient, more efficient, and safer, will enhance our shared commerce," Biden and López Obrador said in a joint official statement. "We are committed like never before to completing a multi-year joint U.S.-Mexico border infrastructure modernization effort for projects along the 2,000-mile border."
The agreements came after López Obrador began the discussions by talking for more than half an hour as reporters looked on. His far-ranging discourse touched on everything from American drivers heading south for cheaper prices at the pump at Mexican gas stations to the New Deal politics of Franklin Delano Roosevelt. He also chiding conservatives and said the U.S. and Mexico should reject the "status quo" on the border.
López Obrador said both countries "should close ranks to help each other" amid spiking inflation and border challenges brutally underscored by 53 migrants who died last month after being abandoned in a sweltering tractor-trailer on a remote back road in San Antonio.
"Increasing inflation impacts the well-being of families in both our countries, and requires strong, immediate, and concerted action," the joint statement said. "That is why we have committed to jointly combat inflation by accelerating the facilitation of bilateral trade and reducing trade costs."
Though in the past he's not shied away from U.S. criticism, López Obrador struck a positive tone with Biden while heaping praise on Vice President Kamala Harris.
"So happy to be here at the White House once more," López Obrador said.
Biden was equally conciliatory, saying, "I see, we see Mexico as an equal partner" and shrugging off differences of opinion on policy with López Obrador: "You and I have a strong and productive relationship and I would argue a partnership."
That was a departure from last month, when López Obrador declined Biden's invitation to the Summit of the Americas in Los Angeles after unsuccessfully urging the U.S. to include the leaders of Cuba, Nicaragua and Venezuela -- all countries with anti-democratic regimes.
The Mexican leader also has called U.S. support for Ukraine in its war with Russia "a crass error" and criticized the U.S. for moving more swiftly to provide military funding to Ukraine than financial aid to Central America.
Speaking of the migrant deaths in Texas -- which included people from Mexico and Central America -- Biden said "we know we have to meet these challenges together." He said the U.S. and Mexico agree on the need to increase opportunities for legal migration, especially since more workers can help alleviate U.S. labor shortages and potentially help calm rising prices.
"This is a proven strategy that fuels economic growth as well as reduces irregular migration," Biden said.
Immigration has been a political flashpoint for Biden as top Republicans have pointed to a rising number of people from Mexico and Central America crossing the southern U.S. border illegally while slamming the administration and top Democrats for not doing more to slow it. López Obrador acknowledged those criticisms, but said the situation at the border will require solutions, not just politics.
"The way out is not through conservatism. The way out it through transformation," he said. "Transform, not maintain the status quo."
Tuesday's was the second in-person meeting between Biden and López Obrador at the White House. First lady Jill Biden hosted Mexican first lady Beatriz Gutiérrez Müller during this spring's White House celebration of Cinco de Mayo.
In the agreed upon announcements released Tuesday night, both Mexico and the U.S. pledged joint actions to modernize and improve infrastructure along key parts of their border, enhance law enforcement cooperation against fentanyl smuggling and promote clean energy.
Biden also said that a "major anti smuggling operation" against fentanyl traffickers has been underway since April and had led to more than 3,000 arrests, and that both countries would continue to cooperate. In addition to the pilot program exploring more avenues for legal migration, Biden noted that the U.S. has already worked to expand visa programs for workers from Mexico and Central America.
Despite broad agreement on legal migration efforts, though, the Biden administration was less clear about how much it urged Mexico to stop people heading through its territory to then cross into the U.S. illegally. That was a key demand of Trump and his hardline immigration policies.
Vice President Kamala Harris, who has been tasked with exploring the root causes of immigration across Latin America, also hosted López Obrador for a Tuesday breakfast. Speaking with Mexico's president outside the Naval Observatory, which is the vice president's residence, Harris referenced visiting his country previously.
"The time that I spent with you in Mexico was so special to me," she said, noting the "friendship that has been so important to both nations."
"She is our friend," López Obrador said. "But also a woman with principles. An intelligent woman. Honest. She is a partisan of equality. So I congratulate the American people because they have a first order vice president."