The XYZ Affair was an "almost" war. While France was having their Revolution, they were fighting all of Europe. They needed helped and turned to the U.S. because the French had helped the Americans in their Revolution. The U.S. says no and that angers the French. When the French starts to steal supplies from the U.S. ships, then John Adams sends his ambassadors/spies to talk with France who were Agent X, Y, and Z. France tries to bribe the Americans just to talk to them and the ambassadors are offended. Adams starts to prepare for a war against France, but it never happens.