Was Sergei Really A Spy?
Short Answer
Yes. Sergei copies Devs code for Russian intelligence, but that does not justify Amaya murdering him and staging his death.
Connected Story Threads
Lily refuses to accept Sergei's suicide story, making his death the emotional engine of the series.
Sergei copies Devs code in the bathroom because his handler wants proof of Amaya's secret technology.
The handler pressures Sergei to steal from Devs, placing him between foreign intelligence and corporate punishment.
Kenton kills Sergei after the code theft and Amaya presents the body as a public self-immolation.
The handler orders Sergei to copy code, placing him on the path to discovery and death.
The code is the proof the handler wants from inside Amaya's secret division.
Direct Answer
Yes. Sergei copies Devs code for Russian intelligence, but that does not justify Amaya murdering him and staging his death.
Evidence From The Series
Sergei secretly copies code during his first visit to Devs, is discovered, and is killed by Kenton rather than exposed through any legal process.
Why It Matters
The show makes him compromised and frightened at once, so the espionage fact does not make the cover-up morally acceptable.
Related Characters, Places, and Concepts
More Questions About Sergei Pavlov
Sergei copies the Devs code because he is spying for Russian intelligence and needs proof of Amaya's secret project.
Sergei is killed because Amaya catches him stealing Devs code and chooses murder and a staged suicide over exposure.
Devs is about Lily Chan uncovering Amaya's cover-up of Sergei's death and discovering a machine that turns grief, prediction, and free will into a moral crisis.
Lily Chan is an Amaya encryption engineer whose investigation into Sergei's death leads her into Devs and the final broken prediction.
Pete is the man near Lily's apartment who appears homeless but is revealed as part of the Russian intelligence presence around Amaya.