Pixel Agents Multi turns local AI coding sessions into an observable, playful, and practical VS Code control room. Claude and Codex sessions become animated characters in a pixel office, where working agents move to computer desks, idle agents wander or rest, and each character reflects real tool activity, waiting state, project, provider, thread name, and tracked usage.
This fork extends the original Claude Code-focused project into a multi-provider agent dashboard, timeline, usage intelligence surface, and handoff/executor workflow for serious local development. It is designed for one person supervising many local agents today, with a longer path toward team/lab coordination later.
This repository is derived from pablodelucca/pixel-agents. This fork publishes as raychen.pixel-agents-multi, with separate VS Code commands, settings, views, hook discovery, and user data so it can be installed beside the public extension without identity confusion.
- Visualizes local agents: Claude Code, Claude Desktop/Cowork local-agent-mode sessions, and Codex CLI threads appear as characters.
- Keeps work visible: active agents use computer desks, idle agents leave work seats, and refresh reassigns positions to reduce stacking.
- Shows live status: characters animate for writing, reading, shell commands, task delegation, permission prompts, and waiting-for-input states.
- Tracks providers and projects: overlays and Agent Center show project, provider, thread/session name, and status in a compact scan-friendly format.
- Surfaces usage intelligence: an operational Overview / Live / History dashboard shows token totals, exact/estimated labels, provider/project/session grouping, quota signals, and proxy cost context outside the canvas.
- Records timeline history: local event history captures agent turns, tool events, handoff actions, executor launches, report opens, and completion refreshes.
- Turns history into handoffs: create reviewed handoff artifacts from timeline/replay context, then dispatch them as executor-ready work packages.
- Runs a handoff queue: track draft, reviewed, stale, dispatched, active, blocked, report-ready, and completed work package states.
- Supports local VSIX releases: package and install this fork with its own extension id, name, commands, settings, and verification scripts.
- Lets you design the office: edit floors, walls, furniture, desks, chairs, colors, assets, and layout JSON without touching code.
- One visible character per adopted local session/thread.
- Working agents pathfind to available computer-adjacent seats.
- Idle agents leave work seats and wander or rest so they do not block active agents.
- Sub-agents spawned by task delegation appear as linked child characters near the parent.
- Waiting and permission states show speech bubbles and optional sound notifications.
- Characters are assigned diverse palettes and hue shifts to make crowded rooms easier to read.
- Seat assignment, refresh behavior, and character placement are designed to avoid common visual bugs such as agents typing in empty space, standing on chairs, or stacking after refresh.
The Agent Center is the larger inspection surface for the project. It is intentionally separate from the canvas so the office can stay readable.
- Filter by All, Codex, or Claude.
- Inspect agent name, provider, project, status, and tracked usage.
- Focus a character or linked terminal/session.
- Refresh session discovery and stale visual state.
- Close, archive, hide, or kill tracked agents through guarded actions.
- Open Usage, Timeline, Handoff, and Handoff Queue views without crowding the main office.
Usage data is presented as operational telemetry, not billing truth.
- Codex and Claude token totals are shown when local metadata exposes them.
- Exact and estimated values are labelled separately.
- Overview mode combines live agent telemetry with persisted local history so you can scan what is active now, what changed today, and where the last seven days of usage concentrated.
- Provider, project, session, and time-based summaries help identify heavy or stale work.
- Compact provider/project rankings, trend bars, reliability cues, and quota/rate-limit warnings help supervise local work without treating the page as billing software.
- Cache, reasoning, and artifact usage can be estimated where enough local data exists.
- Cost display is a proxy estimate only. It is not OpenAI, Anthropic, or subscription billing.
Pixel Agents Multi stores a local, privacy-aware timeline of important agent events.
- Tool start/done, turn completion, waiting state, handoff actions, executor launch, completion refresh, and report-open events.
- Replay-oriented views for understanding what happened before creating a handoff.
- Search/filter support for narrowing by agent, provider, project, event type, or time.
- Safe persistence: raw prompts, raw transcript body, credentials, and absolute transcript paths are not stored in timeline events.
The handoff workflow is built for supervising downstream executors without losing context.
- Review timeline/replay context from an agent or project.
- Draft a handoff artifact in
docs/agent-handoffs/. - Store structured metadata in a sidecar
.handoff.jsonfile. - Mark handoffs as draft, reviewed, stale, dispatched, active, blocked, or completed.
- Generate an executor-ready work package under
docs/roadmap/supervision/work-packages/handoffs/. - Copy a dispatch prompt or launch a Codex or Claude executor directly from a package-backed handoff.
- Link launched executor metadata back to the handoff sidecar.
- Detect local completion signals from the expected report file and local branch state.
- Use Handoff Queue to inspect executor state, open reports, refresh completion, and continue supervision.
Codex and Claude both support package-backed handoff executor launch. Launch metadata is kept local and safe; the queue treats completion reports as the strongest signal, then distinguishes visible active executors, approval/input waits, blockers, completed work, and stale or unknown linked metadata.
- Paint floors and walls with pixel-art tools.
- Place, move, rotate, recolor, and remove furniture.
- Use desk/chair metadata to create valid work seats.
- Undo/redo up to 50 editor actions.
- Export/import layout JSON from the Settings modal.
- Share a user-level layout across VS Code windows through
~/.pixel-agents/layout.json. - Load external asset directories from
~/.pixel-agents/config.json. - Edit modular furniture manifests under
webview-ui/public/assets/.
- VS Code 1.105.0 or later
- Node.js/npm for source development and packaging
- Git for branch/report completion detection
- Optional: Claude Code CLI installed and configured
- Optional: OpenAI Codex CLI installed and authenticated
- Supported platforms: Windows, Linux, and macOS
git clone git@github.com:ray24724919/pixel-agents-multi.git
cd pixel-agents-multi
npm install
cd webview-ui && npm install && cd ..
cd server && npm install && cd ..
npm run buildThen press F5 in VS Code to launch the Extension Development Host.
Use this path when you want the built extension in normal VS Code windows:
npm run release:localOr run the steps manually:
npm run build
npm run verify:identity
npm run verify:vsix
npm run package:vsix
npm run install:local
npm run verify:installedConfirm that VS Code installed this fork, not the upstream public extension:
code --list-extensions --show-versions | rg "raychen\.pixel-agents-multi"Expected output includes raychen.pixel-agents-multi@1.3.0.
Reload VS Code after installing. If the panel does not appear, run Developer: Reload Window from the Command Palette.
- Open the Pixel Agents Multi panel in the VS Code panel area.
- Click Refresh to adopt existing Claude/Codex sessions.
- Click + Agent to start a new Codex agent in a selected project.
- Open Agents to inspect active agents, usage, timeline, and handoffs.
- Click a character to focus it, then click a valid seat to reassign it.
- Use Layout to customize the office.
- Use the Timeline or Handoff view when an agent's work should become a reviewed downstream work package.
- Discovers local Codex threads and project metadata.
- Reads transcript/rollout events to infer active, waiting, complete, abort, and error states.
- Supports direct executor launch from package-backed handoffs.
- Links launched executor metadata back to the handoff sidecar.
- Reads local branch/report state for completion display without mutating git state.
- Discovers Claude Code JSONL project transcripts.
- Uses hook events when available for faster and more reliable state changes.
- Discovers Claude Desktop/Cowork local-agent-mode metadata when active.
- Can appear in Agent Center, Usage, Timeline, Replay, and Handoff context.
- Supports direct executor launch from package-backed handoffs using the same safe handoff metadata path as Codex.
Pixel Agents Multi is local-first. It does not call Claude or OpenAI APIs to observe sessions. It reads local CLI/session metadata and visualizes it inside VS Code.
Main local data locations:
~/.pixel-agents/layout.json: shared user-level office layout~/.pixel-agents/config.json: extension config such as external asset directories~/.pixel-agents/server.json: local hook server discoverydocs/agent-handoffs/: Markdown handoffs and.handoff.jsonsidecarsdocs/roadmap/supervision/work-packages/: executor work-package specsdocs/roadmap/supervision/reports/: executor completion reports
The extension does not stage, commit, push, merge, reset, stash, clean, delete branches, or rebase when checking handoff completion. Completion detection is read-only.
npm run build
npm run test:webview
npm run test:server
npm testOther useful commands:
npm run check-types
npm run lint
npm run package:vsix
npm run verify:releaseThe extension backend lives in src/, the standalone hook/server code lives in server/, and the React/canvas webview lives in webview-ui/.
Before sharing a VSIX from this repository, run the release path from a clean worktree:
git status --short --branch
npm run check-types
npm run test:webview
npm run test:server
npm run build
npm run verify:identity
npm run verify:vsix
npm run package:vsix
npm run install:local
npm run verify:installed
code --list-extensions --show-versions | rg "raychen\.pixel-agents-multi"Then reload VS Code and smoke-test:
- Open the Pixel Agents Multi panel and click Refresh.
- Set the provider filter to All.
- Confirm active Codex and Claude agents are visible with correct project labels.
- Open Agents and confirm the Usage tab renders totals or an empty state.
- Confirm the VSIX filename is
pixel-agents-multi-1.3.0.vsixand the installed id israychen.pixel-agents-multi.
- Session sync is still adapter-based because Claude and Codex do not expose one shared live-agent API.
- Claude Desktop/Cowork status can be less precise than Claude Code hook events.
- Usage/cost displays are operational estimates, not provider billing records.
- Codex and Claude both support direct package-backed handoff executor launch, with launch evidence and queue state shown locally.
- If more agents are working than there are valid work seats, some agents may wait for a desk.
- Manual desktop QA is still useful after UI-heavy changes because VS Code webviews, terminals, and local CLIs vary by platform.
If agents do not appear or look stale:
- Click Refresh in the toolbar or Agent Center.
- Confirm the provider filter is set to All.
- Open Settings and enable Debug View to inspect JSONL/session paths, timestamps, runtime state, seat state, and recent webview events.
- In an Extension Development Host, open View > Debug Console and search for
[Pixel Agents]. - On Windows, confirm VS Code was reloaded after installing the local VSIX.
- For Codex, confirm the Codex CLI is authenticated and has local threads under the expected project.
- For Claude, confirm the Claude Code CLI path setting is correct if launching Claude from the extension.
The near-term direction is to make local individual supervision excellent:
- Sharper executor observability for long-running or stale handoff packages.
- Better usage intelligence, context health, and stale-work detection.
- Stronger timeline replay and report-ready workflows.
- Cleaner separation between pixel office visualization and large inspection pages.
- Safer multi-agent queue operations and completion status review.
The longer-term product direction is a team/lab model: several people sharing a platform where agent work, repo handoffs, communication, status, and usage can be observed across projects. That comes after the local single-user control room is stable.
Use Issues to report bugs or request features. Join Discussions for questions and conversations.
See CONTRIBUTING.md for contribution instructions, and read CODE_OF_CONDUCT.md before participating.
This project is licensed under the MIT License.