# Repository Briefing: pixel-agents-hq/pixel-agents
> Source: https://repoforai.com/repo/pixel-agents-hq/pixel-agents (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/pixel-agents-hq/pixel-agents
- **Official Docs / Website**: https://pixel-agents.com/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: TypeScript
- **License**: MIT
- **Engineering Health**: A+ (99/100 · Maintenance 35/35 · Adoption 24/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.6.0 (2026-11-10) — https://github.com/pixel-agents-hq/pixel-agents/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, Self-Hosted
- **Momentum**: 10,525 ★ total (+13 24h / +104 7d) · 1,786 forks
- **Topics**: `ai-agents`, `claude-code`, `cli`, `developer-tools`, `pixel-art`, `vscode-extension`
- **When to Use**: Best for: Developers running several Claude Code sessions who want to see which one needs attention and return to its terminal or conversation quickly, in VS Code or a private browser setup. Skip if: Your current terminal panes are sufficient, you need multi-provider orchestration, or policy rules out transcript access or browser-based terminal control.

## Overview
```text
### Architecture & Core Mechanics
Pixel Agents is a TypeScript control and visualization layer for Claude Code terminals. A shared office UI runs in a VS Code webview or in a browser served by the `pixel-agents` CLI. The tree separates `adapters/`, `core/`, `server/`, and `webview-ui/`. The standalone stack includes Fastify, `@fastify/static`, `@fastify/websocket`, `@fastify/cors`, and the `@lydell/node-pty` terminal dependency. VS Code launches agents in its own terminals; the standalone host runs terminals server-side and streams them to the browser.

In the default detection path, a hook script receives events such as `SessionStart`, `PreToolUse`, `PermissionRequest`, and `Stop`, discovers active Pixel Agents servers, and forwards authenticated events to each. The runtime also reads JSONL transcripts under `~/.claude/projects/` for details unavailable in hook events. When hooks are unavailable, those transcripts become the basis for heuristic state detection. The office can therefore represent sessions started outside the UI as well as sessions it launches.

### Key Capabilities & Differentiators
The office is an operational view of Claude Code activity: characters show whether agents are reading, editing, or running commands, and sub-agents and teammates can appear separately. Speech bubbles and optional chimes surface input requests, permission requests, and finished turns. Directory entries tie a launch path to preferred seating areas and default characters; recent sessions are grouped by directory and can be resumed as their previous characters. Adopted headless sessions can be displayed as ghosts to distinguish them from sessions with a terminal to focus.

Layouts round-trip as JSON and support external asset directories. Character editing covers clothing and accessories, recoloring, pixel-level edits, and reusable custom items. Individual characters export as PNG or configuration files, while the roster exports as ZIP. Per-agent context bars and opt-in plan-usage bars answer different questions: how much context an agent has left versus how much allowance remains on the plan. Claude Code is the supported backend; Codex, Gemini, and Cursor remain roadmap items.

### Trade-offs & Limitations
Compared with plain tmux or VS Code terminals, the office makes it easier to see which session needs attention without cycling through panes. In exchange, it adds a UI and a detection layer that depends on Claude Code hooks and transcript data. Transcript-only fallback infers activity rather than consuming explicit permission or lifecycle events, so treat it as a best-effort view. The project is useful for launching, observing, and resuming sessions today; automatic task handoffs and board-driven work assignment are still roadmap features.

The standalone browser UI also changes the trust boundary. The tokenized URL grants agent launch, terminal access, and layout and settings edits; tokenless access is a restricted office view, not a guarantee that the office is private. Keep the URL private, constrain network reachability, and consider `--no-terminal` if interactive terminals are unnecessary. Usage bars are opt-in because they wrap the existing `statusLine` command in `~/.claude/settings.json`; disabling the feature restores it. The permission-skip setting applies to agents subsequently launched from that host until it is turned off, so leave it disabled in routine use.

### Hardware & Deployment Guide
On Windows, Linux, or macOS, install and configure Claude Code first. Standalone mode needs Node.js 20 or later and starts with `npx pixel-agents`; for repeat access, set a fixed `--port`. The extension requires VS Code 1.105.0 or later and is distributed through the VS Code Marketplace and Open VSX. The two hosts can run side by side: they share the layout but keep separate agents and settings, with separate registrations under `~/.pixel-agents/servers/`.

For local-only use, bind with `--host 127.0.0.1`. The mobile remote-access path uses a fixed port, `--allowed-host` for the tailnet hostname, and Tailscale Serve over HTTPS. The management token persists in `~/.pixel-agents/standalone-token`; changing the port should not be treated as token rotation. The release sequence shows where the product has matured: v1.4.1 added optional ghost rendering for headless sessions, v1.5.0 made the browser a launch-and-interact surface with terminals that survive reloads, and v1.6.0 expanded character authoring.
```

## Key Capabilities
```text
- Host surfaces: One office UI ships as a VS Code extension and a browser app served by the `pixel-agents` CLI.
- Session detection: Authenticated hooks are the default; JSONL transcripts enrich hook events and provide fallback detection.
- Browser terminal: v1.5.0 added server-side Claude Code terminals that survive page reloads and reconnect to the UI.
- Activity cues: Characters distinguish reads, edits, and command runs; speech bubbles and optional chimes flag sessions that need attention.
- Project mapping: Directories bind launch paths to preferred seating areas and default characters, with per-directory session history.
- Character tooling: v1.6.0 added wardrobe customization, pixel editing, and reusable custom items; characters export as PNG or configuration files.
```

## Quick Start / Clone
```bash
npx pixel-agents
```
