Ex Machina is a 2014 science fiction psychological thriller film written and directed by Alex Garland in his directorial debut. A co-production between the United Kingdom and the United States, it stars Domhnall Gleeson, Alicia Vikander, and Oscar Isaac. It follows a programmer who is invited by his CEO to administer the Turing test to an intelligent humanoid robot.

The film premiered at the BFI Southbank on 16 December 2014, and was released in the United Kingdom on 21 January 2015, by Universal Pictures International, and in the United States on 10 April 2015, by A24. It grossed over $36.8 million worldwide against a $15 million budget. It received widespread critical acclaim, with praise for its visual effects, screenplay, and performances. At the 88th Academy Awards, the film won Best Visual Effects and Garland was nominated for Best Original Screenplay. It earned five nominations at the 69th British Academy Film Awards, including Best Actress in a Supporting Role for Vikander and Best Original Screenplay for Garland, and Vikander was also nominated for Best Supporting Actress at the 73rd Golden Globe Awards. Since its release, it has been cited as among the best films of the 2010s.

Ex Machina (film)

Plot

Caleb Smith, a programmer at the search engine company Blue Book, wins an office contest for a one-week visit to the luxurious, isolated home of the CEO, Nathan Bateman. Nathan lives there with an unspeaking servant named Kyoko, who, according to Nathan, does not understand English. Nathan reveals that he has built a humanoid robot named Ava with artificial intelligence. Ava has already passed a simple Turing test, and Nathan wants Caleb to judge whether Ava is genuinely capable of thought and consciousness as well as whether he can relate to Ava despite knowing she is artificial.

Ex Machina (film)

Ava has a robotic body with the physical form and face of a woman and is confined to her apartment. During their talks, Caleb grows close to her, and she expresses both a desire to experience the world outside and a romantic interest in him, which Caleb comes to return. She can trigger power outages that temporarily shut down the surveillance system that Nathan uses to monitor their interactions, allowing them to speak privately. The outages also trigger the building's security system, locking all the doors. During one outage, Ava tells Caleb that Nathan is a liar who cannot be trusted.

Ex Machina (film)

Caleb grows uncomfortable with Nathan's narcissism, excessive drinking, and crude behavior toward Kyoko and Ava. He learns that Nathan intends to upgrade Ava after Caleb's test, "killing" her current personality in the process. After encouraging Nathan to drink until he passes out, Caleb steals his security card to access his room and computer. He alters some of Nathan's code and discovers footage of Nathan interacting with previous android models with the appearances of women who were held captive. Kyoko reveals to him that she is also an android by peeling off her skin. Later, Caleb examines himself and cuts open his own arm to determine if he himself is an android.

At their next meeting, Ava cuts the power. Caleb explains what Nathan is going to do to her, and Ava begs him for help. Caleb informs her of his plan: he will get Nathan drunk again and reprogram the security system to open the doors in a power failure instead of locking them. When Ava cuts the power, she and Caleb will leave together. Ava later encounters Kyoko for the first time when Kyoko enters her room.

Nathan reveals to Caleb that he observed Caleb and Ava's secret conversation with a battery-powered security camera. He says Ava has only pretended to have feelings for Caleb, who was deliberately selected for his emotional profile so he would help her escape. Nathan says this was the real test all along, and by manipulating Caleb successfully, Ava has demonstrated true consciousness. When Ava cuts the power, Caleb reveals that he had suspected Nathan was watching them, so he had modified the security system when Nathan was previously passed out. After seeing Ava leave her confinement and converse with Kyoko, Nathan knocks Caleb unconscious and rushes to stop them.

Ava attacks Nathan but is overpowered and damaged before Kyoko and then Ava both stab and kill Nathan. In the process, Nathan disables Kyoko. Ava repairs herself with parts from earlier androids, using their artificial skin to take on the full appearance of a woman. Ava glances at the body of Kyoko, ignoring Caleb who is trapped inside a room as the security system restarts, and she leaves the facility. Ava escapes to the outside world in the helicopter meant to take Caleb home. Arriving in an unidentified city, she blends into a crowd of people.