This looks like a local AI model playing Snake -- is that correct? The article offers no explanation.

Correct, the cli commands are just copy paste to run on your machine.

The linked github project [1] contains more information.

[1]: https://github.com/mizorewww/laya-coreml