Compile sensor data into targeting data, manage lock on, calculate subspace jumps, press all the buttons which the pilot is too busy to, damage control, manage energy, heat, delta-V (if it exists) and ammunition, take-over in case of pilot fatigue (long distance patrols) or incapacitation, fire the turrets, provide an additional set of eyes for added situational awareness, properly manage shields in more than 4 directions, navigate, communicate when the pilot's too busy not getting shot (including changes of frequency and encryption), commence processes such as scans, distract the pilot with benign conversation, die dramatically, that sort of stuff.