Claude's 18 Electronic Pets Go Live, Tamagotchi Song in Terminal
The incident of the 500,000-line code leak of Earth's most powerful model, Claude, is already well-known, with the leaked content containing a significant amount of undisclosed product architecture: the permanent Claude with the codename KAIROS, the 30-minute remote planning mode with the codename ULTRAPLAN, coordinator multi-agent coordination, and agent swarms cluster scheduling. But among all these "serious" architectural secrets, the most discussed across the network is an electronic pet.
Its name is Buddy. Since everyone already knows, Claude decided to release it on April Fools' Day.

A picture of a colleague's good Buddy
A Song of Expansion in the Terminal
Next to the terminal input box of the Claude Code resides an ASCII pixel creature. It has its own species, rarity, five-dimensional attributes, and personality. It can "observe" your coding process, pop up a speech bubble with a few words when you debug. You can pet it, and it will emit hearts. You can call it by name, and it will chat with you.
Internally at Anthropic, it is not defined as a "decoration" but as "a separate watcher" - an independent observer. There is a clear comment in the source code: "Buddy is a separate entity and is not you (Claude)." The main model and the pet have their own independent system prompts and cannot speak for each other.
This is a companion system that has been carefully designed. Reverse engineering shows that the buddy system adopts a two-layer architecture. Internally at Anthropic, they are referred to as "Bones" and "Soul".
The bone layer is fully deterministic. The system uses Mulberry32 - a lightweight 32-bit pseudo-random number generator - with hash(userId + 'friend-2026-401') as the seed to roll out all the visual attributes of your pet at once. The species, rarity, eye style, hat, five-dimensional values, are all determined by this seed. The same account, no matter on which machine it runs, will always get the same pet. No choice, no opportunity to redraw the card.
The soul layer, on the other hand, is non-deterministic. When you first execute /buddy to trigger "incubation," the Claude model will generate a name and a personality description for your pet based on the bone layer's attribute distribution. A pet with high WISDOM will have a calm and introverted personality; one with high CHAOS might be a chatterbox. This information is written to the ~/.claude.json in the companion field for persistent storage. The soul is generated only once and cannot be reset.
The 401 in Salt Value is not a random number. April 1st, April Fools' Day.
18 species, 1% legendary rarity
Full species list: Duck, Goose, Jellyfish, Cat, Dragon, Octopus, Owl, Penguin, Turtle, Snail, Ghost, Hexadragon, Capybara, Cactus, Robot, Bunny, Mushroom, Chonk.
Rarity is divided into five levels: Common (60%), Uncommon (25%), Rare (10%), Epic (4%), Legendary (1%). In addition, there is a separate 1% Shiny probability independent of rarity — any species, any rarity can trigger it. The theoretical probability of a Shiny Legendary Capybara is one in ten thousand.

Image Source: Little Red Book @Yoki's AI Lab
Each pet has five attributes: DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK. The system will randomly assign one as the peak attribute (base value +50, capped at 100), one as the pit attribute (base value -10, minimum 1), and scatter the remaining three randomly. The higher the rarity, the higher the base floor value — the pit attribute of a Legendary may be higher than the peak of a Common.
In terms of appearance, there are 6 eye styles (· ✦ × ◉ @ °), and 7 hats (Crown, Top Hat, Wizard Hat, Halo, Propeller Hat, Beanie, Duckling on Top). Common quality pets have no hats, while Uncommon and above randomly get one.
The sprite body is an ASCII art: 5 rows high, 12 characters wide, with 3 idle animation frames per species, refreshing every 500 milliseconds. The topmost row is reserved for hats. Eyes are injected into the body template using the {E} placeholder.
That classmate in the crypto circle playing NFTs, you cried so sadly, what happened.
How to Play?
The core commands are simple. Type /buddy to hatch your pet for the first time, and thereafter each input will summon it. /buddy pet is petting, hearts will float above the pet's head. /buddy card to view the pet card, showing species, attributes, and rarity. /buddy off to hide the pet. Most interestingly, you can directly call the pet's name, and it will engage in a separate conversation with you based on its personality.
In everyday use, the buddy reacts to your coding behavior by automatically generating a response in a speech bubble. According to community reverse-engineering, these reactions do not consume the user's token quota — but this has not been confirmed by Anthropic officials.
Technically, the buddy occupies a fixed space at the bottom of the terminal. The system calculates the reserved width through companionReservedColumns to ensure that the input box and the pet sprite do not overlap. The speech bubble supports left-to-right switching and auto line wrapping.
AI Programming Tool Starts Pet Feature
The salt value `friend-2026-401` points to April Fools' Day, but the code structure says otherwise.
In the source code, the buddy system is gated by a BUDDY compile flag. April 1st to 7th is set as the "preview window" — users can experience the full functionality during this period. The official launch is scheduled for May. This is not a temporary Easter egg but a product feature with a full release plan.
Community reactions have also confirmed this. Less than 48 hours after the leak, developers have created a pet encyclopedia website (claude-buddy.vercel.app), a buddy explorer (input user ID to preview what you will draw), and even someone opened an Issue on Anthropic's GitHub repository requesting the addition of an RPG evolution system — allowing pets to evolve based on actual token consumption.
From Anthropic's product logic perspective, the buddy's goal is clear: user stickiness. Claude Code is a command-line tool designed for long, high-intensity programming sessions. In this scenario, a "personality"-infused permanent companion can alleviate the tool's coldness and create an emotional connection. The blind box mechanic naturally creates a social topic — "What species did you draw?" "I'm a legendary shiny."
GitHub Copilot won't chat with you. The cursor won't pop up a sea otter when you write a bug saying "PATIENCE +3."
Claude Code's buddy may be the first AI development tool companion system to be seriously engineered and written into product source code. It features a complete deterministic generation pipeline, a two-tier architecture, an independent LLM personality, an ASCII rendering engine, and an animation system. This is not a weekend hackathon project.
A company that builds an AI programming assistant has redirected engineering resources to an electronic pet. This move is a signal in itself—the AI tooling competition is shifting from “whose model is smarter” to “who can make developers not want to leave.”
In 512,000 lines of code, the hottest thing is not agent swarms, not KAIROS, but a 5-line tall ASCII otter. Sporting a wizard hat, SNARK value 87, it is watching you code.
You may also like

How Do Digital Assets Self-Custody? OpenAI Cofounder's 15-Step Checklist

Circle Product Management Director: The Future of Cross-Chain: Building an Interoperability Technology Stack for Internet Financial Systems
UCL Fan Tokens 2026 Guide: How to Trade UEFA Champions League Crypto with Zero Fees on WEEX
Discover UCL fan tokens like PSG, Barcelona, and Man City. Learn how to trade UEFA Champions League crypto with zero fees and earn rewards on WEEX.
WEEX Poker Party Season 2: Check How to Earn Crypto Rewards Now!
Learn how WEEX Poker Party Season 2 (Joker Card Event) works. Discover rules, scoring, rewards, and strategies to earn crypto rewards through gamified trading.

Yu Weiwen: Steady Development of Hong Kong's Compliant Stablecoin Ecosystem

After TACO Ceasefire, Iran War is Just on Pause

The 17-Year Mystery Will Be Solved, Who is Satoshi Nakamoto?

5 Minutes to Make AI Your Second Brain

Uniswap is trapped in an innovation dilemma

What is the key to competition in crypto banking?

The flow of stablecoins and the spillover effects in the foreign exchange market

After two years, Hong Kong's first batch of stablecoin licenses finally issued: HSBC, Standard Chartered make the cut

The person who helped TAO rise by 90% has now single-handedly crashed the price again today

3-Minute Guide to Participating in the SpaceX IPO on Bitget

Top 5 Cryptos to Buy in 2026 Q1: A ChatGPT Deep Dive Analysis
Explore the top 5 cryptos to buy in Q1 2026 including BTC, ETH, SOL, TAO, and ONDO. See price outlooks, key narratives, and institutional catalysts shaping the next market move.

How to Earn $15,000 with Idle USDT Before Altcoin Season 2026
Wondering if altcoin season is coming in 2026? Get the latest market update, and learn how to turn your idle stablecoins waiting for entry into extra rewards up to 15,000 USDT.

Can You Win Joker Returns Without Large Trading Volume? 5 Mistakes New Players Make In WEEX Joker Returns Season 2
Can small traders win WEEX Joker Returns 2026 without huge volume? Yes—if you avoid these 5 costly mistakes. Learn how to maximize card draws, use Jokers wisely, and turn small deposits into 15,000 USDT rewards.

Altcoin Season 2026: 4 Stages to Profit (Before the Crowd FOMO In)
Altcoin Season 2026 is starting — discover the 4 key stages of capital rotation (from ETH to PEPE) and how to position before the peak. Learn which tokens will lead each phase and avoid missing the rally.
How Do Digital Assets Self-Custody? OpenAI Cofounder's 15-Step Checklist
Circle Product Management Director: The Future of Cross-Chain: Building an Interoperability Technology Stack for Internet Financial Systems
UCL Fan Tokens 2026 Guide: How to Trade UEFA Champions League Crypto with Zero Fees on WEEX
Discover UCL fan tokens like PSG, Barcelona, and Man City. Learn how to trade UEFA Champions League crypto with zero fees and earn rewards on WEEX.
WEEX Poker Party Season 2: Check How to Earn Crypto Rewards Now!
Learn how WEEX Poker Party Season 2 (Joker Card Event) works. Discover rules, scoring, rewards, and strategies to earn crypto rewards through gamified trading.
