I had tried a few times before, but could not until now with the help of AI.
This is actually the second try of AI assistance. THe first failed completely as I did not do anything and simply let the agent go free. On this second attempt I was much more involved in the details and code organization.
AMA