Companion AI
An NPC scripted to travel with the player and act semi-autonomously, judged mainly by whether it reads as a teammate or an obstacle.
Companion AI describes the behavior model driving an NPC that accompanies the player through combat and traversal, and its whole reputation as a design problem comes from how visibly it fails: getting stuck in a doorway, aggroing an enemy the player was trying to sneak past, blocking a narrow corridor at the exact moment a quick retreat was needed. A companion that fails this way doesn't read as a flawed teammate — it reads as a bug wearing a character model, because the player has no lever to correct it beyond hoping the next patch fixes the pathing.
The genre-defining trick most well-regarded companions use is a fictional cheat: Ellie in The Last of Us is scripted to never take damage and never draw enemy aggro during stealth sections, which is not remotely how a real second person moving through that space would behave, but it's invisible in play precisely because it removes the failure mode players actually hate. The one place this cheat is off the table is an Escort Mission, which needs its companion killable for the objective to exist at all — a structure that inherits every companion-AI failure mode at full price, which is most of why it's so widely hated.
Companion AI is best understood as a special case of Game AI generally, but an asymmetric one: most game AI is built to present a fair, competent challenge, while companion AI is built to look competent without ever actually winning or losing on its own — its job is to seem like a teammate, not to play well in any sense that would be measured independently. That asymmetry is also why companion AI ages differently than enemy AI: an enemy that plays dumb is forgiven as an easy fight, but a companion that plays dumb breaks the fiction that anyone else is really there.
See also3
Game AI
Computer opponents built to be interesting to play against rather than optimal.
Play & Games25 connections
Escort Mission
An objective built on keeping an AI-controlled companion alive in transit, delegating the player's self-preservation skill to a harder-to-control proxy.
Play & Games4 connections
Stealth Mechanics
Systems that model detection as a gradient rather than a boolean, so a player manages suspicion as a resource before violence becomes an option.
Play & Games6 connections
Linked from4
- Cover SystemPlay & Games
A mechanic binding the player to nearby geometry to block gunfire, turning positioning into a snap-to-object decision rather than free movement.
- Escort MissionPlay & Games
An objective built on keeping an AI-controlled companion alive in transit, delegating the player's self-preservation skill to a harder-to-control proxy.
- Procedural NarrativePlay & Games
Story content generated algorithmically from rules and state at runtime, trading hand-crafted specificity for combinatorial scale.
- Stealth MechanicsPlay & Games
Systems that model detection as a gradient rather than a boolean, so a player manages suspicion as a resource before violence becomes an option.