ntd4996/agentpet

A desktop pet for macOS & Windows that monitors your AI coding agents (Claude Code, Codex, Cursor, Gemini...) in real time, and grows as you code, feed it tokens, level it up, climb the leaderboard.

AgentPet — What It Is

AgentPet is a free, open-source desktop app that pairs a menu-bar monitor with a pixel-art desktop pet to help people who run several AI coding agents at once (like Claude Code, Codex, Gemini, or Cursor).

The Problem It Solves

When you have multiple coding agents working simultaneously, it's hard to tell which one is actively working, which is done, and which is stuck waiting for your input. AgentPet shows all of this at a glance: a menu-bar list displays every agent with a colored status dot, its project, what it's currently doing, and a live timer. The menu-bar icon also turns orange with a count when an agent needs your input, and native notifications (with toggleable sounds) fire when agents finish or ask for something.

The Tamagotchi Twist

The pet is "fed" by real work: the tokens your agents consume and the sessions they complete. This earns the pet XP, levels it up, unlocks achievements, and evolves it through five stages — Hatchling → Companion → Scout → Hero → Legend. Each pet keeps its own level, and you can assign different pets to different project folders. Right-clicking the pet opens a game-style HUD showing level, XP, hunger, a 7-day token-burn chart, your streak, and your live Claude/Codex subscription limits (read directly from your sign-ins). There are 14 achievements tied to real milestones like first session, level-ups, and token burns (1M / 10M / 50M).

Key Capabilities

  • Multi-agent monitoring — live status for 11 supported agents out of the box (Claude Code, Codex, Gemini CLI, opencode, Factory Droid, Cursor, Windsurf, Antigravity, GitHub Copilot, Kiro CLI, Pi), plus a universal wrapper (agentpet run -- <command>) for anything else.
  • Session history — the last 90 days of sessions kept locally.
  • Per-project usage dashboard — see token consumption by project and by agent, daily and monthly.
  • Speech bubbles — themed, reactive bubbles per agent with a model badge, fully customizable.
  • Break reminder — optional nudge after long stretches (off by default).
  • Optional cloud features — sign in with GitHub to get a web profile, a community leaderboard (by level, sessions, or tokens), and cross-device restore of your pets. Everything works fully offline if you skip this; nothing leaves your machine until you sign in. Only the last folder name of each project is ever sent, never the full path.
  • Community pet gallery — browse thousands of pets, adopt one in a click, submit your own. Pets use the open Codex pet-pack format (pet.json + spritesheet). AgentPet bundles no pet art of its own; every pack is added at runtime and owned by its submitter.

Platforms & Tech

  • macOS 13+ — native Swift/SwiftUI, Apple notarized, auto-updates via Sparkle, Homebrew cask available.
  • Windows 10/11 — built with Tauri (Rust), auto-updates, feature parity with macOS. (Not yet code-signed, so SmartScreen may warn on first launch.)
  • Linux — same Tauri app, shipped as AppImage / .deb / .rpm, feature parity with macOS.

Under the hood: a Unix-socket daemon receives agent events from lightweight hooks, an on-device store drives the pet, and an optional Astro + Cloudflare Workers/D1 backend powers the web features.

Installation

  • macOS: brew install --cask ntd4996/tap/agentpet, or download the DMG from Releases.
  • Windows: download installer or portable build from the website or Releases.
  • Linux: download AppImage/.deb/.rpm, or one-line install: curl -fsSL https://agentpet.thenightwatcher.online/install.sh | sh.
  • Build from source (macOS): clone, run ./scripts/build-app.sh release, requires Xcode 16 / Swift 6.

Getting Started

  1. Launch AgentPet (it lives in the menu bar).
  2. In Settings → General, click Install next to your agent (e.g., Claude Code), then enable notifications.
  3. Run an agent — the pet reacts and the menu-bar icon shows who's working or waiting.
  4. Optionally sign in with GitHub to sync companions and unlock web features.

Credits & License

Created by Nguyễn Thành Đạt (@ntd4996) with co-founder @hoangphison and many community contributors. The pet-pack format and idea come from Petdex (MIT). A community GTK4 port for Linux exists at agentpet-linux.

Licensed under MIT — this covers the application code only; pet assets belong to their respective creators and are not part of the repository.

Related

  • Project
  • Project
  • Project
  • Project
  • Project