Using AI to modernize a Java project

How I used AI coding agents to modernize a Java library.