“Prime's Directive Part One”
The Enterprise investigates a distress call from a dilithium mining planet near the Klingon border and arrives to find the outpost under attack from hostile robots, the Decepticons. The Enterprise forces them to retreat, but soon encounters another robot, Optimus Prime, whom they mistake for a hostile enemy. Meanwhile the Decepticons find an ally in the Klingons.