I noticed there's no official build for the Pi, and some posts suggest to build from source. However, it looks like there's an update made to a tool used to create the agent, goa.design, or maybe Go itself. Whatever the update it, it needs to be also adapted in the create agent repo. Looks like the signature of a function now requires a new argument that is not in the current version of the agent.
Of interest is the
go get github.com/arduino/arduino-create-agent.
The Raspberry Pi 400 is a really neat prototyping tool. I wanted to make it work as my development env. I can still configure the IDE, but the web editor would be much easier to have working on a Pi.