if you check out ai mode:
https://laytheme.com/tutorials/ai-mode.html#connect-to-claude-codex
you can also let the ai mode create a custom carousel element.
there are different ways of doing it. if you already have a working carousel prototype, you can just tell your claude/codex:
make this a custom element for the gridder