A tiny desktop pet that shows what Claude Code is doing β and lets you ask Claude something without switching windows.
Works with Codex pets, so you can bring your own.
Pixie floats above your windows in a corner of the screen. A card above it shows the task you gave Claude (your prompt) and the step it's on right now, e.g. "Editing LoginForm.tsx Β· web-app". The dot tells you the state at a glance:
| Dot | State | Pet animation |
|---|---|---|
| π΅ | Working β thinking or using a tool | Work |
| π‘ | Needs input β permission prompt or a question for you (+ system notification) | Wave once, then Wait |
| π’ | Done β stays until you've seen it (click the card or the pet) | Review |
| π΄ | Blocked β something failed | Failed |
Hover over the pet and three buttons appear below it:
- β Ask Claude β type a question or pick a quick action; runs
claude -pand shows the answer - π Voice input β speak instead of typing. Transcribed locally with Whisper: no account, no API key, audio never leaves your computer
- β Last answer
Right-click β Customize petβ¦ changes its size (live, remembered). The card and buttons follow your system's light/dark mode.
More: click the pet to make it hop, drag it anywhere (it runs along), it looks towards your mouse, falls asleep after a while, and several Claude Code sessions at once are shown as "2 active" β whoever needs you wins.
- Download the installer for your system from Releases (macOS
.dmg, Windows.exe, Linux.AppImage). - Start Pixie and click "Connect to Claude Code" on the card. This adds a few hooks to
~/.claude/settings.json(a backup is made first; your existing hooks stay untouched). - Restart running Claude Code sessions. Done. Right-click β Check connection shows whether Pixie has heard from Claude Code.
Pixie follows Claude Code running on your computer β in a terminal or in the Code section of the Claude desktop app. Chats and cloud sessions run on Anthropic's servers, so their hooks never reach your machine.
Windows: Pixie is also coming to the Microsoft Store β installed from there it's signed by Microsoft, shows no warnings and updates itself.
macOS: the app isn't notarized by Apple yet, so macOS says it's from an unidentified developer the first time. Try to open Pixie once, then go to System Settings β Privacy & Security and click Open Anyway (on macOS 14 and older: right-click Pixie β Open). Only needed once. Windows: SmartScreen may warn about an unknown publisher β More info β Run anyway.
The hooks run curl directly (no shell, so Bash, Git Bash and PowerShell all work; curl ships with macOS, Linux and Windows 10+) and in the background (async): Claude Code never waits for Pixie and is never blocked by it, whether Pixie is running or not. Hooks from older Pixie versions are updated automatically on start.
Pixie plays spritesheets in the Codex pet format, so pets made for ChatGPT/Codex work unchanged:
- Pets in
~/.codex/pets/are found automatically (e.g. installed withnpx codex-pets add <id>). - Put your own pets in
~/.pixie/pets/<name>/(menu β Pet β Open folder for your pets). - Switch pets via right-click β Pet. Rescan pets tells you how many it found and why a folder was skipped.
- Codex's built-in pets live inside the Codex app, not in
~/.codex/pets, so only your own/installed Codex pets show up.
A pet is a folder with pet.json and spritesheet.webp (or .png): 8 columns, cells of 192 Γ 208 px, transparent background.
| Row | Animation | Frames | Pixie uses it when β¦ |
|---|---|---|---|
| 1 | Idle (breathe, blink) | 6 | nothing's going on |
| 2 / 3 | Run right / left | 8 | you drag the pet |
| 4 | Wave | 4 | greeting, or Claude needs you |
| 5 | Jump | 5 | you click the pet |
| 6 | Failed | 8 | a task is blocked |
| 7 | Waiting | 6 | Claude waits for your input |
| 8 | Working | 6 | Claude is thinking or using tools |
| 9 | Review | 6 | a result is ready to look at |
| 10 / 11 | Look directions | 8 + 8 | your mouse is nearby (one frame from 16 directions) |
Older 9-row sheets (1536 Γ 1872) work too β the pet just won't follow your mouse. Frames per row are detected from the transparent cells. Optional extra in pet.json: "pixelated": true keeps pixel art crisp when scaled.
Pixelchen, the default pet, is drawn in code (tools/pixelchen.js, built with the same tools as the skill) and is a regular Codex pet as well: copy pets/pixelchen/ to ~/.codex/pets/ to use it in Codex. After changing the drawing, npm run build-pets rebuilds the sheet and the app icon.
This repo includes a Claude skill (skills/pixie-pet) that lets Claude design a complete pet for you: it draws the pixel art in code, checks the format, looks at a preview of every frame and fixes what's off. Install the skill, then just ask:
Use the pixie-pet skill to make me a pet: a sleepy little cactus in a clay pot that waves with one arm and wilts when something fails.
β How to make pets (with Claude, by hand, or from an art program)
Right-click β Open settings opens ~/.pixie/config.json:
| Key | Meaning |
|---|---|
language |
"auto" (system), "de" or "en" |
petScale |
size; 0.65 β 125 Γ 135 px, 1 = full size |
prompts |
quick actions: [{ "label": "β¦", "prompt": "β¦" }] (null = built-in examples) |
promptCwd |
folder quick actions run in (e.g. your current project) |
claudeCommand, claudeArgs |
how claude -p is called. Pixie finds Claude Code on its own (PATH, usual install folders, a running session, the Claude desktop app); set a full path here only if that fails. By default only read-only tools and git read commands are allowed |
voice.enabled, voice.language |
voice input on/off; "auto" or e.g. "de" / "en" |
voice.model |
onnx-community/whisper-base (β 85 MB, default), β¦/whisper-small (β 250 MB, more accurate) |
voice.autoSend |
send right after transcribing instead of letting you check the text |
readyTimeoutSeconds |
0 = "Done" stays until seen; otherwise fade after n seconds |
notifyOnInput |
system notification when Claude needs you |
port, shortcut |
local port (47821) and show/hide shortcut (Ctrl/β+Alt+P) |
The speech model is downloaded once on first use into ~/.pixie/models.
Quick questions and login: if you use Claude Code only through the desktop app, its copy of Claude Code is logged in by the app, not on its own. The first quick question then asks you to log in once: click Log in, type /login in the terminal that opens, done.
Anything on your machine can drive the pet:
curl -X POST http://127.0.0.1:47821/state \
-H 'Content-Type: application/json' -H 'X-Pixie: 1' \
-d '{"state":"working","task":"Render the intro","message":"Encoding video","project":"my-agent"}'States: idle, thinking, working, needsInput, done, error. The X-Pixie header is required β it keeps websites in your browser from talking to the pet.
npm install
npm start # run from source
npm test # unit + integration tests
npm run dist # build installers locally into dist/Releases: bump version in package.json and push to main (or push a tag like v0.5.0). GitHub Actions builds macOS, Windows and Linux installers and attaches them to a draft release β review it and click Publish.
main.js Electron main process: window, tray, menu, IPC
src/state.js hook events β one pet state (pure, tested)
src/server.js local HTTP endpoint for hooks and other agents
src/hooks.js adds/removes the hooks in Claude Code's settings
src/pets.js finds pets (built-in, ~/.pixie/pets, ~/.codex/pets)
src/voice*.js Whisper via Transformers.js in a worker thread
renderer/ the overlay: sheet player, card, dock, voice recording
skills/pixie-pet/ Claude skill + tools to build, validate and preview pets
tools/ Pixelchen (a pet module) and the app icon builder
Everything stays on your computer. The hooks only talk to 127.0.0.1; voice is transcribed locally. The only network access is the one-time speech model download from Hugging Face and, of course, Claude Code itself. Details: privacy policy.
Pixie is an independent community project, not affiliated with or endorsed by Anthropic or OpenAI. "Claude" and "Claude Code" are trademarks of Anthropic; "Codex" and "ChatGPT" are trademarks of OpenAI. Pets you install from elsewhere belong to their creators.
