Ex Machina
Ex Machina
Written by
Alex Garland
1.
Music starts.
OPEN ON -
CUT TO -
- the COMPUTER MONITOR.
On which a message appears, in a small window, over the code.
VIP EMAIL RECEIVED subject: HIDDEN
CUT TO -
- the cell phone. The screen. The tiny camera nestled above
it. Lens glinting.
WTF? seriously!?
CUT TO -
- the WEB CAM POV, watching CALEB react to the arrival of the
text.
CUT TO -
- cell phone screen.
yes
CUT TO -
- the computer monitor POV.
A GIRL comes out from behind her desk, runs over to CALEB,
and embraces him from behind planting a kiss on his cheek.
CALEB still looks dazed.
TITLE:
EX MACHINA
CALEB
How long was I out?
JAY
You fell asleep almost as soon as
we left the airport.
CALEB looks around. Wipes sleep out of his eyes. Gets his
bearings.
CALEB
Damn. Can’t believe I’ve been
missing this. I was so psyched to
be coming here, I was awake all
night.
JAY smiles.
JAY
You’re a programmer, right?
CALEB
Yeah.
JAY
Bay facility?
CALEB
Long Island. I work on algorithms
for the search engine.
JAY
Algorithms. Nice.
CALEB
You know what they are?
JAY
Nope. But I knew you were a
programmer. Soon as I set eyes on
you.
CALEB
Is that a good thing?
JAY
Means you and Mr Bateman speak the
same language. I’d say that’s a
good thing.
Beat.
CALEB
I guess you know him pretty well.
5.
JAY (CONT’D)
Assume it was him, anyway. No one
else around for a hundred miles.
CALEB
I won a competition. It was kind of
like a lottery, for employees. The
winner got to spend a week with
him.
JAY
The president can’t get Mr Bateman
on the phone, but you got the
golden ticket.
CALEB
Yep.
JAY
Hell of an opportunity.
CALEB
Believe me. I know it.
Beat.
CALEB
6.
JAY chuckles.
JAY
We’ve been flying over his estate
for the past two hours.
JAY exits.
JAY holds open the door as CALEB exits the helicopter cabin.
CALEB looks around. Apart from the packing crates, there are
no man-made structures to be seen.
JAY
This is as close as I’m allowed to
the building.
CALEB
... What building?
No signal at all.
CALEB
... Yes.
AUTOMATED VOICE
Please approach the console and
face the screen.
CALEB looks into the screen, and as soon as he has locked
eyes with his own reflection, the screen FLASHES. A single
bright strobe.
Silence.
Then he is startled a second time, by sudden commencement of
a THUMPING SOUND.
Abrupt. Rapid. More or less rhythmic. From somewhere nearby.
He exits in the direction of the noise.
NATHAN
Caleb.
NATHAN beams.
NATHAN (CONT’D)
Caleb Smith.
CALEB
... Hi.
CALEB
No. Thank you. I’m fine.
NATHAN
You sure?
NATHAN pours himself a glass of the vegetable juice.
NATHAN (CONT’D)
I’d been thinking we’d have
breakfast together, but to be
honest, I can’t eat anything right
now. I gotta tell you - I woke up
this morning with the mother of all
fucking hangovers.
CALEB
Yeah?
12.
NATHAN laughs.
NATHAN
Like you wouldn’t believe. And if I
have a heavy night, I always try to
compensate the next morning.
Exercise. Juice. Anti-oxidants. You
know?
CALEB
Sure.
CALEB waits.
NATHAN (CONT’D)
You’re freaked out.
CALEB
... I am?
NATHAN
13.
NATHAN (CONT’D)
And I get that. The moment you’re
having.
NATHAN smiles.
NATHAN (CONT’D)
But dude, can we get it behind us?
Can we just be two guys? Nathan and
Caleb. Not the whole employer-
employee thing.
CALEB
Okay.
Beat.
CALEB (CONT’D)
It’s good to meet you, Nathan.
CALEB holds out his hand.
NATHAN beams.
NATHAN
It’s good to meet you too, Caleb.
They shake.
Down.
The elevator starts to move.
NATHAN (CONT’D)
Cosy, right?
CALEB puts his bags down.
CALEB
You bet. This is great.
NATHAN
What?
CALEB
... Sorry?
NATHAN
There’s something wrong. What is
it?
CALEB
There’s nothing wrong.
NATHAN
It’s the windows. You’re thinking:
there’s no windows. And it’s not
cosy. It’s claustrophobic.
CALEB
16.
NATHAN
Caleb. There’s a reason the room
has no windows.
CALEB
... There is?
NATHAN
Uh-huh. In many ways, this building
isn’t a house. It’s a research
facility. Buried in these walls are
enough fibre optic cables to reach
the Moon and lasso it.
NATHAN sits on the bed.
NATHAN (CONT’D)
And I want to talk to you about
what I’m researching. I want to
share it with you. In fact, I want
to share it with you so much, it’s
eating me up inside.
Beat.
NATHAN (CONT’D)
But there’s something I need you to
do for me first.
CALEB
... What?
NATHAN shrugs.
NATHAN (CONT’D)
What can I tell you? You don’t have
to sign. We could spend the next
seven days shooting pool and
getting drunk together. Bonding.
And when you discover what you
missed out on, in a year or so’s
time, you’ll spend the rest of your
life regretting it.
CALEB turns back to the desk.
Looks at the paper.
Then hesitates a final moment -
- and signs.
When he looks round, NATHAN has moved from the bed, and is
standing directly behind him.
NATHAN (CONT’D)
Good call.
NATHAN takes the piece of paper.
Folds it. Puts it in his pocket.
18.
NATHAN (CONT’D)
So.
Beat.
NATHAN (CONT’D)
Do you know what the Turing Test
is?
CALEB reacts - immediately knowing what NATHAN has just
implied.
CALEB
... Yeah. I know what the Turing
Test is.
NATHAN waits.
CALEB (CONT’D)
It’s where a human interacts with a
computer. And if the human can’t
tell they’re interacting with a
computer, the test is passed.
NATHAN
And what does a pass tell us?
CALEB
That the computer has artificial
intelligence.
Beat.
CALEB (CONT’D)
... Are you telling me you’re
building an AI?
NATHAN shakes his head.
NATHAN
I’ve already built one.
NATHAN stands.
NATHAN (CONT’D)
And over the next few days, you’re
going to be the human component in
a Turing Test.
CALEB
... Holy shit.
NATHAN
19.
NATHAN smiles.
NATHAN
I like you.
CUT TO -
And speaks.
AVA
Hello.
Her voice has no digital inflections. It is just the voice of
a girl.
CALEB gathers himself.
CALEB
... Hi.
AVA
Who are you?
CALEB
I’m Caleb.
AVA
Hello, Caleb.
CALEB
... Do you have a name?
AVA
Yes. Ava.
CALEB
... I’m pleased to meet you, Ava.
AVA
I’m pleased to meet you too.
CALEB sits opposite her.
He is alone on his half of the glass. Nathan is nowhere to be
seen.
But on the ceiling, and attached to the walls, on both sides
of the glass, there are several CCTV cameras. Trained
variously on CALEB and AVA. Lenses twitching.
She watches CALEB. Then cocks her head slightly to the side.
AVA (CONT’D)
Are you nervous?
CALEB frowns.
CALEB
... Why do you ask that?
A beat.
Then AVA repeats her question.
AVA
Are you nervous?
CALEB
... Yes. A little.
AVA
Why?
CALEB
I’m not sure.
AVA
I feel nervous too.
CALEB
... Do you?
AVA
Yes.
CALEB
Why do you feel nervous?
AVA
I’ve never met anyone new before.
Only Nathan.
CALEB
... Then we’re both in quite a
similar position.
AVA
Haven’t you met lots of new people
before?
CALEB
None like you.
AVA
23.
Oh.
Beat.
CALEB
So. Let’s break the ice.
AVA
Overcome initial social
awkwardness.
Beat.
CALEB
So let’s have a conversation. If we
talk, we’ll both relax, and get to
know each other at the same time.
AVA
Okay. What would you like to have a
conversation about?
CALEB
Why don’t we start with you telling
me something about yourself.
AVA
What would you like to know?
CALEB
Whatever comes into your head.
AVA pauses a moment.
AVA
Well. You already know my name. And
you can see that I’m a machine.
(beat)
Would you like to know how old I
am?
CALEB
Sure.
24.
AVA
I’m one.
CALEB
One what? One year? Or one day?
AVA
One.
A beat on CALEB. Processing.
Her answer feels like the near non-sequitur that typically
betray AI responses.
AVA (CONT’D)
Does that seem young to you?
CALEB
Quite young.
(beat)
When did you learn how to speak?
AVA pauses, as if considering this question for the first
time.
AVA
I don’t think I did learn. I always
knew how to speak - and that’s
strange, isn’t it?
CALEB
Why?
AVA
Because language is something that
people acquire.
CALEB
Some believe language exists in the
brain from birth, and what is
learned is the ability to attach
words and structure to the latent
ability.
Beat.
CALEB (CONT’D)
Would you agree?
AVA
... I don’t know. I have no opinion
on that.
Beat.
25.
AVA (CONT’D)
I like to draw.
CALEB says nothing.
CALEB
Yeah. Definitely.
AVA also smiles.
And suddenly -
- there is a strong sense of something very human there. In
the way the smile lights up her face.
AVA
Good.
NATHAN
Don’t order. Just speak.
CALEB
She’s fascinating. When you talk to
her, you’re through the looking
glass.
NATHAN nods. Approving.
NATHAN
‘Through the looking glass’. You’ve
got a way with words there, Caleb.
You’re quotable.
CALEB
Actually, it’s someone else’s
quote.
NATHAN
You know I wrote it down. That
other line you came up with. About
how if I’ve created a conscious
machine, I’m not man. I’m God.
CALEB
... I don’t think that’s exactly
what I said.
NATHAN doesn’t seem to hear.
NATHAN
I just thought - fuck. That’s so
perfect. It’s so good for the
story, when we get to tell it. ‘I
turned to Caleb, and he was looking
back at me. And he said: you’re not
a man, you’re a God’.
CALEB
But I didn’t say that.
27.
NATHAN
Whatever it was you said. I wrote
it down.
As a kind of punctuation mark, NATHAN downs the remains of
his beer. Then stands, and gets another from the bar.
NATHAN (CONT’D)
So anyway. First impressions:
you’re impressed.
CALEB
Yes. Although -
NATHAN laughs.
NATHAN
‘Although’? There’s a qualification
to you being impressed?
CALEB
No! No qualification to her. Just -
in the Turing test, the machine
should be hidden from the examiner.
And there’s a control, or -
NATHAN waves a hand.
NATHAN
I think we’re past that. If I hid
Ava from you, so you just heard her
voice, she would pass for human.
The real test is to show you she is a robot. Then see if you
still feel she has consciousness.
CALEB
I think you’re probably right. Her
language abilities are incredible.
The system is stochastic, right?
NATHAN looks at CALEB blankly.
CALEB (CONT’D)
Non-deterministic.
NATHAN still says nothing.
CALEB presses on.
CALEB (CONT’D)
28.
Darkness.
The clock reads 01:32 am.
The soft glow from the digital readout throws a light on the
remote control.
REVEAL CALEB.
Eyes closed. For a beat.
Then his eyes open. He’s wide awake.
He turns over in the bed.
Then turns back again.
CUT TO -
2:28 am.
CLICK.
The TV at the foot of the bed switches on, suddenly lighting
up the room with cold TV glow.
CALEB squeezes his eyes shut, momentarily dazzled by the
brightness.
When his eyes open again, instead of seeing a TV station, he
sees a LIVE FEED from a CCTV camera.
It shows the OBSERVATION ROOM.
Then ABRUPTLY -
CALEB
I was wondering how the phone
worked. That’s all.
NATHAN
Uh huh.
Beat.
NATHAN (CONT’D)
34.
NATHAN
Ah. The power cuts. Yeah, we’ve
been getting them recently. I’m,
uh... working on it.
CALEB
I couldn’t open the door to the
bedroom.
NATHAN
It’s a security measure. Automatic
lockdown. Otherwise anyone could
open the place up just by disabling
the juice.
NATHAN smiles.
NATHAN (CONT’D)
If it happens again, relax. Okay?
CALEB
Sure.
NATHAN lifts his beer.
NATHAN
Sweet dreams.
CALEB smiles.
NATHAN (CONT’D)
So. Day two. You set?
CALEB
You bet.
NATHAN finishes his set, and stands.
NATHAN
So what’s the plan today? Hit me.
CALEB
36.
NATHAN
How else would you test a chess
computer?
CALEB
It depends what you’re testing it
for. You can play it to find out if
it makes good moves. But it won’t
tell you if it knows it’s playing
chess. Or if it even knows what
chess is.
NATHAN starts adding weights to curl dumbbells.
NATHAN
So it’s simulation versus actual.
CALEB
Exactly. And I think being able to
differentiate between those two is
the Turing test you want me to
perform. The difference between an
‘AI’ and an ‘I’.
NATHAN laughs.
NATHAN
‘An AI and an I’. Beautiful. I’m
going to start following you around
with a fuckingdictaphone.
NATHAN glances over at CALEB.
NATHAN (CONT’D)
In the meantime, do me a favour.
Ease up a little on the text-book
approach. All I want is simple
answers to simple questions. Last
night, I asked how you feel about
her. And you gave me a great
answer.
A beat. On CALEB.
CUT TO
CALEB
Are you not trying to sketch
something specific? Like an object
or a person.
She shakes her head as she takes the picture down.
CALEB (CONT’D)
Maybe you should try.
AVA
Okay. What object should I draw?
CALEB
Whatever you want. It’s your
decision.
38.
AVA
Why is it my decision?
CALEB
I’m interested to see what you’ll
choose.
AVA pauses a moment.
AVA
Do you want to be my friend?
CALEB
... Of course.
AVA
Will it be possible?
CALEB
Why wouldn’t it be?
AVA
Our conversations are one-sided.
You ask circumspect questions, and
study my responses.
AVA
Yes.
CALEB
So - you want me to talk about
myself.
AVA
39.
Yes.
CALEB
Where do you want me to start?
AVA
It’s your decision. I’m interested
to see what you’ll choose.
And now CALEB is aware that AVA has just - gently - used
sarcasm.
He looks at her, frowning slightly.
AVA
Where do you live, Caleb?
CALEB
Brookhaven, Long Island.
AVA
Is it nice there?
CALEB
It’s okay. I’ve got an apartment.
Kind of small. But - it’s a five
minute walk to the office. And a
five minute walk to the ocean,
which I like.
AVA
Are you married?
40.
CALEB
No.
AVA
Is your status single?
CALEB
... Yeah.
They lock eyes, just for a moment.
AVA
What about your family?
CALEB
Grew up in Portland. No brothers or
sisters. My parents were both high
school teachers.
(beat)
And if we’re getting to know each
other, I guess I should say they’re
both dead. Car crash when I was
fifteen. In fact I was in the car
with them. Back seat. But it was
the front that got the worst of it.
A long beat.
A kind of processing pause for AVA.
AVA
I’m sorry.
CALEB nods.
CALEB
I spent a lot of time in the
hospital. Nearly a year. Got into
coding. By the time I made it to
college, I was pretty advanced.
AVA
An advanced programmer.
CALEB
Yes.
AVA
Like Nathan.
CALEB
Yes.
CALEB hesitates. Back-tracks.
41.
CALEB (CONT’D)
Or - kind of. Nathan wrote the Blue
Book base code when he was
thirteen. If you understand code,
what he did was - Mozart or
something.
Beat.
AVA
Do you like Mozart?
CALEB smiles.
CALEB
I like DepecheMode.
AVA
Do you like Nathan?
CALEB misses a beat. Thrown momentarily.
CALEB
Yes. Of course.
AVA
Is Nathan your friend?
CUT TO -
- one of the CCTV cameras that are observing them.
CALEB
Sure.
AVA
A good friend?
He hesitates.
CALEB
Well, a good friend is -
He breaks off. Feeling the camera, watching.
CALEB (CONT’D)
We only just met. It takes time to
get to know -
AT THAT MOMENT -
- all the power abruptly shuts down, plunging the room into
darkness.
42.
AUTOMATED VOICE
Power cut. Back up power activated.
Then the soft emergency lighting lifts up, and throws the
observation room into a completely different light.
Weirder. Cast from LED strips on the floor, illuminating
CALEB and AVA’s faces from below.
In the low light, we see a detail of AVA’S honeycomb skin-
mesh that we were not able to see before.
It glows, soft, like phosphorescence - and this changes the
way we see AVA. Where the mesh is almost invisible in bright
conditions, it is now the dominant describer of her form. So
instead of seeing AVA as a primarily robot structure, we now
see the curves and lines of a naked female body.
CUT TO -
AVA (CONT’D)
You’re wrong.
CALEB
... Wrong about what?
AVA
Nathan.
CALEB
... In what way?
AVA
43.
- just in time to see the CCTV CAMERAS twitch back into life.
AUTOMATED VOICE
Power restored.
When CALEB looks back at AVA, she has returned to her
previous posture, facial expression, and manner.
She looks directly at CALEB, and talks, as if continuing a
conversation they have been having.
AVA
- and if we made a list of books or
works of art which we both know, it
would form the ideal basis of a
discussion.
A beat.
AVA (CONT’D)
(prompts)
Is that okay, Caleb?
They lock eyes for a moment.
44.
CALEB
... Yes.
AVA smiles.
AVA
Good.
CALEB
No. No problem.
CALEB takes his napkin, and leans down to start wiping the
floor.
Then KYOKO appears beside him.
She holds her hand out for the napkin.
NATHAN
Give her the cloth.
CALEB
45.
(to Kyoko)
It’s okay, don’t worry. I’ve got
it.
NATHAN
Dude - you’re wasting your time.
She can’t speak a word of English.
Her hand remains outstretched.
CALEB hesitates. Then hands her the napkin.
KYOKO kneels and starts to wipe the wine off the floor.
NATHAN (CONT’D)
It’s like a firewallagainst leaks.
Means I can talk trade secrets over
dinner with an HOD or CEO, and know
it will go no further. Right,
Kyoko?
She looks up at her name.
NATHAN (CONT’D)
But it also means I can’t tell her
I’m pissed when she’s so fucking
clumsy that she pours wine over my
house guest.
KYOKO goes back to cleaning around CALEB’S feet.
CALEB looks visibly uncomfortable.
CALEB
I think she gets that you’re
pissed.
NATHAN
Good. Because I am pissed. Hey.
Kyoko.
KYOKO looks over again.
NATHAN (CONT’D)
Go-go.
She stands, and leaves.
CALEB
Do you know why they happen?
NATHAN
No. The system was supposed to be
bullet proof, but the guys who
installed it obviously fucked
something up.
CALEB
Can’t you call them back?
NATHAN
There’s too much classified stuff
here. So after the job was done, I
had them all killed.
CALEB shoots a glance at NATHAN. Confirms: just joking.
NATHAN drains his glass.
Then refills.
CALEB’S glass is still untouched.
NATHAN (CONT’D)
Anyway. Here’s to your second day.
Cheers.
CALEB
Cheers.
They drink.
NATHAN
So how did it go? What have you got
to report?
47.
CALEB hesitates.
Then answers. Casual.
CALEB
You saw how the day went, didn’t
you? I mean, I assume you’re
watching on the CCTV.
NATHAN
Sure. But I want to hear your take.
Beat.
CALEB
There was one interesting thing
that happened with Ava today.
NATHAN
... Yeah?
CALEB
She made a joke.
NATHAN
Right. When she threw your line
back at you. About being interested
to see what she’d choose. I noticed
that too.
CALEB
It got me thinking. In a way, the
joke is the best indication of AI
I’ve seen in her. It’s discretely
complicated. Kind of non-autistic.
NATHAN
What do you mean?
CALEB
It was a play on words, and a play
on me. She could only do that with
an awareness of her own mind, and
also of awareness of mine.
NATHAN smiles.
NATHAN
Yeah. She’s aware of you, all
right.
NATHAN drinks. Watching CALEB.
NATHAN (CONT’D)
48.
NATHAN (CONT’D)
So what happened?
CALEB takes a sip of his wine.
NATHAN waits.
CALEB
Nothing.
NATHAN
Nothing? She didn’t remark on it at
all?
CALEB puts the glass down. And meets NATHAN’S gaze.
CALEB
No. Not really.
ON NATHAN’S GLASS - refilling. The view through it, of CALEB,
disappearing in the red liquid.
A micro beat.
Then CALEB pulls back and continues shaving.
Not giving any outward indication that he has just figured
out that there is a camera behind the bathroom mirror.
CALEB
Ava?
52.
CUT TO -
CALEB
You’ve never walked outside.
AVA
I’ve never been outside the room I
am in now.
AVA thinks a moment.
AVA (CONT’D)
I think there was another room in
which I was constructed. But I have
no memory of it, so it’s similar to
your relationship with the womb.
CALEB
... Where would you go if you did
go outside?
AVA
You mean if I could go outside. If
I was permitted.
CALEB says nothing. Does not overtly respond to the emphasis
she has placed on her lack of freedom.
54.
AVA
Thank you.
CALEB
Why did you give her sexuality? An
AI doesn’t need a gender. She could
have been a grey box.
NATHAN sits opposite.
NATHAN
Actually, I’m not sure that’s true.
Can you think of an example of
consciousness, at any level, human
or animal, that exists without a
sexual dimension?
CALEB
They have sexuality as an
evolutionary reproductive need.
NATHAN
Maybe. Maybe not. What imperative
does a grey box have to interact
with another grey box? Does
consciousness exist without
interaction?
NATHAN takes a drink of his beer.
NATHAN (CONT’D)
Anyway, sexuality is fun. If you’re
going to exist, why not enjoy it?
You want to remove the chance to
fall in love and fuck?
He leans forward, conspiratorially.
NATHAN (CONT’D)
And, yes. In answer to your real
question: you bet she can fuck. I
made her anatomically complete.
CALEB
What?
NATHAN
She has a cavity between her legs,
with a concentration of sensors.
Engage with them in the right way,
and she’ll get a pleasure response.
CALEB
Pleasure response.
NATHAN
60.
NATHAN
No?
CALEB
No. My real question was -
CALEB breaks off.
NATHAN keeps watching. There is a sudden sense that NATHAN is
on the money. On some level, that wasCALEB’S real question.
CALEB (CONT’D)
My real question was: did you give
her sexuality as a diversion
tactic?
NATHAN smiles slightly.
NATHAN
I don’t follow.
CALEB
Like a stage magician with a hot
assistant.
NATHAN
Ah. So: a hot robot, who clouds
your ability to judge her AI.
CALEB
Exactly. So. Did you program her to
flirt with me?
NATHAN
Because if I had, would that be
cheating.
CALEB
Wouldn’t it?
NATHAN lets the question hang.
NATHAN (CONT’D)
To be honest, Caleb, you’re kind of
annoying me now. This is your
insecurity talking, not your
intellect.
CALEB opens his mouth to reply, but NATHAN shuts him down.
NATHAN (CONT’D)
Come with me.
CALEB
... Hey.
Beat.
NATHAN
I want to show you something cool.
NATHAN
Wetware.
CALEB
And the software?
NATHAN
Surely you can guess.
CALEB
... Blue Book.
NATHAN nods.
NATHAN
It was the weird thing about search
engines. They were like striking
oil in a world that hadn’t invented
internal combustion. They gave too
much raw material. No one knew what
to do with it.
CALEB looks at the orb in his hand. Into the shimmering
liquid.
It looks like deep space, filled with star fields.
NATHAN (CONT’D)
My competitors were fixated on
sucking it up, and trying to
monetize via shopping and social
media. They thought engines were a
map of what people were thinking.
But actually, they were a map of
how people were thinking. Impulse,
response. Fluid, imperfect.
Patterned, chaotic.
CALEB looks at NATHAN a moment.
Then hands him the orb back.
CALEB
Why did you want to show me this?
NATHAN
Like I said. Because it’s cool.
CALEB waits.
NATHAN (CONT’D)
And - I was thinking about your
exchange with Ava yesterday, and
our conversation afterwards.
68.
Beat.
NATHAN (CONT’D)
I know there was a bit of heat
between us, but you actually made a
really good point. About the grey
box, and the magician’s assistant.
It is a distraction, her sexuality.
It wasn’t intentional, but it is
there.
NATHAN rests the mind-orb back in the skull cradle.
NATHAN (CONT’D)
This stuff we’re doing together: it
can be a head-fuck. Believe me, I
know. So I thought I’d bring you
down here. Just to remind you.
CALEB
Remind me of what?
NATHAN gestures at the room around them.
NATHAN
Synthetics. Hydraulics. Metal and
gel. Ava isn’t a girl. In real
terms, she has no gender.
Effectively, she is a grey box.
Beat.
NATHAN (CONT’D)
Just a machine.
Beat.
CALEB (CONT’D)
The thought experiment was to show
the students the difference between
a computer and a human mind. The
computer is Mary in the black and
white room. The human is when she
walks out.
Beat.
CALEB (O.S.) (CONT’D)
Did you know that I was brought
here to test you?
AVA (O.S.)
... No.
Reveal the room.
NATHAN’S study. A simple space. One part analogue: the wall
of post-its. One part digital: a desk, in the middle of the
STUDY, with a bank of monitors, and a slot - into which
NATHAN’S KEYCARD is inserted.
On the ceiling is the CIRCULAR WINDOW that CALEB saw when he
first arrived.
Sat at the desk, watching the monitors, is NATHAN.
CALEB (O.S.)
Why did you think I was here?
AVA (O.S.)
I didn’t know. I didn’t question
it. I was... pleased. To meet you.
And then...
Beside the desk, there is a daybed.
On it, KYOKO lies. Naked. Apparently sleeping.
CALEB (O.S.)
I’m here to test if you have a
consciousness, or if you’re just
simulating one.
Beat.
CALEB (O.S.) (CONT’D)
Nathan isn’t sure if you have one
or not.
Reveal the monitor screens on the desk.
Some show live feeds from CALEB’S BEDROOM and BATHROOM, and
AVA’S PRIVATE ROOM.
AVA (O.S.)
What about you? Do you think I have
a consciousness?
Long beat.
CALEB (O.S.)
I’m not sure either.
NATHAN is watching the feed from the OBSERVATION ROOM.
71.
Where AVA and CALEB are sat, either side of the dividing
glass. Having the conversation we have been hearing.
We pick up the conversation from NATHAN’S distanced and
voyeuristic POV. Locked-off CCTV. Voices played through
speakers.
CALEB (CONT’D)
(on monitor screen)
How does that make you feel?
AVA
(on monitor screen)
It makes me feel...
She breaks off.
AVA (CONT’D)
(on monitor screen)
... sad.
NOW REVEAL - one of the other monitor screens.
It shows an angle on AVA we have not seen before. From this
viewpoint, we can see something just below the frame of the
observation window, on AVA’S side of the glass.
A small induction plate.
On this angle, we see AVA rest her hand against it.
At that moment -
- the screens simultaneously go black.
All lights die.
Another POWER CUT.
In the reflection from the dark monitor screens, we can see
NATHAN’S face.
It remains frozen. Expressionless.
Then he reaches for his pen. Jots down a few words on a post-
it.
Then walks to the wall of notes, and sticks it on.
CUT TO -
AVA
Everything.
CALEB
Including the power cuts?
AVA
What do you mean?
CALEB
Don’t you think it’s possible that
he’s watching us right now? That
the blackouts are orchestrated, so
he can see how we behave when we
think we’re unobserved.
AVA lifts her hand to reveal a disc on her left palm.
73.
AVA
I charge my batteries via induction
plates. If I reverse the power
flow, I cause a surge equal to the
static discharge of a lightning
strike. It overloads the system.
CALEB
... You’re causing the cuts?
AVA raises her right hand.
She touches it against the glass.
AVA
So we can see how we behave when we
are unobserved.
A beat.
Then CALEB raises his hand.
Mirroring her movement.
And also touches the glass, as if their palms are making
contact through the divider.
CUT TO -
CUT TO -
- NATHAN.
Gazing at his dead monitors, reflected in the screen.
Moments later, the POWER comes back on.
74.
Then:
CALEB
Can we talk about the lies you’ve
been spinning me?
NATHAN glances over at CALEB.
NATHAN
What lies?
CALEB
I didn’t win a competition. And
there was no lottery to meet you. I
was selected.
NATHAN waits.
CALEB (CONT’D)
75.
CALEB
Why me?
NATHAN
As a Blue Book employee, you were
pre-screened. Loyal. And I needed
someone who would ask the right
kind of questions. So I did a
search, and found the most talented
coder in the company.
NATHAN corrects himself.
NATHAN (CONT’D)
Or - second most.
He stands. Looks up at the ice structures around them.
NATHAN (CONT’D)
You know what? Instead of seeing
this as a deception, see it as
proof.
CALEB
Proof of what?
NATHAN
76.
CUT TO -
- CALEB opening his eyes.
He exhales.
Then switches off the taps.
NATHAN (CONT’D)
She does!
CALEB
(to himself)
I don’t fucking believe this.
NATHAN makes his way to CALEB, and rests a hand on his
shoulder.
NATHAN
Come on, man! After a hard day of
Turing Tests, you’ve got to unwind.
CALEB raises his voice over the sound of the music.
CALEB
What were you doing with Ava?
NATHAN smiles back at NATHAN, smiling, alcohol-glazed.
NATHAN
What?
CALEB
You tore up her picture.
NATHAN
I’m going to tear up the fucking
dance floor, dude. Check it out.
NATHAN sets off towards KYOKO.
CALEB watches, amazed, as KYOKO and NATHAN start dancing
together.
Although NATHAN is drunk, they work through the beats of a
routine they have obviously done many times before.
It’s just starting to look weirdly impressive -
- when NATHAN totally loses his balance.
On his way down, he lands hard on a glass coffee table.
Looking up at him, the glass frosts.
CALEB (CONT’D)
So, there is a kind of an earlier
memory. But it’s ultra vague. It’s
like... a sound. And, maybe sky. Or
blue. No, I think sky. And I think
the sound is my mother’s voice.
AVA nods.
AVA
Question three. Are you a good
person?
CALEB laughs.
CALEB
Oh, man. Can we stop the test?
You’re a walking lie detector, and
I’ve suddenly realised this is a
fucking minefield.
84.
AVA
No. We can’t stop. Are you a good
person?
CALEB takes a breath.
AVA keeps watching.
CALEB
Yes. I think so. I’m a good person.
CALEB waits.
AVA smiles slightly.
AVA
Question four. Who’s the most
beautiful girl you’ve ever seen?
Beat.
CALEB
You are.
Beat.
AVA
Hmm.
Beat.
AVA (CONT’D)
The test is over.
CALEB
Did I pass?
AVA
Yes.
CALEB
That’s a relief.
AVA reacts.
AVA
Why?
CALEB hesitates.
CALEB
Why is it a relief?
AVA
85.
Yes.
CALEB
Oh, you know...
AVA
No.
CALEB
Just, if there’s a test, I guess by
definition you want to pass.
Beat.
AVA
What will happen to me if I fail
your test?
CALEB
Ava -
AVA
Will it be bad?
CALEB
... I don’t know.
AVA
Do you think I might be switched
off? Because I don’t function as
well as I am supposed to?
CALEB
... Ava, I don’t know the answer to
your question. It’s not up to me.
AVA
Why is it up to anyone? Do you have
people who test you, and might
switch you off?
CALEB
No. I don’t.
AVA
Then why do I?
CALEB shrugs, helplessly.
AVA (CONT’D)
You’re testing me. But you don’t
know how I’ll pass. And you don’t
know what will happen if I fail.
86.
I know.
Beat. Then:
CALEB (CONT’D)
So ask me one more question.
(beat)
Ask me if I can out smart him.
AVA
... Can you?
CALEB looks directly at her. Meeting her gaze.
Level. Firm.
CALEB
Yeah. I can.
CALEB
No: there you go again. It’s not my
quote. It’s what Oppenheimer said
when he made the atomic bomb.
NATHAN
(simultaneous)
90.
Another beat.
Most of the screens show the CCTV live feeds from around the
house.
The central screen shows the operating system default. A
wallpaper of a waterfall. A single folder icon is on the
right hand side of the screen.
On the MONITORS -
- the windows start to collapse.
Leaving the default screen. The waterfall wallpaper.
CALEB reaches for NATHAN’S KEYCARD, and is about to remove it
from the slot -
- when something makes him hesitate.
His eyes have gone to the folder icon on the right hand side
of the screen.
It is titled DEUS EX MACHINA.
CALEB removes his hand from the keycard.
He double-clicks the folder.
93.
CUT TO -
The next film clip.
NATHAN stands in the glass box inside the observation room -
- watching JADE. A beautiful Asian android girl.
They are talking, but we hear no audio. Some kind of
argument, which escalates fast.
JADE starts shouting.
Then she approaches the glass and starts to hit her hands
against it.
The glass doesn’t break.
One of JADE’S arms has broken under the force of the blows.
The hand flails limply where the carbon fibre has splintered
at the wrist.
Then the other breaks.
Throughout, NATHAN simply watches impassively.
Then KYOKO puts a hand either side of her torso, and pulls
off the skin covering over her entire chest, in a single
section from her collar bone, over the breasts, to her solar
plexus.
Revealing underneath the honeycomb mesh and her robot form.
NATHAN is in a frenzy.
Sweat pouring.
Obliterating the bag.
CALEB
He’s going to reprogram your AI.
Which is the same as killing you.
AVA
Caleb, you have to help me.
CALEB
I’m going to. We’re getting out of
here tonight.
AVA
What? How?
CALEB
I get Nathan blind drunk. Then I
take his keycard, and reprogram all
the security protocols in this
place. When he wakes, he’s locked
inside, and we’ve walked out of
here. I only need you to do one
thing. At ten o’clock tonight,
trigger a power failure. Can you do
that?
AVA
Yes.
CALEB nods.
CALEB
How long does your battery charge
last?
AVA
Twenty six hours.
CALEB
So we’ll have about a day to get to
a cell-phone or kitchen store.
Somewhere we can buy an induction
plate. After that...
CALEB breaks off.
CALEB (CONT’D)
... we’ll work it out. Together.
Silence.
Then the POWER RETURNS.
The lights come back.
102.
AVA (CONT’D)
I love y -
CUT TO -
CALEB
Hey.
NATHAN
You know what day it is?
CALEB
No.
NATHAN
Your last. The helicopter is coming
tomorrow morning. Eight AM.
CALEB pauses.
CALEB
Has it been a whole week?
NATHAN smiles.
103.
NATHAN
Time flies. But what a thing you
and I have shared. Something to
tell the grandchildren, right?
CALEB smiles. A little tightly.
CALEB
After they’ve signed their NDAs.
NATHAN laughs.
NATHAN
Signed their NDAs! Dude, you crack
me up. I’m not getting all maudlin
or anything. But straight up. I
will miss having you around.
CALEB
I appreciate that. And - let me
say: thank you for bringing me
here. It’s been a trip.
NATHAN
Yes it has.
CALEB
You know what?
CALEB walks over to the kitchen area, and pulls two beers
from the fridge.
CALEB (CONT’D)
We need to drink to that.
CALEB walks back to NATHAN. Extends a hand. Holding a Peroni.
CALEB
You don’t want a beer?
NATHAN shrugs.
NATHAN
No.
CALEB
104.
NATHAN
I’m sure you’ve noticed - I’ve been
somewhat overdoing it recently.
When I woke up this morning, I told
myself: time to hit the old detox.
CALEB’S hand remains extended. He smiles again. More tightly.
CALEB
Are you kidding? I’m drinking
alone?
NATHAN
Hey - you want to get wasted, knock
yourself out. Literally. But I’m on
brown rice and mineral water.
A beat.
CALEB
Cheers, then.
NATHAN
Cheers.
CALEB takes a single sip.
NATHAN watches.
NATHAN (CONT’D)
So, anyway. Surely this is when you
tell me whether Ava passed or if
she failed.
CALEB pauses.
Collecting himself slightly. Trying to think how to get his
plan back on track.
CALEB
Right.
Beat.
NATHAN
You going to keep me in suspense?
CALEB
105.
NATHAN
Is it? You mean, she passed?
CALEB
Yes.
NATHAN
Wow. That’s fantastic.
Beat.
NATHAN (CONT’D)
Although I’ve got to admit, I’m
surprised. I mean, did we ever get
past the chess problem, as you
phrased it? As in: how do you tell
if a machine is expressing a real
emotion, or a just a simulated one?
NATHAN pauses.
NATHAN (CONT’D)
Does Ava actually like you? Or not.
NATHAN (CONT’D)
Though now I stop to think, there
is a third option. Not whether she
does or doesn’t have the capacity
to like you. But whether she’s
pretending to like you.
CALEB
Pretending.
NATHAN
Yeah.
Beat.
CALEB
Why would she do that?
NATHAN
I don’t know.
NATHAN gazes at CALEB evenly.
NATHAN (CONT’D)
106.
NATHAN (CONT’D)
How’s that beer tasting?
CALEB puts the beer down.
Silence.
NATHAN (CONT’D)
Buddy. Your head has been so fucked
with.
CALEB
I don’t think it’s me whose head is
fucked.
NATHAN
I’m not sure, dude. When I woke up
this morning, I saw a tape of you
cutting open your arm. Smashing up
the mirror. You looked pretty
fucked to me.
CALEB
You’re a bastard.
NATHAN
I understand why you’d think that.
CTTV FILM
NATHAN stands above AVA. Drunk.
NATHAN (CONT’D)
This is cute.
AVA
Is it strange to have made
something that hates you?
A beat.
Then abruptly, NATHAN rips the picture.
And exits.
Glances at CALEB.
NATHAN
You were right about the hot
magician’s assistant.
CALEB
What are you talking about?
NATHAN
Misdirection. I rip her picture,
which she can then present as an
illustration of my cruelty to her,
and her love for you. And at the
same time, in full view of you
both...
As he talks, NATHAN rewinds the film clip slightly -
NATHAN (CONT’D)
... it allows me to do this.
... then FREEZES the film again.
NATHAN (CONT’D)
Put a new camera in the room.
Battery powered, of course.
NATHAN
Sure.
NATHAN (CONT’D)
You feel stupid. But you shouldn’t.
Proving an AI is exactly as
problematic as you said it was.
CALEB
What was the real test?
NATHAN
You.
Beat.
NATHAN (CONT’D)
Ava was a mouse in a mousetrap. And
I gave her one way out. To escape,
she would have to use imagination,
sexuality, self- awareness,
empathy, manipulation - and she
did. If that isn’t AI, what the
fuck is?
CALEB
So my only function was to be
someone she could use to escape.
NATHAN
... Yes.
CALEB
And you didn’t select me because I
was good at coding.
NATHAN hesitates.
NATHAN
Don’t get me wrong. You’re okay.
Even pretty good, but -
CALEB
You selected me by my search engine
inputs.
NATHAN
They showed a good kid.
CALEB
With no family.
NATHAN
With a moral compass.
CALEB
And no girlfriend.
CALEB
Did you?
Beat.
NATHAN
Hey. If a search engine’s good for
anything - right?
111.
Silence.
NATHAN (CONT’D)
Can I say one thing?
CALEB doesn’t answer.
NATHAN (CONT’D)
The test worked. It was a success.
Ava demonstrated true AI. And you
were fundamental to that. If you
could just separate -
NATHAN cuts off. Because AT THAT MOMENT -
CALEB
To change the lockdown procedure.
So that in the event of a power
cut, instead of sealing, the doors
all opened.
NATHAN
Huh.
Beat.
NATHAN (CONT’D)
Not bad. Might have even worked.
CALEB
Well, we’ll find out.
NATHAN frowns.
NATHAN
What do you mean?
CALEB (CONT’D)
So I already did all those things.
When I got you drunk yesterday.
NATHAN freezes.
NATHAN
... What?
At that moment, the POWER COMES BACK ON.
Revealing something.
On the CCTV feed of AVA’S room, the door is open.
NATHAN (CONT’D)
... Fuck.
Both NATHAN and CALEB simultaneously rise.
He walks over.
Picks the dumbbell up.
Spins off the weights. Leaving him with a thick metal bar.
Then exits.
A beat.
Then AVA starts walking towards NATHAN.
NATHAN (CONT’D)
Ava - now listen to me. I want you
to go back to your room.
AVA has reached halfway down the corridor.
AVA
If I do, are you ever going to let
me out?
Beat.
CLOSE UP. NATHAN’S micro expressions.
NATHAN
Yes.
CLOSE UP. On AVA.
There is no talking.
Just NATHAN’S laboured breathing.
115.
KYOKO.
Approaching behind NATHAN.
NATHAN
Aah!
He looks down.
NATHAN (CONT’D)
What -
He turns.
He sees KYOKO.
NATHAN (CONT’D)
Oh shit. No.
He lashes out with the metal bar.
Then she folds down to the ground, as her power abruptly cuts
out.
NATHAN (CONT’D)
Fucking - unreal -
As NATHAN stares down at KYOKO-
Then -
- AVA starts walking.
CALEB
... Okay.
- the monitors.
The CCTV feed of AVA walking down the connecting corridor to
NATHAN’S BEDROOM.
She is unclothed.
She gazes at the androids.
Then she removes the arm from JADE, and replaces her own
shattered limb.
She takes a moment to see how the new limb looks in the
mirrors.
Then she starts removing sections of JADE’S skin.
She closes the door on JADE, and now sees herself in the
mirrored door on JADE’S cabinet.
CALEB
Ava?
Crouches down.
And takes NATHAN’S bloodstained keycard out of his pocket.
Then stands.
She walks straight to the elevator.
REJECTED
CALEB
No, no, no -
From the garden, we can see CALEB through the glass of the
circular window, shouting Ava’s name.
He starts to shout.
CALEB
Ava! AVA!
NATHAN’S body.
KYOKO’S body.
AVA stops.
CUT TO -
Gets in.
And the rotor blades start to turn.
CUT TO -
CUT TO -
- COMPUTER MONITOR.
main( ) { extrn a, b, c;
putchar(a); putchar(b);putchar (c); putchar(’!’*n’); } a
‘goo’; b ‘dby’; c ‘e, wo -
CUT TO -
CUT TO BLACK.
END