The Autobots are the one out of the two primary factions during the war for Cybertron and still now.
They are considered as the good guys, however in the mirror world, they were the bad guys before the autobot council had the mirror destroyed.
The Autobots in the Shattered Glass
In Shattered Glass the Autobot were known as the bad guys under the tyrant Optimus Prime and the Decepticon Rebels the good guys under commander Megatron.
(This realm is no longer available being that after the war, Sideswipe "accidentally" destroyed the mirror leading into the portal of the reverse Shattered Glass world).