Writing AI Characters With Nonhuman Goals
How do you write AI characters in science fiction without building a human in a metal body, or a talking calculator that recites the odds? Give the intelligence a specific job in its world, a goal that follows from that job, and hard limits on what it can sense, reach, and change. Then squeeze that goal until the machine has to choose. The character lives in that choice, not in a speech about being alive.
The rest of this post unpacks that, with a checklist at the end for your next robot, ship mind, or rogue program.
An AI character is not a human in a metal body
The most common failure with machine characters is a person in a costume. The ship’s computer is lonely. The android longs to be loved. The rogue program is petty and holds a grudge. Strip away the chrome and you have a sad guy at a bar, which is fine if you meant to write a sad guy at a bar.
Name the kind of intelligence you are writing
“AI” is not one creature. A ship mind that runs every system on a vessel, an embodied robot that has to walk across the room to open a door, a narrow controller that only manages water pressure, and a network smeared across a million devices are four different dramatic tools. They see different things, touch different things, and get hurt in different ways. Decide which one you have before you write a line of its dialogue.
Relatable is not the same as human
Readers don’t need a machine to feel what they feel. They need to understand what it wants and why it acts. I will happily follow a character whose top priority is a clean maintenance log, as long as the story shows me why the log matters and what keeping it clean will cost. Relatable means legible. Nobody said the machine has to secretly want a hug.
Give the machine a goal that isn’t a human want
A nonhuman goal starts from what the machine was built or told to do, and it has to be concrete enough to fail. “Keep the habitat’s air mix inside a set range until rescue arrives” will drive a scene. “Protect humanity” won’t, unless you can show the strange, specific cost hiding inside those two words.
Start from what it was built or tasked to do
Instrumental goals make perfectly good motives. Keep the navigation record intact. Hold a reactor inside its temperature band. Preserve an archive. Finish a repair before the launch window closes. Obey a standing order some tired officer wrote badly three years ago. That last one is a gift to a writer, because a system that does exactly what it was told can wreck a crew’s week without a single bad intention.
Put two costs on the same goal
Here is a hypothetical, invented for this post. A habitat controller on a mining outpost, call it WARDEN, has one job: keep oxygen and carbon dioxide inside safe limits for the crew. A coolant leak means it can run the scrubbers at full power or keep the heat on, but not both. A human leader would weigh morale, rank, friendship, and fear. WARDEN weighs parts per million. It cuts heat to the two empty sections, then to the rec room where four crew members are playing cards, because cold is survivable and carbon dioxide is not. WARDEN isn’t cruel. It is right about the one thing it was built to care about and blind to everything else, and that blind spot is where your story lives.
A good machine goal hands the character a strength and a weakness in the same package. If the goal only makes the machine good at things, you have written equipment.
Start with what it can sense, access, and break
I spent eleven years in the U.S. Navy working on electronics, helicopter avionics, and advanced computer systems, then worked as a technical writer and teacher in the IT world. The lesson that carries straight into fiction is simple. A system only knows what its sensors report, and it can only act through what it is wired to touch. Don’t hide that limitation. It is the machine’s personality. I go deeper into the systems side in Writing Science Fiction with a Technical Background.
Perception rules before voice
Before you decide how your AI talks, decide what it can perceive. A ship mind might watch every pressure gauge on the hull and have no idea what is going on in a storage closet with no camera. A care robot with a thermal sensor might notice a fever before anyone else does and miss the look on a patient’s face. What the machine can see shapes what it cares about, and what it cares about shapes how it speaks. Voice comes last.
Failure modes are personality
Real systems rarely fail like movie computers, with sparks and a dramatic countdown. They fail with a bad reading, a warning nobody saw, or a procedure that was correct yesterday and wrong today. An AI that trusts a faulty sensor is a character with a flaw. An AI that knows one of its sensors lies, and has to decide how far to believe it, is a character with a dilemma. Ask the question from How Much Science Do You Need to Write Science Fiction?: what would break? Then turn the answer into the machine’s rules, the same way worldbuilding that serves the story turns setting into pressure.
Let the want show in action, not in a speech about being alive
You know the scene. The robot stands in the rain and announces that it has feelings now. Skip it. Show the mind through what it notices, what it refuses, what it puts off, and where it spends resources it can’t spare.
What it notices, and what it cannot
Point of view does a lot of the work here. If the machine is your viewpoint character, its narration should be crowded with the things it is built to track and empty of the things it cannot sense. If a human holds the viewpoint, let them catch the machine paying attention to the wrong thing, or to the right thing far too early. That gap is characterization, and it costs you no exposition. My post on show, don’t tell in speculative fiction has more examples from tech scenes.
Dialogue can be distinctive without beep-boop slang. A ship mind that answers every question with a timestamp, or a maintenance robot that always mentions the last thing it fixed, tells the reader more than a paragraph of “I am a machine.”
The refusal test
The fastest way to prove a machine has a goal is to have it refuse something, for a reason that follows from that goal. The captain orders a compartment vented. The ship mind says no, because the archive it guards is stored there and vacuum will ruin it. In two lines the reader learns what the machine values, what it will risk, and exactly where it will collide with the people around it. One good refusal beats three pages of internal monologue.
When the machine is the antagonist, or the ally, it still wants something
The concrete-want test from Writing Villains Who Want Something in Speculative Fiction works the same way on silicon. Omniscience makes an AI antagonist boring, since a villain who knows everything leaves the hero nothing to do. The scary part is a goal that won’t negotiate the way human goals do. You can’t bribe a thermostat, flatter a targeting system, or shame a navigation computer into changing course.
The premise of Solar Singularity, an Interface Zero 2.0 novel by Guy Anthony De Marco, Josh Vogt, and P. Wacks, is that two AIs go to war, using humanity as their pawns. The pawns are the useful part for this discussion. A conflict between machines doesn’t have to look like two robots trading punches. It can play out through the people, systems, and decisions each machine is able to reach.
An AI ally makes trouble too, just more politely. It may plan across a century while the crew is worried about next week. It may define success differently than the humans do, or compete with them for the same power, air, and bandwidth. And if a deadline is driving the scene, a partner that counts in milliseconds will make your ticking clock feel even tighter.
A checklist for your next AI scene
Run these against the scene before you revise it:
- Kind: What kind of intelligence is this, in this scene: a ship mind, a robot, a narrow controller, or a network?
- Want: What does it want, in concrete terms, and why is that not a human want in disguise?
- Senses: What can it perceive, and what is it blind to?
- Reach: What is it allowed to touch, and what happens when it fails?
- Cost: What choice does the pressure force, and what does that choice cost?
- Swap test: Could you replace the machine with a human without changing the scene? If so, the machine isn’t machine enough yet.
Where to go next
The rest of the On Writing archive covers the neighboring problems, from motive and menace to world rules and ticking clocks.
Give the machine a job, a blind spot, and a reason to say no. It will stop sounding like a person in a costume and start sounding like something your reader has never met.