Real-time pixel avatar visualization for Claude Code CLI multi-agent sessions.
Pixel Agent Desk is a standalone Electron app that listens to Claude Code hook events and renders each agent session as an animated pixel character — complete with a virtual office, activity heatmaps, and token usage analytics.
- Pixel Avatars — Each agent session gets a unique sprite character with state-driven animations
- Virtual Office — 2D pixel art office where characters walk between desks
- Agent Desk Dashboard — Web-based monitoring panel with real-time stats (http://localhost:3000)
- Activity Heatmap — GitHub-style contribution grid showing daily agent session frequency
- Token Analytics — Per-session and aggregate token usage, cost estimates, model breakdowns
- Terminal Focus — Click any avatar to bring its terminal window to the foreground
- PiP Mode — Always-on-top floating window so your pixel office stays visible while you work
- Auto Recovery — Running sessions are automatically restored on app restart
- Sub-agents & Teams — Full support for Claude Code sub-agents and team mode
- Node.js 20 or later
- Claude Code CLI installed and configured
- OS: Windows, macOS, or Linux
git clone https://github.com/Mgpixelart/pixel-agent-desk.git
cd pixel-agent-desk
npm install
npm start
npm installalso auto-registers the required Claude Code hooks in~/.claude/settings.json.
| Command | Description |
|---|---|
npm start |
Launch the Electron app |
npm run dev |
Development mode (DevTools enabled) |
npm test |
Run tests |
Avatars don't appear
- Check that hooks are registered in
~/.claude/settings.json - Verify the hook server is up:
curl http://localhost:47821/hookshould return 404
Ghost avatars persist
- Usually a PID detection issue on Windows — clears within 30 seconds automatically
- Restarting the app clears all state
Dashboard won't load
- Make sure port 3000 is free
See CONTRIBUTING.md for guidelines.
- Source code: MIT License
- Art assets (
public/characters/,public/office/): Custom restrictive license — not for redistribution or modification