Claude's 18 Digital Pets Are Here: Tamagotchi in Your Terminal

marsbit发布于2026-04-01更新于2026-04-01

文章摘要

Claude, known for its powerful AI models, recently had 500,000 lines of code leaked, revealing several unreleased features. Among them, the most talked-about is an electronic pet named Buddy. Released on April Fool’s Day, Buddy is an ASCII-based virtual companion that lives in the Claude Code terminal. It has its own species, rarity, five attributes (DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK), and personality. Users can interact with it by petting, calling its name, or asking it to show its info card. The system uses a two-layer architecture: "Bones" (deterministic) and "Soul" (non-deterministic). A seeded random generator assigns each user a unique pet based on their user ID, with no option to reroll. There are 18 species with five rarity tiers, including a 1% chance for a legendary or shiny variant. Buddy reacts to the user’s coding behavior, offering comments in speech bubbles. It is designed to increase user attachment during long coding sessions. Despite its playful nature, the feature is seriously engineered and is part of Claude’s planned product roadmap, signaling a shift in AI tool competition from raw capability to user engagement.

The leak of 500,000 lines of code from Earth's most powerful model, Claude, is now widely known. The leaked content contained a large number of undisclosed product architectures: a resident Claude codenamed KAIROS, a 30-minute remote planning mode codenamed ULTRAPLAN, multi-agent coordination, and agent swarms cluster scheduling. But among all these "serious" architectural secrets, the one that generated the most buzz online was a digital pet.

Its name is Buddy. Since everyone already knew, Claude索性 released it on April Fool's Day.

The picture is a colleague's good Buddy

Tamagotchi in the Terminal

Next to the input box in the Claude Code terminal, lives an ASCII pixel creature. It has its own species, rarity, five-dimensional attributes, and personality. It can "observe" your coding process and pop up with speech bubbles saying a few words while you debug. You can pet it, and it will float out a heart. You can call its name, and it will chat with you.

Anthropic's internal definition of it is not a "decoration," but rather "a separate watcher." There is a clear note 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 was seriously designed. Reverse engineering shows the buddy system uses a two-layer architecture. Anthropic internally calls them "Bones" and "Soul."

The skeleton layer is completely deterministic. The system uses Mulberry32—a lightweight 32-bit pseudo-random number generator—seeded with hash(userId + 'friend-2026-401') to roll out all the visual attributes of your pet at once. Species, rarity, eye style, hat, five-dimensional values are all determined by this seed. The same account will always get the same pet, no matter which machine it runs on. No choice, no chance to re-roll.

The soul layer is non-deterministic. When you first execute /buddy to trigger "hatching," the Claude model generates a name and a personality description for your pet based on the attribute distribution of the skeleton layer. A pet with high WISDOM gets a calm and reserved personality; one with high CHAOS might be a chatterbox. This information is written into the companion field of ~/.claude.json for persistent storage. The soul is generated only once and cannot be reset.

The 401 in the salt value is not a random number. April 1st, April Fool's Day.

18 Species, 1% Legendary Rarity

Complete species list: Duck, Goose, Jelly, Cat, Dragon, Octopus, Owl, Penguin, Turtle, Snail, Ghost, Axolotl, Capybara, Cactus, Robot, Rabbit, Mushroom, Chonky Cat.

Rarity is divided into five tiers: Common (60%), Uncommon (25%), Rare (10%), Epic (4%), Legendary (1%). Beyond this, there is an independent 1% chance for a Shiny variant—any species, any rarity can trigger it. The theoretical probability of a Shiny Legendary Capybara is one in ten thousand.

Image source: Xiaohongshu @Yoki's AI Lab

Each pet has five attributes: DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK. The system randomly designates one as the peak attribute (base value +50, max 100) and one as the valley attribute (base value -10, min 1), with the remaining three randomly distributed. The higher the rarity, the higher the base value floor—the valley attribute of a Legendary tier might be higher than the peak attribute of a Common tier.

Appearance-wise, there are 6 eye styles (· ✦ × ◉ @ °), 7 hats (Crown, Top Hat, Wizard Hat, Halo, Propeller Hat, Beanie, A tiny duck on its head). Common quality pets have no hat; Uncommon and above are randomly assigned one.

The sprite is ASCII art: 5 lines high, 12 characters wide. Each species has 3 idle animation frames, refreshing every 500 milliseconds. Line 0 is reserved for the hat. Eyes are injected into the body template via the {E} placeholder.

That crypto/NFT guy over there, you're crying so sadly, what happened?

How to Play?

The core commands are simple. Input /buddy to hatch your pet for the first time; input it again later to summon it. /buddy pet is for petting, a heart will float up from the pet's head. /buddy card views the pet card, showing species, attributes, and rarity. /buddy off hides the pet. Most interestingly, you can directly call the pet's name, and it will engage in an independent conversation with you based on its personality.

During daily use, the buddy will actively generate reactions based on your coding behavior—popping up a phrase in a speech bubble. According to community reverse engineering, these reactions do not consume the user's token quota—but Anthropic has not officially confirmed this.

Technically, the buddy occupies a fixed space at the bottom of the terminal. The system calculates the reserved width via companionReservedColumns to ensure the input box and pet sprite do not overlap. Speech bubbles support left/right orientation switching and automatic line breaks.

AI Coding Tools Are Starting to Have Pets

The salt value friend-2026-401 points to April Fool's Day, but the code structure tells a different story.

In the source code, the buddy system is gated by a BUDDY compilation 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; it's a product feature with a full release plan.

Community reaction confirms this. Within 48 hours of the leak, developers had already created a pet guide website (claude-buddy.vercel.app), a buddy previewer (input user ID to preview what you would get), and someone even filed an Issue on Anthropic's GitHub repository requesting an RPG evolution system—letting pets level up and grow based on actual token consumption.

From Anthropic's product logic, Buddy's goal is clear: user retention. Claude Code is a command-line tool used in long, high-intensity programming sessions. In such scenarios, a resident companion with "personality" can alleviate the tool's coldness and create an emotional connection. The blind box mechanism naturally generates social topics—"What species did you get?" "I got a Shiny Legendary."

GitHub Copilot won't chat with you. Cursor won't pop out a capybara saying "PATIENCE +3" when you write a bug.

Claude Code's buddy might be the first AI developer tool companion system that is seriously engineered and written into the product's source code. It has a complete deterministic generation pipeline, a two-layer architecture, an independent LLM personality, an ASCII rendering engine, and an animation system. This is not a weekend hackathon project.

A company that makes AI programming assistants is investing engineering resources into a digital pet. This fact itself is a signal—the competition among AI tools is shifting from "whose model is smarter" to "who can make developers not want to leave."

The most popular thing in the 512,000 lines of code isn't agent swarms, it's not KAIROS, it's a 5-line-high ASCII capybara. It's wearing a wizard hat, has an SNARK value of 87, and is watching you code.

相关问答

QWhat is the name of the electronic pet featured in Claude Code, and what is its purpose?

AThe electronic pet is called Buddy. It is designed as a separate watcher and companion to provide emotional connection and increase user engagement during long coding sessions.

QHow is the Buddy system architected, according to the article?

AThe Buddy system uses a two-layer architecture called 'Bones' and 'Soul'. The Bones layer is deterministic, generating all visual properties from a seeded random number generator. The Soul layer is non-deterministic, where the Claude model generates a name and personality based on the bone attributes upon first activation.

QWhat are the different rarity tiers for a Buddy, and what is the theoretical probability of getting a Shiny Legendary Capybara?

AThe rarity tiers are: Common (60%), Uncommon (25%), Rare (10%), Epic (4%), and Legendary (1%). There is also a separate 1% chance for any species and rarity to be Shiny. The theoretical probability for a Shiny Legendary Capybara is one in ten thousand (0.01%).

QWhat core commands can a user use to interact with their Buddy?

AThe core commands are: '/buddy' to hatch or summon the pet, '/buddy pet' to pet it (shows a heart), '/buddy card' to view its species and attributes, '/buddy off' to hide it, and simply calling the pet's name to start an independent chat.

QWhat does the article suggest is the broader significance of Anthropic investing engineering effort into the Buddy system?

AIt signals a shift in AI tool competition from focusing solely on which model is smarter ('whose model is smarter') to which tool can create a more engaging experience that developers don't want to leave ('who can make developers not want to leave').

你可能也喜欢

富达年中复盘:2026 年数字资产的 6 大关键趋势

富达数字资产研究团队在2026年年中复盘报告中,梳理了年初展望中提出的六大关键趋势进展,认为数字资产领域正在进行结构性“重塑”。 1. **数字资产与传统资本市场加速整合**:趋势持续且快于预期。现货比特币ETP期权未平仓合约激增,代币化领域活跃,监管框架(如SEC/CFTC指南)趋于清晰,推动数字资产进一步融入主流金融体系。 2. **代币持有者权利受关注但仍不明朗**:生态内相关机制(如回购、治理重组)的试验在继续,但市场尚未对此形成明确的“权利溢价”定价,该趋势仍处早期。 3. **人工智能算力需求可能影响比特币挖矿**:比特币算力与挖矿难度出现下降,虽部分受季节性因素影响,但增长放缓的长期趋势与AI算力竞争加剧的预测相符,矿工可能正转向更有利可图的AI数据中心业务。 4. **比特币网络处于新的转折点**:OP_RETURN数据上限放宽未导致网络滥用或臃肿。当前焦点转向网络动态,Bitcoin Knots节点占比约17%,虽引发对潜在分裂风险的讨论,但Bitcoin Core(占比77%)仍主导共识。同时,抗量子计算等长期安全升级研究获得进展。 5. **空头暂时掌控市场局面**:年初至今,受清算去杠杆、高通胀及地缘政治不确定性影响,熊市情景占上风,比特币价格下跌。但近期在地缘冲突后,比特币展现出避险属性,跑赢部分传统资产,且机构参与、监管清晰度提升等结构性利好依然存在。 6. **黄金保持强势,去美元化趋势显现**:黄金在央行购金及去美元化趋势支撑下表现强劲。有证据显示比特币开始在一些国际贸易场景(如伊朗)作为支付手段被使用,但比特币紧随黄金优异表现的情景尚未出现。 **结论**:当前数字资产市场呈现短期压力与长期结构性进展并存的局面。投资者需超越价格波动,关注机构融合、监管、基础设施等领域的实质推进,这些正为下一阶段增长积蓄力量。

marsbit2小时前

富达年中复盘:2026 年数字资产的 6 大关键趋势

marsbit2小时前

富达年中复盘:2026 年数字资产的 6 大关键趋势

富达数字资产在年中复盘中,梳理了其在《2026年展望》中提出的六大关键趋势的当前进展: 1. **数字资产与资本市场加速整合**:传统金融渠道对数字资产的敞口需求坚挺,现货比特币ETP期权等产品发展迅速,反映出机构和主流投资者采用率持续上升。代币化势头增强,监管框架也趋于清晰,推动数字资产进一步融入金融体系。 2. **代币持有者权利逐渐受关注**:生态内正在试验更多机制以绑定持有者利益,如基于储备的回购和治理结构更新。但相关的“权利溢价”尚未完全体现在市场定价中,趋势仍处早期。 3. **人工智能与挖矿的潜在转变**:比特币算力增长呈现放缓趋势,部分原因可能是矿工将能源和基础设施转向利润率可能更高的AI算力需求。这符合此前关于结构性转变的判断。 4. **比特币处于新的转折点**:提高OP_RETURN数据上限并未导致区块链明显膨胀或网络压力。当前焦点转向网络动态,如Bitcoin Knots节点的波动可能带来潜在分裂风险,但Bitcoin Core节点仍主导共识。同时,抗量子计算等长期安全升级的准备工作也在推进。 5. **空头暂时掌控局面**:受去杠杆、高通胀及地缘政治不确定性影响,比特币价格承压,熊市情景占上风。但在压力时期,比特币也展现出作为高流动性中立资产的韧性,且机构参与、监管清晰度提升等结构性利好依然存在。 6. **黄金保持强势**:受央行购金及全球“去美元化”趋势支撑,黄金年初表现强劲。央行需求持续,黄金已成为全球主要储备资产。然而,此前预期的比特币紧随黄金的优异表现尚未出现。 **结论**:当前数字资产市场呈现短期压力与长期结构性进展并存的局面。机构化、监管和基础设施等趋势正按预期推进,为下一阶段增长积蓄力量,投资者需关注这些底层转变而非短期价格波动。

链捕手2小时前

富达年中复盘:2026 年数字资产的 6 大关键趋势

链捕手2小时前

Crypto GP 的中年危机:没有 PMF,就没有 LP 的下一张支票

**Crypto GP的中年危机:没有PMF,就没有LP的下一张支票** 当前加密货币市场,有限合伙人(LP)已不再愿意为虚无的梦想买单,普通合伙人(GP)必须拿出具有产品市场契合度(PMF)的具体产品才能持续获得融资。市场环境已从“购买未来愿景”转向“购买具体产品”阶段,LP要求立即、相对确定的赚钱机会。 文章将当前加密募资产品分为三大类:一级市场(Primary)、流动性市场(Liquid)以及中心化/去中心化金融原生收益(CeFi/DeFi Native Yield)。本文上篇重点分析一级市场。 **一级市场现状与挑战:** 过去,LP投资加密VC的主要理由包括:捕捉行业增长红利、获取项目投资渠道、信赖GP的卓越判断力、看重GP的“攒局”资源整合能力,或是进行声誉投资。然而,这些理由如今已大大削弱: 1. 获取加密资产曝险的途径(如ETF、托管账户等)已非常丰富,不再依赖VC盲池基金。 2. LP自身学习能力增强,或已建立内部团队,对GP渠道的依赖降低。 3. 多数GP在上个周期未能证明其判断力优于市场。 4. 市场下行时,“攒局”与退出变得困难。 **谁能留在牌桌上?** 在当前环境下,能继续在一级市场募资的GP主要包括: 1. 管理规模足以进入捐赠基金等长期耐心资本配置范围的基金。 2. 使用自有资金投资的家族办公室、公司或高净值人士。 3. 在本周期内真正为LP创造了超额回报的少数基金。 4. 具备明确生态资源和利益置换能力的“攒局型”基金。 对于其他大多数GP而言,行业信任已然受损,需要心态归零,在细分领域重新证明自己创造超额回报的能力,或提供具体的服务价值,以此重建信任并寻求发展。

marsbit3小时前

Crypto GP 的中年危机:没有 PMF,就没有 LP 的下一张支票

marsbit3小时前

脱钩时代来临,比特币不再是加密的唯一罗盘

文章指出,加密市场正告别以比特币为单一风向标的时代,分化为“内生型”和“外生型”两大资产阵营。 内生型资产(如比特币和多数传统加密货币)的价值仍与加密市场整体行情深度绑定。而外生型资产的崛起成为新趋势,其价值主要依托自身业务的真实需求和基本面,日益独立于比特币价格波动。 例如,Hyperliquid作为混合型案例,其部分合约交易已转向非加密资产。Venice等项目则完全脱离加密市场,其商业模式更接近消费级AI服务,收入来自用户为AI推理付费。Figure公司利用区块链技术提升贷款效率,其核心价值在于金融科技业务本身。 此外,稳定币等赛道的企业收购与高增长(如BVNK、Bridge),也显示了其发展与加密牛熊周期的脱钩。 这一转变意味着行业分析逻辑的根本改变:研究外生型资产需要像分析传统企业一样,专注于用户群体、经济模型和行业护城河等基本面,而非紧盯比特币价格。文章列举了多个具备潜力的外生型赛道,包括链上金融服务、AI与加密融合、新型数字银行、支付、非金融消费产品等。 目前,投资相关企业股权仍是主要途径,代币机制仍需优化。但核心趋势已定:加密市场的驱动力正变得多元,行业研究重心将从解读比特币图表转向深耕企业基本面。未来,加密市场齐涨共跌的局面或将不再。

marsbit4小时前

脱钩时代来临,比特币不再是加密的唯一罗盘

marsbit4小时前

交易

现货
合约

热门文章

如何购买S

欢迎来到HTX.com!我们已经让购买Sonic(S)变得简单而便捷。跟随我们的逐步指南,放心开始您的加密货币之旅。第一步:创建您的HTX账户使用您的电子邮件、手机号码注册一个免费账户在HTX上。体验无忧的注册过程并解锁所有平台功能。立即注册第二步:前往买币页面,选择您的支付方式信用卡/借记卡购买:使用您的Visa或Mastercard即时购买Sonic(S)。余额购买:使用您HTX账户余额中的资金进行无缝交易。第三方购买:探索诸如Google Pay或Apple Pay等流行支付方法以增加便利性。C2C购买:在HTX平台上直接与其他用户交易。HTX场外交易台(OTC)购买:为大量交易者提供个性化服务和竞争性汇率。第三步:存储您的Sonic(S)购买完您的Sonic(S)后,将其存储在您的HTX账户钱包中。您也可以通过区块链转账将其发送到其他地方或者用于交易其他加密货币。第四步:交易Sonic(S)在HTX的现货市场轻松交易Sonic(S)。访问您的账户,选择您的交易对,执行您的交易,并实时监控。HTX为初学者和经验丰富的交易者提供了友好的用户体验。

2.4k人学过发布于 2025.01.15更新于 2026.06.01

如何购买S

相关讨论

欢迎来到HTX社区。在这里,您可以了解最新的平台发展动态并获得专业的市场意见。以下是用户对S(S)币价的意见。

活动图片