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 to Win at WEEX's Joker Returns 2026: Poker Card Strategy & Tips
Learn how to win at WEEX Joker Returns 2026 using poker-style card combos and Joker wildcard strategy. Discover how stronger hands improve multipliers and reward potential.

What Is A Joker Card In Poker? Rules, Role & How To Win It For 15,000 USDT
Master the Joker Card to win 15,000 USDT. Learn poker strategy for WEEX's Joker Returns crypto event (April 1-30, 2026). Turn deposits & trades into winning combos. Join now!

Cryptocurrency exchanges are launching a battle for VIP clients

PlanX launched with a 24-hour trading volume exceeding $12.9M: AI-driven on-chain execution begins to reshape trading paradigms, with the next day's trading volume surpassing $75M

95-year-old Buffett said 7 things: Now is not the time to buy the dip, nuclear weapons will eventually be used

BTC USD Price Forecast: Imminent Six-Month Red Pattern Decoded
Key Takeaways: Bitcoin is at risk of its first-ever seventh consecutive monthly price decline, contrasting heavily with past…

Ethereum Price Prediction: ETH Outpaced Bitcoin Last Month – Is Altcoin Season Here?
Key Takeaways: Ethereum saw a notable rise of 7% in March, leaving Bitcoin’s modest 1% gain in the…

XRP Investment Outlook: Ripple Versus Nvidia
Key Takeaways: XRP is experiencing a consolidation phase, trading at $1.32 and down 2.5% over 24 hours, while…

Solana Price Forecast: Institutional Heavyweights Back SOL, Shaping Future Prospects
Key Takeaways: Solana’s current price hovers around $84 with minimal movement amidst broader market variations. Institutional giants like…

Bitcoin Outlook Amid Iran Ceasefire and Market Dynamics
Key Takeaways: Bitcoin gains traction as Iran proposes conflict resolution, climbing back above $69,000. A market flux ensues…

US Labor Department Proposes Opening 401(k) Plans to Crypto
Key Takeaways: The U.S. Department of Labor’s proposal aims to introduce cryptocurrencies into 401(k) retirement accounts through a…

Dogecoin Price Prediction: Memecore Surpasses SHIB – Is DOGE Next?
Key Takeaways: MemeCore has surged to become the second-largest memecoin by market cap, surpassing Shiba Inu. Dogecoin’s price…

Cardano Price Forecast: Navigating the Midnight Shift – What Lies Ahead?
Key Takeaways: The recent launch of Cardano’s Midnight sidechain led to a 3.1% price decline for ADA, now…

Zcash Price Prediction: Exploring the Satoshi Plus Consensus and Future Scaling Layers
Key Takeaways: Zcash is trading around $248 after a 9% surge, influenced by market relief and geopolitical factors.…

KuCoin Directed to Prohibit US Traders and Settle $500,000 CFTC Fine
Key Takeaways: KuCoin’s parent company, Peken Global Limited, has been fined $500,000 by the CFTC. A permanent injunction…

Senators Unveil ‘Mined in America’ Act to Reinforce US Bitcoin Mining
Key Takeaways: The “Mined in America Act” proposes a voluntary certification for US Bitcoin mining to reduce reliance…

Senator Probes SEC’s Actions Toward Trump-Linked Crypto Firms
Key Takeaways: Senator Richard Blumenthal has initiated an investigation into the SEC’s handling of enforcement decisions involving Trump-associated…

Bitmine’s $147 Million Ethereum Accumulation: Key Market Dynamics
Key Takeaways: Bitmine has aggressively procured 71,179 Ethereum, totaling $147 million. Over five weeks, Bitmine’s total ETH acquisitions…
How to Win at WEEX's Joker Returns 2026: Poker Card Strategy & Tips
Learn how to win at WEEX Joker Returns 2026 using poker-style card combos and Joker wildcard strategy. Discover how stronger hands improve multipliers and reward potential.
What Is A Joker Card In Poker? Rules, Role & How To Win It For 15,000 USDT
Master the Joker Card to win 15,000 USDT. Learn poker strategy for WEEX's Joker Returns crypto event (April 1-30, 2026). Turn deposits & trades into winning combos. Join now!
Cryptocurrency exchanges are launching a battle for VIP clients
PlanX launched with a 24-hour trading volume exceeding $12.9M: AI-driven on-chain execution begins to reshape trading paradigms, with the next day's trading volume surpassing $75M
95-year-old Buffett said 7 things: Now is not the time to buy the dip, nuclear weapons will eventually be used
BTC USD Price Forecast: Imminent Six-Month Red Pattern Decoded
Key Takeaways: Bitcoin is at risk of its first-ever seventh consecutive monthly price decline, contrasting heavily with past…
