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

By: blockbeats|2026/04/01 18:00:09
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.

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

Scaling Crypto Derivatives: The Digital Asset Infrastructure Behind High-Volume Trading

In the fast-moving digital asset ecosystem, derivatives platforms face an extreme architectural test. High-leverage futures markets demand more than just standard security—they require absolute operational precision, zero-latency matching engines, and ironclad structural scalability, all while navigating intense market volatility.

As global platforms scale to meet these demands, the industry is shifting away from rigid, monolithic setups toward a more agile, "decoupled" infrastructure philosophy.

The Blueprint for High-Volume Copy Trading

For elite global exchanges like WEEX (founded in 2018), this architectural choice becomes critical when scaling high-volume retail features like social copy trading. When thousands of users automatically mirror the real-time strategies of elite traders simultaneously, it triggers sudden, monumental spikes in concurrent transactional volume.

To prevent execution latency or settlement bottlenecks during these peak volatility events, a platform's primary engine must remain entirely dedicated to risk management, copy-trade synchronization, and order matching.

The Architectural Rule: New-generation platforms must separate front-end user execution engines from heavy backend infrastructural overhead to eliminate operational friction.

By separating these layers, platforms can maintain complete sovereignty over their trading environments and user experiences while strategically aligning with institutional-grade infrastructure ecosystems. This strategic framework allows modern exchanges to leverage advanced Digital Asset Custody infrastructure such as Cobo’s behind the scenes, ensuring that backend wallet management scales elastically alongside trading spikes.

Capitalizing on Market Momentum and 400× Leverage

In a derivatives arena where platforms offer up to 400× leverage on perpetual contracts, capital efficiency and market agility are core business metrics. To capture market momentum, an exchange needs the ability to rapidly expand its asset offerings, supporting everything from legacy crypto assets to sudden, trending altcoins across a massive library of trading pairs.

Adopting a flexible, scalable Wallet-as-a-Service (WaaS) solution such as Cobo’s could completely rewrite the development timeline for high-growth exchanges. Instead of spending months of engineering capital building out custom backend wallet architectures for every new blockchain network, platforms can deploy localized infrastructure in days.

This agility allows platforms to instantly scale their listings to over a thousand trading pairs without compromising security or delaying time-to-market. It mirrors the exact operational advantages seen during high-velocity market events, similar to how advanced wallet infrastructure empowers platforms during sudden asset surges; allowing exchanges to pass that speed and liquidity directly to their global user base.

A Mature Foundation for Growth

The synergy between trusted infrastructure ecosystems and global trading platforms represents the natural evolution of a maturing crypto market. As WEEX continues to scale its global spot and derivatives offerings for over 6 million users, adopting robust backend paradigms proves that platforms no longer have to compromise between cutting-edge trading velocity and uncompromised structural security.

Morning Report | BitMine increased its holdings by 126,971 ETH last week; trader Eugene announced his exit from the crypto market

Overview of Important Market Events on June 8th

Wang Chuan: How can one not feel anxious after the neighbor Old Wang made thirty times profit by investing in storage stocks? (Seven) - A quarter-century cycle

In-depth analysis of the "reflexivity" bubble trap in storage stocks: Beware of the backlash from the bullwhip effect and the false narrative of high growth; do not let the short-term myth of wealth become a wealth abyss that cannot be recovered for 25 years.

Get Paid to Onboard? Try WEEX’s New Homepage with Rewards for Registration, Deposit & Trade

WEEX just launched a brand new homepage and a 3-step new user onboarding guidance. Complete Registration → Deposit → Trade to earn exclusive rewards. Faster navigation, clear progress, and instant bonuses. Download the latest WEEX App to try it now.

WEEX Custom Layout: Build Your Perfect Trading Workspace in Seconds

WEEX introduces custom layout on futures trading page: left/right panel switch, hide/show core modules, full-screen focus, and one-click reset. Trade your way now.

See “Buy Walls” & “Sell Walls” Instantly: WEEX Launches the Depth Chart for Smarter Trades

Spot market liquidity at a glance. WEEX’s new Depth Chart shows you buy/sell walls, support & resistance levels, and order book depth. Perfect for large orders and scalping. Try it now on WEEX Futures.

Popular coins

Latest Crypto News

Read more
iconiconiconiconiconiconicon
Customer Support:@weikecs
Business Cooperation:@weikecs
Quant Trading & MM:bd@weex.com
VIP Program:support@weex.com