pixel-agents README

README проекта с github.com/pixel-agents-hq/pixel-agents. Одним файлом markdown: 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)

Ищем в базе…

Что это такое?Pixel Agents превращает ИИ-агентов для программирования, работающих в ваших терминалах, в анимированных персонажей в пиксельной графике, которые трудятся в маленьком офисе: ходят к столам, печатают, когда редактируют файлы, читают, когда что-то ищут, и наглядно сигнализируют вам, когда застряли и ждут ввода.
Это расширение VS Code или самостоятельное приложение?И то, и другое, из одной кодовой базы: расширение VS Code, которое рисует персонажей в панели, и отдельный CLI (npx pixel-agents), который запускает локальный сервер и показывает тот же офис в браузере. Это удобно для tmux, удалённой работы или сценариев без VS Code.
Как всё запустить?Для VS Code установите расширение из Marketplace или Open VSX, откройте панель Pixel Agents и нажмите '+ Agent', чтобы запустить Claude Code. Для CLI выполните 'npx pixel-agents' в папке проекта, которую хотите отслеживать: он выведет локальный URL с токеном сессии.
Какие ИИ-агенты поддерживаются и что нужно установить?Нужно установить и настроить CLI Claude Code. Пока это единственная эталонная реализация, а Codex, Gemini и Cursor запланированы на будущее. Для расширения VS Code нужна версия VS Code 1.105.0+, а для отдельного CLI — Node.js 20+.
Есть ли подводные камни с безопасностью в URL отдельного CLI?Выведенный URL содержит токен сессии, который работает как ключ доступа: любой, у кого он есть, может удалённо подтверждать установку хуков. Кроме того, он без маскировки попадает в историю браузера и в логи сервера, поэтому не передавайте его другим и не привязывайте сервер к 0.0.0.0 в недоверенных сетях.
Изменяет ли он Claude Code или трогает мои файлы?Нет. Pixel Agents не меняет сам Claude Code: его конфигурация хуков хранится в ~/.claude/, а постоянные данные — в ~/.pixel-agents/.
Как он понимает, что делает агент?Используются два способа. Режим хуков, где скрипт получает события Claude, такие как SessionStart, PreToolUse и Stop. И запасной эвристический режим, который сканирует JSONL-файлы сессий Claude в ~/.claude/projects/, если хуки недоступны.
Можно ли изменить планировку офиса?Да. Встроенный редактор позволяет рисовать полы и стены, расставлять и поворачивать мебель, добавлять питомцев, создавать именованные зоны, привязанные к папкам проекта, и импортировать или экспортировать планировку в JSON. Планировка может достигать 64x64 клеток.
Что происходит, когда работают несколько агентов или субагентов?Каждый терминал с агентом получает своего анимированного персонажа. Временные субагенты и постоянные напарники Claude (Agent Teams) появляются отдельными персонажами с разными ролями и своими изменениями жизненного цикла.
Можно ли запустить расширение VS Code и CLI одновременно?Да, они могут работать одновременно. Каждый регистрируется в ~/.pixel-agents/servers/ и ведёт своих агентов, места и настройки, при этом оба используют одну и ту же планировку офиса.
Какие есть похожие проекты?ordewell, agentbox, openrig, qwen-code, dsh-TUI, Athena-Public, kimi-code, plannotator
Автор
pixel-agents-hq
Размер
4.6 MB
Звёзды
10.3K
Возраст
9 мес
Коммиты · 90 дней