Claude's 18 Electronic Pets Go Live, Tamagotchi Song in Terminal

By: blockbeats|2026/04/01 18:00:03
0
Share
copy

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.

Claude's 18 Electronic Pets Go Live, Tamagotchi Song in Terminal

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.

-- Price

--

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

a16z: 5 Ways Blockchain Helps AI Agent Infrastructure

Artificial intelligence makes scaling cost-effective, but it is difficult to establish trust. Cryptocurrency can rebuild trust on a large scale.

Morning News | The Hong Kong Securities and Futures Commission announced the regulatory framework for secondary market trading of tokenized investment products; Strategy increased its holdings by 34,164 bitcoins last week; KAIO completed a strategic fi...

Overview of Important Market Events on April 20

What Is an XRP Wallet? The Best Wallets to Store XRP (2026 Updated)

An XRP wallet lets you safely store, send, and receive XRP on the XRP Ledger. Learn what wallets support XRP and discover the best XRP wallets for beginners and long-term holders in 2026.

What are the Top AI Crypto Coins? Render vs. Akash: 5 Gems Solving the 2026 GPU Crisis

What are the best AI crypto coins for the 2026 cycle? Beyond the hype, we analyze top tokens like RNDR, AKT, and FET that provide real-world solutions to the global GPU shortage and the rise of autonomous agents.

What Is a Token in AI? What Is an AI Token + 3 Gems You Can't Miss in 2026

The era of AI hype has transitioned into an era of utility. As we move through Q2 2026, the market is no longer rewarding "narrative-only" projects. At WEEX Research, we are seeing a massive capital rotation into Decentralized Compute (DePIN) and Autonomous Agent coordination layers. This guide analyzes which AI tokens are capturing institutional liquidity and how to spot high-conviction setups in a maturing market.

Consumer-grade Crypto Global Survey: Users, Revenue, and Track Distribution

The number of active users of consumer-grade encryption has long reached tens of millions, but it is not in the sight of Silicon Valley and New York.

Popular coins

Latest Crypto News

Read more