explaingit

leozhaorx/openclaw-desk-pet

Analysis updated 2026-05-18

30SwiftAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A macOS desktop cat that animates in real time to show what your OpenClaw AI agent is doing: idle, working, or asleep.

Mindmap

mindmap
  root((OpenClaw Desk Pet))
    What it does
      Animates agent status
      Sends quick tasks
    Tech stack
      Swift
      SwiftUI
      Python
    Use cases
      Agent status at a glance
      Desktop task launcher
    Audience
      Developers
      OpenClaw users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

See at a glance whether your OpenClaw agent is idle, thinking, or running a task

USE CASE 2

Launch quick tasks or type requests to OpenClaw directly from the desktop

USE CASE 3

Keep track of long-running agent tasks and sub-tasks without switching back to a terminal

What is it built with?

SwiftSwiftUIAppKitPython

How does it compare?

leozhaorx/openclaw-desk-petbytonylee/mac-whisperljmng7/macmix
Stars303030
LanguageSwiftSwiftSwift
Setup difficultymoderateeasyeasy
Complexity3/52/52/5
Audiencedevelopergeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires macOS 13 or newer, Swift, Python, and an existing OpenClaw installation to connect to.

Free to use, modify, and share, including commercially, as long as you keep the copyright notice (MIT license).

In plain English

OpenClaw Desk Pet is a native macOS app that turns the invisible work of an AI agent called OpenClaw into a small animated cat sitting on your desktop. The idea is simple: instead of repeatedly switching back to a terminal or dashboard just to check whether an AI agent is still working, you glance at the cat. If it is sitting calmly, the agent is idle. If it stands up and gets busy, a task has started. If it looks like it is checking a phone, it is still working on something. The cat does not do any of the actual AI work itself. OpenClaw remains responsible for real tasks such as running tools, thinking through steps, and spawning sub tasks, while the desk pet only listens to a stream of status events coming from OpenClaw's Gateway and translates them into matching animations, such as thinking, calling a tool, finishing a task, or falling asleep when nothing is happening. You can also start new tasks directly from the desktop, either by clicking a preset quick task button or by typing a request, and that request is sent back to OpenClaw to actually carry out. If the live event stream from the Gateway is temporarily unavailable, the app falls back to reading recent local session files so the cat's behavior stays reasonably accurate rather than freezing. All of the animation switching happens at natural break points in the cat's movement clips, so the transitions between states look smooth rather than jumpy. Setup and configuration are handled through a small local web page rather than editing files by hand, letting you set the OpenClaw folder location, the Gateway address, a startup script, and the desktop's quick task buttons, with changes saved automatically. The project requires macOS 13 or newer, Swift, Python, and an existing OpenClaw installation to connect to. It is open source and released under the MIT license.

Copy-paste prompts

Prompt 1
Help me install and configure OpenClaw Desk Pet to connect to my local OpenClaw Gateway
Prompt 2
Explain what each of the cat's animation states means about my OpenClaw agent
Prompt 3
Show me how to add or edit quick task buttons in the Desk Pet config console
Prompt 4
Walk me through what happens when the Gateway connection drops and the app falls back to session files

Frequently asked questions

What is openclaw-desk-pet?

A macOS desktop cat that animates in real time to show what your OpenClaw AI agent is doing: idle, working, or asleep.

What language is openclaw-desk-pet written in?

Mainly Swift. The stack also includes Swift, SwiftUI, AppKit.

What license does openclaw-desk-pet use?

Free to use, modify, and share, including commercially, as long as you keep the copyright notice (MIT license).

How hard is openclaw-desk-pet to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is openclaw-desk-pet for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.