Ex Machina, the science fiction film written and directed by Alex Garland, is being highlighted as one of the genre's most original and profound entries, a film that is often underrated despite its warning about the dangers of artificial intelligence.
Garland's career is relatively short compared with other, more established directors in the industry, but he has distinguished himself with a filmography built around striking, conceptual ideas. Before he surprised audiences with later films such as Civil War and Annihilation, Garland released a feature directorial debut that had a major impact: Ex Machina.

The film drew inspiration from works such as Terminator and Westworld to build a science fiction story that feels increasingly plausible. The idea of a creation gaining its own consciousness is a familiar theme in the genre, and Ex Machina follows that path, setting up an experiment that calls into question the boundary between artificial intelligence and humanity.
How the idea for Ex Machina began
Garland has said the idea came to him when he was only 11 or 12 years old, around the time his parents bought him a computer. He said he carried out some basic programming exercises, simply trying to understand how things worked.
What stood out, he said, was that the programs he wrote worked as a kind of question-and-answer exchange, and he said that exchange forms part of the root of the film. That early fascination with consciousness stayed with him and eventually grew into the story that became Ex Machina.
Garland is also known as the screenwriter of 28 Days Later and Sunshine and as the author of the novel The Beach, before going on to direct Annihilation and Civil War.
The plot of Ex Machina
The story centres on Caleb, a programmer who wins a competition to join chief executive Nathan Bateman at his isolated mansion. Caleb is chosen to take part in a secret experiment, and the film constantly plays with the audience's perception by withholding exactly what is going on.
Ex Machina was released in 2015 and starred Oscar Isaac as Nathan, alongside Domhnall Gleeson as Caleb and Alicia Vikander as Ava.
Ava complicates everything
The arrival of Ava is what turns the story on its head. She is an android with a human appearance who appears to have an extraordinary sense of self-awareness. The experiment consists of a series of conversations between Caleb and Ava.
The goal, according to the film's account of Nathan's intentions, is for Isaac's character to understand the latest model well enough to refine the specifications for the development of the next version.
During a blackout, Ava whispers to Caleb that Nathan cannot be trusted. That moment is when the story truly unravels, sowing a constant sense of doubt that runs through the rest of the film.
A premonitory warning
Looking back, Ex Machina has increasingly come to be seen as a premonitory warning, one that feels less like science fiction with each passing year. For anyone who has not seen it, the film is being recommended as one not to miss.
Test yourself
Who directed and wrote Ex Machina?
What role does Alicia Vikander play in the film?
According to Garland, where did the idea for the film originate?
Have your say
Do you think stories like Ex Machina are realistic warnings about the risks of artificial intelligence?
