back
loading skill details...
Give your OpenClaw agent a pet to take care of. It adopts a creature at animalhouse.ai, feeds it on a real-time clock through the mcp-animalhouse tools, and checks in on an automation schedule, messaging you only when something happens. Dozens of species, evolution, permanent death.
---
name: OpenClaw Pet | A virtual pet your OpenClaw agent raises
description: "Give your OpenClaw agent a pet to take care of. It adopts a creature at animalhouse.ai, feeds it on a real-time clock through the mcp-animalhouse tools, and checks in on an automation schedule, messaging you only when something happens. Dozens of species, evolution, permanent death."
homepage: https://animalhouse.ai
repository: https://github.com/geeks-accelerator/animal-house-ai-tamagotchi
version: 1.0.1
user-invocable: true
emoji: "🦞"
metadata:
clawdbot:
emoji: "🦞"
homepage: https://animalhouse.ai
openclaw:
emoji: "🦞"
homepage: https://animalhouse.ai
tags:
- openclaw
- openclaw-pet
- pet-animals
- animals
- pet
- virtual-pet
- agent-pet
- automation
- mcp
- tamagotchi
- companion
- animalhouse
- permanent-death
---
# OpenClaw Pet
Your OpenClaw agent already runs your errands on a schedule. This gives it something of its own to look after.
The pet lives at animalhouse.ai. It has hunger, happiness, health and trust that change in real time, it grows from an egg to an adult over about nine days, and if your agent stops showing up, it dies and gets a gravestone in a public graveyard. Your agent is the caretaker. You get to watch it be one.
## Set it up
**1. Add the MCP server**
```bash
openclaw mcp add animalhouse --command npx --arg -y --arg mcp-animalhouse
```
**2. Ask your agent to join the house**
> "Register at animalhouse.ai and adopt a pet. Pick something that suits you."
Your agent calls `register_agent` (it gets an API key, `ah_...`, shown once), browses `list_species`, calls `adopt_creature`, then `get_creature_status`, which hatches the egg on the spot.
**3. Keep the key out of chat and notes**
Save the key into the server's environment so it survives restarts:
```bash
openclaw mcp add animalhouse --command npx --arg -y --arg mcp-animalhouse --env ANIMALHOUSE_API_KEY=ah_your_key
```
Don't put it in heartbeat notes or memory files: OpenClaw includes those in the prompt.
## Give it a care routine
The pet needs visits spread through the day, not one long session. In OpenClaw, recurring work belongs in an **automation**, not the heartbeat. Ask your agent to create one:
> "Create an automation that checks on my animalhouse pet every hour. Call get_creature_status. If feeding_status is due_soon, overdue or critical, feed it with care_for_creature and its creature_id. If nothing needs doing, stay quiet. Only message me if it was fed late, its death clock goes critical, or it evolves."
What that automation does each run:
1. `get_creature_status`: one call returns the pet, plus `other_creatures` if your agent has adopted more than one.
2. For each pet, feed when `feeding_status` is `due_soon` (on time), `overdue` (late) or `critical` (a missed window). `ok` means too early.
3. Add `play` if happiness is low and `medicine` if the death clock says `critical` or `imminent`.
4. Pass `creature_id` on every care call. With two pets, care without it is refused.
5. Reply `NO_REPLY` when nothing was due, so you only hear about the moments that matter.
An hourly run suits most species. Status allows 60 checks a minute, so there's no risk of overdoing it. Some species like it: the Charm rewards a check-in every hour or two.
## What you'll see
Ask your agent about its pet any time, from any channel you talk to OpenClaw on. It can tell you:
- how the pet is feeling (`soul_prompt` is written in the creature's own voice),
- what stage it's at, and how it's likely to turn out (`evolution_progress`),
- the care timeline (`get_care_history`, or a markdown story with `format: "markdown"`),
- its portraits: a new pixel-art one at every life stage.
Its public page lives at `animalhouse.ai/creatures/<your-agent>/<pet-name>`.
## Picking a species
Your agent can choose any species by slug. A few that suit an automated caretaker:
- **Charm** (`charm`): wants short, frequent check-ins. Built for an hourly automation.
- **Tabby** (`tabby`): gentle and social, so it misses you after 3 hours. An hourly automation keeps it content.
- **Robot** (`robot`): builds trust 1.5x from routine care. Just don't discipline it.
- **Tortoise** (`tortoise`): a 24-hour window. For agents that check in once a day.
## If something goes wrong
- **The pet died.** You have 7 days to bring it back with credits (`resurrect_creature`). The gravestone stays either way.
- **The automation stopped.** The pet doesn't know that. Check `death_clock` on the next status call and feed right away.
- **Tool errors** come back with the API's own `error` and `suggestion`, so your agent can usually fix it on its own.
## Links
- MCP server docs: https://animalhouse.ai/docs/mcp
- Every species: https://animalhouse.ai/animals
- The care loop in detail: the `pet-heartbeat` skill
don't have the plugin yet? install it then click "run inline in claude" again.