Gamify daily AI coding by feeding Claude Code and Codex session logs into a desktop pet that levels up
Track personal token spend across multiple AI providers in one trainer card view
Pick a difficulty template (Unicorn, Sun, KingKong) to match light, medium, or heavy usage habits
Design and share a custom pet by editing the sprite PNGs, level curve, and XP weights in plain JSON
Auto discovers AI session logs on launch so no hook configuration is needed; everything stays on the local machine.
petpet is a desktop pet app for people who use AI coding assistants like Claude Code, Codex, OpenCode, and Aider. The pet sits on your screen and quietly watches your AI session logs. Every prompt you send and every token your AI uses becomes experience points for the pet, which then levels up and changes form. Heavy users grow their pet quickly. Idle users find their pet sleeping. Everything runs locally on the machine. There is no cloud account, no telemetry, and no data leaves the computer. The app is open source under MIT, and it auto-discovers existing session logs on launch with no hook configuration needed. One pet can collect experience from every supported AI tool at once, and you can keep several pets and switch between them while the inactive ones hold their state. Three built-in templates set the pace. Unicorn is easy mode and hatches after roughly 5 to 10 conversations on Opus 4.7, with level 99 reached in about 30 days of heavy use. Sun (called Wukong) is medium pace at 15 to 20 conversations to hatch and 60 days to L99. KingKong is hard mode at 30 or more conversations to hatch and around 150 days to L99, and it ignores idle chat, only counting real token usage and completed work. Each pet has 10 evolution stages. Experience comes from a formula that weighs input tokens, output tokens, reasoning tokens, and cache reads and writes, then multiplies by a tier value (frontier models like Opus 4.7 give 1.5x, mid models 1.0x, mini models 0.7x). A growth curve slows the gain as the pet levels up, so there is no fast path to L99 in one weekend. You can also build your own pet with a template creator that takes sprites, level curves, XP weights, and a color theme. Templates and pet archives are plain JSON plus PNGs, so they can be shared as files. A trainer card view shows token spend, XP gained, and a per-provider breakdown. The desktop app is built in Rust with Tauri and ships for macOS, Windows, and Linux.
Generated 2026-05-22 · Model: sonnet-4-6 · Verify against the repo before relying on details.