dshbase

插件目录 / Desktop / AgentCat

AgentCat

已验证 · 实测可装 LRainner

✓ 持续维护 2 位贡献者

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
0未关闭 issue
Rust语言
2026-08-15最近推送
跨平台平台

功能简介

A lightweight desktop companion that brings AI agent activity to life through animated pets and real-time status updates / 一款轻量的桌面伴侣,用动画宠物实时呈现 AI Agent 的工作状态

✅
我们的评价
可用 — 实测通过,早期项目

A lightweight desktop companion that brings AI agent activity to life through animated pets and real-time status updates / 一款轻量的桌面伴侣,用动画宠物实时呈现 AI Agent 的工作状态 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

Agent Cat

Agent Cat icon

An animated desktop companion for AI agents.

English · 简体中文

Agent Cat brings AI agent activity to life through animated desktop pets and real-time status updates. It is designed as an agent- and platform-independent companion, with Codex, Claude Code, and DeepSeek Harness integrations on macOS and Windows.

Agent Cat desktop pet with overlapping Codex status bubbles

Current status: Agent Cat is under active development. The current version supports macOS 12 or later and Windows 10 or later, and integrates with Codex, Claude Code, and DeepSeek Harness. Support for more agents and operating systems is planned.

Download

Download the latest build from GitHub Releases.

The current macOS build is not notarized with an Apple Developer ID. If macOS blocks the first launch, right-click Agent Cat and choose Open, or allow it from System Settings → Privacy & Security. Only install builds downloaded from this repository.

The current Windows build is not code-signed. Windows SmartScreen may show a warning on first launch; only continue when the installer was downloaded from this repository.

Highlights

  • Animated desktop pets with click, double-click, drag, idle, and pointer-following reactions
  • Real-time agent state displayed beside the pet without expanding its clickable area
  • Configurable size, opacity, always-on-top behavior, mouse passthrough, and position locking
  • System tray controls, launch at login, a settings window, and an animation debugger
  • Codex-compatible v1 and v2 pet packs, including all nine standard animations and 16 v2 look directions
  • Pet discovery from installed ChatGPT/Codex apps, ~/.codex/pets, and user-selected directories
  • On-demand access to locally installed pet assets without copying or redistributing them
  • A built-in original fallback pet when no compatible pet pack is available

Agent integrations

Codex

Agent Cat can react to Codex sessions through command hooks. The settings window can install, repair, test, and remove the integration while preserving hooks owned by other tools.

The integration currently recognizes session start/end, prompt, tool, subagent, compaction, permission, completion, and interrupted-turn events. Live status and task summaries can be enabled independently.

Claude Code

Agent Cat installs command hooks into ~/.claude/settings.json without replacing existing Claude Code settings or hooks. It observes 13 state-relevant events covering sessions, prompts, tools and tool failures, subagents, compaction, permission requests, turn completion and API failures. The integration can be installed, tested, paused, repaired, and removed independently from Codex.

DeepSeek Harness

Agent Cat reacts to DeepSeek Harness through the bundled dsh-session-agent-cat plugin (Settings → Agents → DeepSeek Harness → Connect). It forwards only sanitized lifecycle metadata locally — tool arguments, file contents, and terminal output never leave the harness process. Restart DeepSeek Harness after the first install or an update; see the plugin README for details.

Pet packs

Each pet lives in its own directory and contains a pet.json manifest plus a PNG or WebP spritesheet:

{
  "id": "my-pet",
  "displayName": "My Pet",
  "description": "An optional description",
  "spriteVersionNumber": 2,
  "spritesheetPath": "spritesheet.png"
}

The current renderer supports the Codex-compatible sprite layout:

  • Cell size: 192 × 208
  • v1 sheet: 8 × 9 cells (1536 × 1872)
  • v2 sheet: 8 × 11 cells (1536 × 2288)
  • spriteVersionNumber may be 1 or 2; omitting it selects v1

Place custom packs in ~/.codex/pets or add another directory from Settings.

Development

Requirements

  • macOS 12 or later, or Windows 10 or later
  • Node.js 20.19 or later
  • A stable Rust toolchain
  • Xcode Command Line Tools on macOS
  • Microsoft Edge WebView2 Runtime on Windows (the installer can download it when needed)

Run locally

npm install
npm run tauri -- dev

Right-click the pet to open Settings. Auxiliary windows can also be opened from the command line:

agent-cat --settings
agent-cat --pet-debug

Test and build

Install Playwright Chromium once before running the browser tests or regenerating screenshots:

npx playwright install chromium
npm test
npm run test:e2e
npm run screenshots
npm run build
cargo test --manifest-path src-tauri/Cargo.toml
npm run tauri -- build

npm run screenshots regenerates the deterministic product images in docs/images with mocked local data.

To build only the Windows NSIS installer, run npm run build:windows on Windows. On macOS, npm run build:macos builds the app bundle.

Project structure

assets/       Original application and menu bar artwork
docs/         Product screenshots generated for the README
e2e/          Browser tests and the deterministic screenshot generator
fixtures/     Deterministic pet packs used by automated tests
plugins/      Agent integration plugins (e.g. dsh-session-agent-cat)
src/          HTML, TypeScript, CSS, and frontend tests
src-tauri/    Rust backend, Tauri configuration, and platform icons

Privacy

Agent Cat processes Codex, Claude Code, and DeepSeek Harness events locally. Its hook helper extracts lifecycle identifiers, the hook event name, and a sanitized tool name, sends them through a local Unix domain socket on macOS or a loopback-only TCP connection on Windows, and exits immediately. For Codex only, it also receives the active transcript path to detect Esc interruptions, reads only newly appended records while a task is active, and discards raw records after checking their lifecycle metadata. Claude Code transcripts are not observed, and the DeepSeek Harness plugin likewise forwards only sanitized lifecycle metadata.

When task summaries are enabled, Agent Cat keeps at most the first non-empty prompt line, truncated to 80 characters, in memory for live display. It does not store the summary in its configuration, logs, or history.

Agent Cat does not persist full prompts, tool arguments, file contents, transcripts, terminal output, token usage, or model information. It does not maintain an activity history or send this data to a remote service.

Roadmap

  • Additional AI agent adapters
  • Linux support
  • A documented, agent-neutral event adapter interface
  • A standalone pet-pack specification and authoring workflow

Contributions and ideas are welcome while the project takes shape.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 AgentCat」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:LRainner/AgentCat

Headless(CLI)profile:

dsh plugin --profile headless add github:LRainner/AgentCat

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

把 dsh 跑成原生桌面应用——独立窗口、托盘图标、快捷键——而不是浏览器标签。

适合谁

想要已安装应用的感觉和系统集成(托盘、全局热键、开机自启)的人。

二次开发建议

原生壳是缝——加全局快捷键、通知、单实例锁或按 OS 定制的行为。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Desktop 里更多

浏览全部 7797 个插件 →