The body has it's own internal "AI" that also responds and adapts to these incoming pulses over time. You could probably snort some speed and get the same effect described here ... but if you keep doing it, it won't keep working. Now replace the Speed with AI that generates the pulses and can adapt the dosage in response to the bodies AI... we just don't know what it would do long-term.
The real problem IMO is that the AI prescribing the dosage doesn't have any of the sensory inputs the human brain does. So it might boost working memory in a way that is maladaptive to the situation.
All in all -- I think these technologies could be quite interesting for allowing us to hyper-evolve out of our mental limitations that are still over-fitted to living in the jungle... but might make us weak as a species in the long run by forcing us to have sensory stimulations that are overfitted to a particular prescribed state that we label as "good".