WARNING: The following contains spoilers for Devs, now streaming on FX on Hulu.

In the six episodes so far, Alex Garland's Devs reveals how Amaya, using temporal coding and computing, plans to create a model to predict the future. More so, this algorithm would allow it to possibly pluck the consciousness of people from the past, which is why owner Forest (Nick Offerman) wants to start the project up in order to get his dead daughter back following her car accident.

However, one programmer, Lyndon (Cailee Spaeny), is fired for altering the algorithm in what Forest deems a short-cut move, insisting they have to pull from this data in this world, not others in the Multiverse. In the penultimate episode of the season, Amaya finally gets the temporal project right, but it's achieved thanks to rule breaking and a few of deaths.

RELATED: Devs: Amaya's Historical Cameos Are Sexy, Scandalous & Scary

Stewart (Stephen McKinley Henderson) reveals the news to the coding team when they look at the formation of Earth as well as themselves one second into the future. That's the window the algorithm has perfected, which leaves the crew speechless.

Seeing their actions occurring clear as day, before they perform them in real-life, even if it's for just a second, is mind-blowing; although, some members struggle to cope with it. Forest is yet to see what's transpired, and all he's been doing is watching the caveman era with Katie (Alison Pill) and pondering how they spent so many centuries in the same place doing nothing.

When he returns to the lab on the night Lily (Sonoya Mizuno) is supposed to break in, he meets Stewart, who informs him the project's done. Stewart confirms they kept using Lyndon's theories because, despite dealing with "many worlds," it helped them streamline things, something Katie was fine with because she believed in Lyndon's calculations. Shockingly, Forest doesn't put up much resistance, so it seems he foresaw this too, as did Katie, ergo why they didn't prevent a couple key deaths from occurring early on.

RELATED: Devs: Amaya May Have a Traitor in Its Midst

Kenton (Zach Grenier) kills Jaime (Jin Ha) all to get Lily on the path towards revenge. She comes to Devs to kill Forest and Katie, and as she passes Stewart, who hasn't seen a future with her, he realizes something big is going down. Devs did have that static spot in the future, which means the laws of physics broke down, so Stewart senses she is the catalyst, but the big death that kicks all this into motion, one Stewart's unaware of, is that of his friend Lyndon.

In the last episode, Lyndon sneaks into his RV and begs Stewart to get back on the team, but he makes it clear Forest will kill the coder. This episode now has Lyndon sneaking into Katie's car and begging her to come back. She takes the desperate engineer to a dam nearby as a test, indicating if Lyndon stands on the edge and doesn't fall, he can come back, but this is a test of Lyndon's theory.

If he believes the Multiverse formula will work, then he won't be afraid to stand on the ledge because if he dies, there will be other Lyndons that survive. In their worlds, they get to come back to Devs, so Katie plays a game of chicken with Lyndon. If he believes the theory, then he'd be willing to risk his life, as he knows a Lyndon somewhere will make the team again.

RELATED: Alex Garland's Devs Isn't Merely Sharp Sci-Fi - It's Suffocating Horror

Unfortunately, viewers see all the other Lyndons falling and dying, which means across all worlds, there is one certainty: Lyndon must to die. This is the true starting point of the apocalypse as it keeps Katie and Forest away from Kenton, makes Kenton hunt down Jamie and Lily and then puts Lily on the path towards the lab.

While Amaya gets the project right, it's no longer about using the code to pluck Forest's daughter from the timestream. It's about letting events unfold so Lily can bring about the apocalypse. The programmers accept this fate, and as Lily enters the golden cube with Forest, it seems she has as well.

Devs, entirely written, directed and edited by Alex Garland, is streaming on FX on Hulu. It stars Nick Offerman, Alison Pill, Sonoya Mizuno, Jin Ha, Zach Grenier, Stephen McKinley Henderson, Karl Glusman and Cailee Spaeny. New episodes will be released every Thursday.

KEEP READING: Devs Just Pulled Off Its Own OCean's Eleven Tech Heist