The basic idea is of an AI-like digital assistant (a bit like Alexa/Siri/etc) that functions as interface to basically all technology the protagonist interacts with. (A bit like a smart phone.) The protagonist implements a new feature, where the assistant generates a psychological profile of the user. With this it generates goals of the user and a behaviour to reach those goals and also enables the AI to judge whether to ignore a command.
This way, the digital assistant may find some urges, the protagonist isn't aware of herself/himself ...
This way, the digital assistant may find some urges, the protagonist isn't aware of herself/himself ...