@studiosunnyfield/pimagotchi
Pimagotchi β tamagotchi virtual pet for pi coding agent. 18 animated species, behavior-based evolution, rarity system, and more.
Package details
Install @studiosunnyfield/pimagotchi from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@studiosunnyfield/pimagotchi- Package
@studiosunnyfield/pimagotchi- Version
1.1.3- Published
- Apr 4, 2026
- Downloads
- 833/mo Β· 27/wk
- Author
- lenhsherr
- License
- MIT
- Types
- extension
- Size
- 91.7 KB
- Dependencies
- 0 dependencies Β· 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
πΎ Pimagotchi
Pimagotchi (Ο + γγΎγγ£γ‘) β a tamagotchi virtual pet for pi coding agent. Your pet evolves based on how you code.

Install
pi install npm:@studiosunnyfield/pimagotchi
Features
- 18 animated species β duck, cat, dragon, ghost, axolotl, capybara, and more (3 animation frames each)
- Behavior-based evolution β egg hatches at Lv.3 into a species based on your tool usage: bash warriors get dragons, careful readers get owls, 3am coders get ghosts
- Rarity system β common β legendary, more coding = better odds
- Cosmetics β 6 eye styles, 8 hats (unlocked by rarity), 1% shiny chance β§
- Animated widget β idle fidgets, blinks, excited during streaming, hearts when petted
- Persistent β your pet follows you across sessions
Usage

| Action | How |
|---|---|
| Action menu | Ctrl+; β overlay with arrow navigation |
| Toggle widget | /pet |
| Rename | /pet <name> |
| Feed | /pet feed |
| Pet | /pet pet |
| Stats | /pet stats |
| Manual hatch | /pet hatch (if Lv.3+) |
Evolution
Your egg hatches into a species based on your coding patterns:
| Pattern | Species Pool |
|---|---|
| Bash-heavy | π dragon, π€ robot, πͺΏ goose |
| Edit/write-heavy | π± cat, π° rabbit, π΅ cactus |
| Read-heavy | π¦ owl, π mushroom, π’ turtle |
| Night coding | π» ghost, π¦ axolotl |
| High tool count | π octopus, π snail |
| Balanced | π«§ blob, 𦫠capybara, π€ duck, π§ penguin, πΊ chonk |
Rarity
| Rarity | Base Odds | Hats Available |
|---|---|---|
| β Common | 60% | none, beanie |
| β β Uncommon | 25% | + propeller |
| β β β Rare | 10% | + tophat, wizard |
| β β β β Epic | 4% | + crown, halo |
| β β β β β Legendary | 1% | + tinyduck |
More tool calls at hatch time = better rarity odds.
Credits
Sprite art adapted from Claude Code's buddy system. Evolution and progression system original.