Any Codex pet.Any website.
A tiny JavaScript SDK · Kavana included
Any Codex pet.
Any website.One Web Component brings transparent atlas animation, roaming, drag, sleep, tuck, persistence, keyboard controls, touch support, and reduced motion.
Ask Kavana to waveInstall in one minute
CDN
Two tags. No framework.
<script src="https://unpkg.com/codex-pet-companion@0.1.1/dist/codex-pet-companion.global.js"></script>
<codex-pet-companion></codex-pet-companion>Or run `npm install codex-pet-companion`. Serve your own `pet.json` and `spritesheet.webp` to swap Kavana for any Codex pet.
Accessible by default
Native buttons, keyboard movement, focus restoration, coarse-pointer controls, and a quiet reduced-motion mode.
Strict-CSP ready
Self-host the bundle and pet files. No video fallback, tracker, backend, or private Codex API.
Agent install
The hosted `codex-pet-web` skill validates the pet, preserves the site design, and shows Kavana doing zoomies while commands run.