An agreement is mainly needed between the US and China, as they are at the forefront of the race. It's challenging but it's in their best interest. Many other countries would likely see favorably such an agreement, also because they are far behind in the race (my guess is that this would be the case for the European Union, and possibly for several developing countries). Once the agreement is supported by at least the three most powerful economic blocs in the world, the few uncooperative countries left could be forced to comply through an unbearable economic pressure.