DeepSeek Harness (DSH) is designed for plug-in-based functional extension. During long sessions of writing agent code, a desktop pet that can perceive coding behavior and evolve along with it can become a fun accent in the workflow. dsh-desktop-pet is exactly such a plugin, bringing a desktop pet into the DSH web interface.

It is a fun-oriented plugin maintained by JiayiXie-jpg. It provides not only basic floating companionship but also integrates a raising system, voice interaction, and AI-based avatar generation.

Core Features

Floating Companion
The desktop pet remains visible in the DSH interface, supports dragging and collapsing, and does not interfere with the normal workflow.

Raising System
It includes 6 races, 5 rarity tiers, and unique DNA. The pet’s state includes XP, mood, fullness, and intimacy, and it goes through three evolution stages, with the evolution direction related to coding habits.

Coding Integration
It detects task start, completion, errors, or new sessions in real time. The pet gains experience, switches animations, or shows speech bubbles based on these events.

Voice Encouragement
It uses seed-tts voices for automatic broadcasting, and clicking the pet also produces a response.

AI-Generated Avatar
It supports uploading a photo, generating a realistic avatar via Seedream, creating animation via Seedance, and finally obtaining a transparent-background dedicated desktop pet through green screen and Canvas color-key processing.

Interaction
It supports feeding, petting, re-hatching, and renaming.

Installation and Activation

  1. Install the dependency package:
pnpm add dsh-desktop-companion
  1. Add the following content to the profile’s cordis.patch.yml configuration file:
- insert:
    - id: dsh-desktop-pet
      name: dsh-desktop-companion
  1. Restart dsh web, and the desktop pet will appear in the bottom-right corner of the interface.

Typical Usage

After installation, the desktop pet will automatically interact based on DSH task events. To enable the AI-generated avatar or voice broadcasting feature, set the environment variables:

export DSH_PET_ARK_KEY=你的_Ark_API_Key     # Seedream 生图 / Seedance 动画
export DSH_PET_TTS_KEY=你的_语音_API_Key   # seed-tts-2.0 语音合成

If the above credentials are not configured, the plugin can still use the basic pixel pet, raising, and speech bubble interaction features.

Applicable Scenarios and Precautions

This plugin is suitable for developers who want companionship in the DSH web interface and use a desktop pet to reflect coding status.

Notes:
* AI image generation / animation and voice broadcasting depend on Volcano Engine credentials and are optional configurations.
* The plugin runs with the permissions of the current DSH process. It is recommended to check the source code and license before installation.
* After modifying the configuration, dsh web must be restarted for the changes to take effect.

Summary

dsh-desktop-pet combines DeepSeek Harness with raising-game mechanics, providing developers with a companion that evolves alongside coding activity. It is not only visually entertaining but also enhances the sense of interaction with the development environment through state management and event integration.

  • Plugin directory: https://www.skillhub.cn/plugins/JiayiXie-jpg/dsh-desktop-pet
  • Source code: https://github.com/JiayiXie-jpg/dsh-desktop-pet