But this basement-and-garage-based Ukrainian tech army doesn’t just build drones; it also builds the software that coordinates the work of the drones. Sometimes it does so in partnership with NGOs, not companies; an executive at one of these groups described the software it develops as “an invention, not a product”—and, more important, as an invention that is constantly being redesigned. One widely used program collects information and distributes it to the laptops and tablets of ordinary soldiers up and down the front line, providing the situational awareness that has been one of Ukraine’s unexpected advantages. A tiny command post we visited had a bank of screens, each showing a different view of the battlefield.
Several foreign companies cooperate too. The most advanced, such as Palantir, the U.S.-based software and defense company, have software that can draw on multiple data sources—commercial-satellite images, reports from partisans—to identify and prioritize targets. This form of “algorithmic warfare” isn’t new, but the Ukrainians have the incentive to develop and expand it: Lacking warehouses full of spare ammunition, they have to hit the largest number of enemy vehicles with the smallest number of missiles.
Maxwell Adams, an engineer at Helsing, a European defense-tech company working pro bono in Ukraine, told us that the Ukrainians impressed his team with their ability to use everything available, from simple messaging apps to sophisticated artillery, all in unpredictable conditions. Together with their Ukrainian colleagues, his employees work to “get our software to run right on the edge, meaning on tiny little computer chips on the back of a rusty old vehicle, or in the backpack of a soldier, or on the payload of a drone.” The Ukrainians “absolutely get how to make AI operational,” he said.
They also get the need to use whatever they have. Reznikov described the combination of weaponry that the Ukrainians have received from dozens of different countries as a “zoo,” a menagerie of weapons (“We have approximately 10 systems of artillery,” he said, ticking them off on his fingers), and they all have to be made to work together, under conditions of limited ammunition, limited manpower, and sometimes limited satellite connection.
This high-tech world exists alongside and within an extraordinarily diverse citizens’ army, one that includes NATO-trained officers; grandfathers guarding their own villages; and every conceivable level of training, experience, and equipment in between. Because the front line runs through suburban backyards and working farms, this army lives and works in those places too. In a cottage near another part of the front line, we met a handful of drone operators, along with their Chihuahua and a couple of cats. Religious icons, property of a former owner, hung on the wall in the kitchen; muddy boots were lined up in rows in the hallway. In what used to be a living room, “Elephant,” who was a farmer before the war (albeit a farmer who had previously served in Ukrainian intelligence), talked about the need to modernize army education. “Frenchman” acquired his call sign because he’d served in the French Foreign Legion before coming home to run a wine bar in Lviv; he looks less like the tough legionnaire you imagine than the hip restaurateur he had become. Yet another soldier was fiddling with what looked like a video-game console when we arrived; in fact, he was learning to guide a drone. All of them had joined this special-forces group after February 2022.
A couple of hours’ drive away, along a dirt road filled with rocks, mud, and potholes the size of small ponds, we encountered a completely different kind of Ukrainian army, an infantry brigade composed of local men. Their artillery unit deploys weapons that look like they might have been used during the Soviet war in Afghanistan in the 1980s, and keeps them in barns and warehouses. They were cheerful—before we spoke, they insisted that we eat lunch at an army canteen—and showed no sign of the exhaustion that journalists have reported among troops in harsher sections of the front line. But although they can find Russian targets using the software on their tablets, they don’t have much ammunition with which to strike them. Joking, one of them offered us a deal: “If you could give us some more HIMARS now”—the American-made mobile rocket launchers that have been crucial to Ukraine’s defense—“after the war we’ll build you some drones.”
The unusual nature of this grassroots fighting force, along with its even more unusual range of physical and technological capabilities, helps explain why the Ukrainians were underestimated at the beginning of the conflict, and why their abilities are so hard to gauge now. Washington and Brussels thought that the war would feature “a big Soviet army fighting a small Soviet army,” in Reznikov’s words, and that the big Soviet army would of course win. But after the Russian invasion of Crimea in 2014, “the first people who became defenders were volunteers from the Maidan,” Reznikov noted, referring to Ukraine’s revolution against its autocratic, Russian-backed president that year. “They took rifles and went to the east.” In that same year, patriotic young Ukrainians also went to work for the defense industry or built the NGOs that still support the military today.
The old Ukrainian army had been shaped by years of negative selection, attracting the least educated and the least ambitious. The new one is now being shaped by the best educated and the most ambitious. In recent months, that army has evolved even further. In training camps in NATO countries, Ukrainian troops are learning to use Western battle tanks, to operate new kinds of artillery, and above all to carry out the combined-arms operations that will be part of the summer offensive—to achieve “interoperability,” as Reznikov put it, at a level the army has never previously attempted.
Sometimes, the war is described as a battle between autocracy and democracy, or between dictatorship and freedom. In truth, the differences between the two opponents are not merely ideological, but also sociological. Ukraine’s struggle against Russia pits a heterarchy against a hierarchy. An open, networked, flexible society—one that is both stronger at the grassroots level and more deeply integrated with Washington, Brussels, and Silicon Valley than anyone realized—is fighting a very large, very corrupt, top-down state. On one side, farmers defend their land and 20‑something engineers build eyes in the sky, using tools that would be familiar to 20‑something engineers anywhere else. On the other side, commanders send waves of poorly armed conscripts to be slaughtered—just as Stalin once sent
shtrafbats, penal battalions, against the Nazis—under the leadership of a dictator obsessed with ancient bones. “The choice,” Zelensky told us, “is between freedom and fear.”
Left: A mass burial site in Izium, Ukraine, March 15, 2023. The Russians seized Izium in April 2022. When Ukrainian soldiers liberated it in September, they discovered the graves of more than 400 citizens, many of them killed by shelling and air strikes.
Right: A Ukrainian soldier training in the forest, March 3, 2023. (Paolo Pellegrin / Magnum)
Versions of these two civilizations still exist within Ukrainian society too, though the division is not ethnic or linguistic. It is now exceedingly rare to find Ukrainians who describe themselves as “pro-Russian,” even in the Russian-speaking east. The streets in the center of Russian-speaking Odesa are lined with Ukrainian flags; Odesa’s mayor, the Russian-speaking Gennadiy Trukhanov, told us he believes Ukrainians are “the front line of the struggle for the civilized world.” But autocratic, top-down, hierarchical ways of doing things are hard to discard, especially in state institutions. The instinct to control and centralize decision making remains. Citizens’ groups and volunteers have arisen around the military partly to combat the vestiges of Soviet bureaucracy.
But the Ukrainians who want their country to remain part of this new, networked world believe they will win.
See you after the victory, they say when parting ways.
We’ll rebuild it after the victory, they say when talking about something smashed or destroyed. Trukhanov already dreams of a victory celebration, an enormous dining table spanning the length of Primorskiy Bulvar, Odesa’s famous seaside promenade, currently blocked off by soldiers and barricades: “Everyone is invited.” Even those who are more pessimistic about the immediate future remain optimistic about the longer term:
After the victory, we will need to defend the victory. Some of them have an almost mystical faith that it’s their country’s turn on the world stage. Yermak, Zelensky’s chief of staff, told us that victory is “very near,” that you can “feel it in the atmosphere.” Dmytro Kuleba, the Ukrainian foreign minister, talks about “history turning its wheels,” a process that cannot be stopped.
Others put their faith in modernity, in technology, and, yes, in the example of American democracy. “We are living in an open world, in a democratic world,” says Oleksiy Honcharuk, a former prime minister of Ukraine who is now in the tech world too. “And this advantage is huge.” Is that true? Only a Ukrainian victory can prove it.