Use legacy kind of agents to run on the new environment.
It seems that what you want to achieve is not supported, the structure is different. The main problem as I see it is that the observation state is constructed differently, so the "new" state can not be directly given to the "legacy" agent. But even if this is resolved, still need to write wrappers to fit the structure. Maybe it is worth doing this work. You can open an issue on the github.
https://www.kaggle.com/c/lux-ai-2021/discussion/276419#1535771