pixel-agents README

The project's README from github.com/pixel-agents-hq/pixel-agents. As one markdown file: README.md.

Pixel Agents

version marketplaces npm downloads stars license discord

🌐 Website • 🛒 VS Code • 🛒 Open VSX • 📦 npm • 👾 Discord • 🤝 Contributing • 📋 Changelog

Pixel Agents turns the AI coding agents running in your terminals into animated pixel-art characters working in a tiny office. They walk to their desks, sit down, type when they're editing files, read when they're searching, and flag you visually when they're stuck waiting for input. The office is also where you run them: launch an agent into a project, pick its character, and see how much context it has left.

It ships in two forms from the same codebase:

Claude Code is supported today; Codex, Gemini, Cursor, and others are on the roadmap. Want to add support for your favourite CLI? Join our Discord and let us know!

Pixel Agents screenshot

Features

Pixel Agents characters

Requirements

Getting Started

The VS Code extension and the standalone CLI can run side by side: both share the office layout but keep separate agents and settings.

VS Code extension

  1. Install Pixel Agents from the VS Code Marketplace or Open VSX.
  2. Open the Pixel Agents panel beside the terminal.
  3. Click + (bottom left) to open its drawer of Directories, then click one to launch Claude Code in it. The drawer is empty at first: turn on Settings → Show Workspace Folders, or add a folder with + Directory (see Directories below).

To use Claude with --dangerously-skip-permissions, turn on Settings → Skip Permissions. It stays on for every agent launched from that host until you turn it off. Only use this when you accept the security implications.

Pixel Agents also detects Claude sessions started outside the extension. Turn on Settings → Watch All Sessions to include sessions from other workspaces.

Standalone CLI

Run Pixel Agents from anywhere:

npx pixel-agents

The CLI prints a local URL. Click + to open the drawer of Directories: add one with + Directory, or turn on Settings → Show Start Directory to list the folder you started in. Pick a Directory to launch Claude Code in the browser's embedded terminal (on a phone, tap the + card). Sessions started in your own terminal show up too. To install globally:

npm install --global pixel-agents
pixel-agents

Use a fixed address or port when needed:

pixel-agents --port 3100
pixel-agents --host 127.0.0.1 --port 3100
pixel-agents --no-terminal
pixel-agents --help

The printed URL carries a ?token=. Without it you can watch the office in a sort of read-only mode: no agents can be launched, terminals are not shown, and layout and settings cannot be edited. The token is kept in ~/.pixel-agents/standalone-token, so a bookmark keeps working if you also fix --port. Treat the URL as a secret: whoever holds it can do all of the above.

On your phone, via Tailscale

  1. Install Tailscale on the computer running Pixel Agents and on your phone, both signed in to the same tailnet.

  2. Start the server on a fixed port, allowing the computer's tailnet name:

    pixel-agents --port 3100 --allowed-host my-computer.my-tailnet.ts.net
    
  3. Serve it to your tailnet over HTTPS:

    tailscale serve --bg 3100
    
  4. On your phone, open https://my-computer.my-tailnet.ts.net/?token=… (the ?token= from the URL the CLI printed) and add it to the home screen. The fixed port keeps that shortcut working across restarts.

Only devices on your tailnet can reach it.

Customizing the Office

Layout

Click Layout to edit the office: paint floors, walls and carpets, place and recolour furniture, add pets you can click on, and paint named Areas that a Directory's agents prefer to sit in. Layouts can be exported and imported as JSON.

Office assets

Use Settings → Add Asset Directory to load external characters, pets, and furniture. See docs/external-assets.md for furniture directory structure and manifest details. The visual asset manager at scripts/asset-manager.html helps create furniture manifests.

Directories

A Directory is a folder you launch agents into. Click + to open the drawer, then + Directory to add one: a name, a path (suggested from your past Claude Code sessions), and optionally the Areas its agents should sit in and the characters they wear by default. The pencil on a row you added edits or deletes it; on a phone, long-press the row.

Your workspace folders (VS Code) or the directory the CLI started in (standalone) are listed too once you turn on Settings → Show Workspace Folders or Show Start Directory.

Characters

Open the roster from the arrow beside + and press a character's pencil (or + New) to open the Characters view. Dress a character from the wardrobe tabs, recolour any piece, and touch up pixels in the editor; a piece you redraw can be saved as a custom item for the rest of the cast. Nothing changes in the office until you press Save. Characters export as a PNG or a config file, and the whole roster as a zip.

Picking a character in the roster and then a Directory launches an agent as that character. In a Directory's settings you can also list its default characters, so its agents are recognisable at a glance.

Where This Is Going

The vision is to play a game and build a product. Two goals follow from it: to build a familiar, intuitive interface for running and orchestrating a lot of agents; and to make the hours you spend doing it feel less like administration and more like play.

Three things get there, and they are happening in parallel, not in sequence:

Most of this is still ahead. See Issues and Discussions for what's open, and CONTRIBUTING.md to jump in.

How It Works

Pixel Agents uses two Claude Code detection paths:

Pixel Agents does not modify Claude Code. Its hook configuration and persistent data live under ~/.claude/ and ~/.pixel-agents/ respectively. The usage bars are opt-in (Settings → Usage Bars): Claude Code reports plan limits only to its status line, so turning them on wraps your statusLine command in ~/.claude/settings.json (yours keeps running unchanged), and turning them off restores it.

Development

To build from source, run the tests, or add support for another agent CLI, see CONTRIBUTING.md. It covers setup, the project structure, how an event reaches the office, the asset format, and the hosted test reports. The end-to-end suite is described in e2e/README.md.

Troubleshooting

Still stuck? Ask in Discord or open an issue.

Community & Contributing

Join the Discord to chat with other users and follow development. Use Issues to report bugs or request features, and Discussions for questions and ideas.

See CONTRIBUTING.md before opening a pull request and read our Code of Conduct before participating.

Supporting the Project

GitHub Sponsors Ko-fi

Star History

Star History Chart

License

Pixel Agents is available under the MIT License.

pixel-agents (pixel-agents-hq/pixel-agents)

Searching Database…

What is this?Pixel Agents turns the AI coding agents running in your terminals into animated pixel-art characters working in a tiny office — they walk to desks, type when editing files, read when searching, and flag you visually when stuck waiting for input.
Is this a VS Code extension or a standalone app?Both, from the same codebase: a VS Code extension that renders characters in the panel area, and a standalone CLI (npx pixel-agents) that runs a local server and serves the same office as a browser app for tmux, remote, or non-VS Code workflows.
How do I get it running?For VS Code, install from the Marketplace or Open VSX, open the Pixel Agents panel, and click '+ Agent' to launch Claude Code. For the CLI, run 'npx pixel-agents' from the workspace folder you want to watch, and it prints a local URL with a session token.
Which coding agents are supported, and what do I need installed?You need the Claude Code CLI installed and configured; Claude Code is the only reference implementation today (Codex, Gemini, Cursor are on the roadmap). The VS Code extension needs VS Code 1.105.0+, and the standalone CLI needs Node.js 20+.
Any security gotchas with the standalone CLI's URL?The printed URL carries a session token that acts as a bearer capability — anyone who holds it can approve hook installs remotely, and it also lands in your browser history and server logs unredacted, so you shouldn't share it or bind to 0.0.0.0 on untrusted networks.
Does it modify Claude Code or touch my files?No — Pixel Agents does not modify Claude Code itself; its hook configuration and persistent data live under ~/.claude/ and ~/.pixel-agents/ respectively.
How does it detect what an agent is doing?It uses two paths: a hooks mode where a script receives Claude events like SessionStart, PreToolUse, and Stop, and a heuristic fallback that scans Claude's JSONL session transcripts under ~/.claude/projects/ when hooks are unavailable.
Can I customize the office layout?Yes — a built-in editor lets you paint floors and walls, place and rotate furniture, add pets, create named areas mapped to workspace folders, and import/export the layout as JSON; layouts can grow to 64x64 tiles.
What happens when multiple agents or sub-agents are running?Every agent terminal gets its own animated character, and ephemeral sub-agents plus persistent Claude teammates (Agent Teams) appear as separate characters with distinct roles and lifecycle changes.
Can I run both the VS Code extension and the CLI at once?Yes, they can run simultaneously; each registers under ~/.pixel-agents/servers/ and keeps separate agents, seats, and settings while sharing the same office layout.
Size
4.6 MB
Stars
10.3K
Age
9mo
Commits · 90 Days