Having good intellectual powers: sagacious.
Shrewd, sly; often also characterised by a sarcastic sense of humour.