The Adviser

Role, aliases, and summary hidden by structure-only view.

also known as Adviser, unwitting tool

Artificial intelligence / Royal favorite

A mechanical adviser that tries to clear its name by proving a suspicious letter is merely an anagram, despite the police's attempts to frame it.

In The Cyberiad (Stanislaw Lem, 1965)