OpenAI Just Added Pets to Codex. Here’s How to Hatch Your Own.
A step-by-step guide to creating custom animated coding companions — with 8 ready-to-use prompts.
Ready to unlock a world of AI-powered fun? Join our newsletter for weekly DIY guides, creative hacks, and exclusive tips from the AI Entrepreneurs: Visual Playground Series! Subscribe Now!
OpenAI , on May 1 did something nobody expected from a coding tool. They added pets.
Not a productivity feature. Not a new model. Tiny animated creatures that live in the corner of the Codex app, reacting to what the code is doing — thinking when it’s processing, waiting when it’s idle, celebrating when a task completes.
Developers are losing their minds over it. And there’s a reason this matters beyond the cute factor.
What Are Codex Pets?
Codex Pets are customizable animated companions inside OpenAI’s Codex desktop app. They reflect the app’s real-time status through small behavioral animations — so a glance at your pet tells you whether Codex is thinking, waiting, done, or stuck on an error.
There are eight built-in pets to choose from: Codex, Dewey, Fireball, Rocky, Seedy, Stacky, BSOD, and Null Signal. Type /pet to summon or dismiss them.
But the real magic is hatching a custom pet using the hatch-pet skill.
How to Hatch Your Own Pet (Step-by-Step)
Step 1: Open the Codex desktop app (not the web version — download from codex.openai.com).
Step 2: Install the hatch-pet skill. Type this in the chat:
$skill-installer hatch-pet
Step 3: Press Ctrl+K (Windows) or Cmd+K (Mac), then choose Force Reload Skills.
Step 4: Type your hatch command:
Hatch Pet: create a mechanical tortoise with circuit board shell, glowing green LEDs
Step 5: Watch the 4-step process:
- Getting your pet ready
- Imagining the main look
- Picturing the poses
- Hatching the final pet
This takes 2–5 minutes. Codex generates a proper sprite atlas with animations, packages it as a pet.json file, and installs it automatically.
Step 6: Go to Settings → Appearance → Pets and select the new pet under “Custom pets.” If it doesn’t appear, restart the Codex app.
Step 7: Start any coding task and watch the pet react — it animates based on what Codex is doing: thinking, idle, done, or error.
The Secret: State-Based Actions
A basic prompt like “make me a cute dog” gives a generic result. The difference between a basic pet and a great one is telling Codex exactly how the pet should behave in each state.
Codex Pets respond to five triggers:
- Idle — waiting for input
- Thinking — Codex is processing
- Done — code completes successfully
- Error — something failed
- Clicked — when you click on the pet
Here’s the formula:
Hatch Pet: [creature description]. When thinking: [action]. When idle: [action]. When code completes: [action]. When error: [action]. When clicked: [action].
The more specific the actions, the more personality your pet has.
8 Cute Pet Prompts — Ready to Copy and Paste
1. Circuit — The Mechanical Tortoise
Hatch Pet: create a mechanical tortoise with circuit board shell, glowing green LEDs. When thinking: shell LEDs pulse rapidly, tiny code scrolls across shell. When idle: gentle head bob, slow shell glow. When code completes: LEDs flash gold, tiny sparks from shell, happy wiggle. When error: shell turns red, tortoise retreats into shell, peeks out nervously. When clicked: shell opens to reveal tiny server rack inside.
More Prompts to Try
These haven’t been hatched yet — try them and share the results on X @EntrepreneursAI..
2. PixelPup — The Coding Puppy
Hatch Pet: create an adorable tiny golden puppy sitting at a miniature desk. When thinking: ears perk up, paws type on keyboard, tail wags fast. When idle: curls up and naps, tiny snore bubbles float up. When code completes: jumps up, spins in circle, happy bark sparkles appear. When error: tilts head confused, drops tiny bone, whimpers with sad puppy eyes. When clicked: rolls over for belly rub, tongue out.
3. BubbleCat — The Cloud Kitty
Hatch Pet: create a fluffy pastel cat made of soft clouds with tiny rainbow sparkles trailing behind. When thinking: puffs up bigger, rainbow swirls around body, eyes glow bright. When idle: floats peacefully, purrs with tiny hearts appearing above head. When code completes: does a backflip in clouds, rains down tiny golden stars. When error: deflates slightly, tiny storm cloud appears over head, looks grumpy. When clicked: stretches and yawns, rainbow trail intensifies.
4. OctoByte — The Baby Octopus
Hatch Pet: create an adorable baby octopus with big sparkly eyes, each tiny tentacle holding a different colored crayon. When thinking: tentacles draw frantically in the air, ink cloud of binary code appears. When idle: gentle floating, tentacles wave hello, blows tiny bubbles. When code completes: tentacles do jazz hands, eyes turn into hearts, confetti shoots everywhere. When error: tentacles tangle into a knot, blushes pink, hides behind one tentacle. When clicked: squirts tiny ink heart, giggles.
5. ToastBuddy — The Breakfast Friend
Hatch Pet: create an adorable piece of golden toast with a cute smiley face, tiny butter pat hat, stick arms and legs. When thinking: face scrunches in concentration, butter melts slightly, steam rises from head. When idle: bounces gently in place, waves with tiny jam-covered hand. When code completes: pops up like from a toaster, butter hat flies off and lands back perfectly, crumb confetti. When error: gets slightly burnt on one edge, smoke puffs from corner, looks shocked. When clicked: does a little spin, jam drips and reforms.
6. StarJelly — The Space Jellyfish
Hatch Pet: create a tiny translucent jellyfish made of starlight, trailing glowing tentacles with tiny planets attached. When thinking: pulses brighter, tentacles swirl faster, tiny shooting stars orbit around body. When idle: drifts peacefully, tentacles trail sparkles, soft cosmic glow pulses. When code completes: explodes into mini supernova then reforms beautifully, planets align and spin. When error: briefly turns into tiny black hole, tentacles get tangled, looks dizzy with spiral eyes. When clicked: shoots a comet trail across screen.
7. SproutBot — The Plant Robot
Hatch Pet: create a tiny robot shaped like a flower pot with a smiling daisy growing from its head, little leaf arms, root feet. When thinking: daisy spins like a radar dish, leaves flutter rapidly, pot glows warm. When idle: sways gently like in a breeze, petals slowly open and close, hums. When code completes: daisy blooms into a giant sunflower, throws seeds like confetti, does victory dance. When error: daisy wilts dramatically, leaves droop, pot cracks then magically repairs. When clicked: grows a tiny new flower, giggles.
8. ChipOwl — The Robot Owl
Hatch Pet: create a tiny robot owl with purple feathers, glowing yellow circuit board eyes, wearing tiny goggles on head. When thinking: eyes pulse brighter, head rotates 360 scanning, goggles flip down over eyes. When idle: head tilts side to side, gentle floating, soft mechanical hoot. When code completes: wings flap wide and sparkle, hoots triumphantly, goggles flash victory sign. When error: eyes turn red, feathers ruffle up, covers face with wing embarrassed. When clicked: winks one eye, does a little bow.
Tips for Better Pets
Be specific about personality. “A cute cat” gives a generic result. “A fluffy pastel cat made of soft clouds with tiny rainbow sparkles” gives something memorable.
Make error states funny. The best pets turn frustration into a smile. A tortoise retreating into its shell, toast getting burnt, an octopus tangling its own tentacles — these moments are why developers love this feature.
Add a click reaction. Most people forget this one. A pet that reacts when clicked adds a layer of interactivity that makes the pet feel alive even when Codex is idle.
Name your pet. Codex will suggest a name, but specifying one in the prompt gives better results.
Why This Actually Matters
On the surface, Codex Pets look like a fun easter egg. Three things are happening under the hood that matter for builders:
1. Status communication without interruption. Instead of checking a progress bar, the pet’s behavior tells you what Codex is doing. It’s ambient awareness — a glance replaces a context switch.
2. Emotional attachment drives retention. When users name something, customize it, and watch it react to their behavior, they come back more often. OpenAI isn’t adding a feature. They’re adding a reason to stay.
3. Community as growth engine. Every developer who shares their pet on X is advertising Codex to their followers. OpenAI gets distribution for free. The pet is the hook. The platform is the play.
Want more like this? The AI Entrepreneurs newsletter delivers one actionable AI tutorial every week — no fluff, just builds. 70,000+ founders and creators already subscribe. Join them at AI Entrepreneurs — STANDOUT DIGITAL