Semi related, there's a (pretty good) course at OMSCS where the main project is building an agent to solve RPM problems:
https://lucylabs.gatech.edu/kbai/spring-2023/project-overvie...
And quite a lot of papers about that: https://scholar.google.com/scholar?q=%22raven%27s+progressiv...