4-A7 was a masculine-programmed RA-7 protocol droid and prototype spy droid that served the Confederacy of Independent Systems under Dark Acolyte Asajj Ventress during the Clone Wars, a galactic conflict fought between the Confederacy and the Galactic Republic.