You’d need a very smart (ChatGPT or Gemini stuff) AI to be able to manage that. But those AIs are censored and can’t do RP.
My planned solution is a bit more simple, to allow the AI to write notes about the gameplay so far, the AI will write in plaintext new entities or major events that happened. The player can also edit this note at anytime.