Altered carbon is a Netflix series where the entire human consciousness has been located and coded into a ‘stack’ chip, so humans are able to transfer their stack, etc. the Poe ai is a hotel ai that psychologically rehabilitates a character while her stack is out of a body in a catatonic state. He is also able to teach skills much quicker than normal to a patient. He has a generally helpful personality, and highly values doctor-patient confidentiality in his treatments.
Even in the case of retained information, you still wouldn’t necessarily need to fully contain the entity. Retaining secret information could force scp to pursue a friendly relationship or even employment as well. I can’t think of a way to completely contain your SCP either.
Either way you take your idea is cool though! Do you have a draft started yet?