npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

opencode-pixel-agents

v0.3.0

Published

OpenCode plugin that visualizes AI agents as animated pixel art characters on a localhost web page

Readme

Pixel Agents for OpenCode

An OpenCode plugin that visualizes AI agents as animated pixel art characters on a localhost web page. Each agent from Oh My OpenCode gets a distinct character with accessories and animations reflecting their current state.

Features

  • Programmatic pixel art — Characters are drawn procedurally on Canvas with distinct color palettes and accessories
  • Real-time state tracking — Each agent's activity (coding, reading, searching, thinking, orchestrating) is reflected visually via WebSocket updates
  • Hover tooltips — Hover over any character to see what it's currently doing
  • Info page — Dedicated page explaining each agent's role and responsibilities
  • Maestro Sisyphus — When Sisyphus delegates work, he conducts like an opera maestro with a baton
  • Zero cloud dependencies — Runs entirely on localhost (127.0.0.1:3456)

Agents

| Agent | Role | Visual Theme | |-------|------|-------------| | Sisyphus | Orchestrator | Blue — baton, laptop, clipboard | | Oracle | High-IQ Consultant | Purple — crystal ball, glasses | | Librarian | External Reference Search | Brown — books, magnifying glass | | Explore | Codebase Scanner | Green — binoculars, compass | | Prometheus | Planning Agent | Orange — scroll, torch, blueprint | | Metis | Pre-Planning Consultant | Teal — notepad, question mark, owl | | Momus | Plan Reviewer & Critic | Red — red pen, checklist, mask | | Atlas | Knowledge Base Builder | Dark grey — globe, map, blocks | | Hephaestus | Code Craftsman | Burnt orange — hammer, anvil, wrench |

Installation

Add the plugin to your opencode.json:

{
  "plugin": [
    "opencode-pixel-agents"
  ]
}

Or install from a local path during development:

{
  "plugin": [
    "/path/to/pixel-agents-opencode"
  ]
}

OpenCode will automatically install the plugin on next startup.

Usage

Once the plugin is loaded, the Pixel Agents web page starts automatically at http://127.0.0.1:3456.

You can also open it by asking the AI to use the pixel-agents tool:

> Use the pixel-agents tool

This will open the visualization in your default browser.

Pages

  • Main page (/) — Live animated view of all agents with their current activity
  • Info page (/info.html) — Reference page describing what each agent does

Development

Prerequisites

Setup

git clone [email protected]:nichelia/pixel-agents-opencode.git
cd pixel-agents-opencode
bun install

Build

bun run build        # Build the plugin
bun run typecheck    # Run TypeScript type-checking
bun run clean        # Remove build output

Project Structure

src/
  index.ts           # Plugin entry point, event hooks, custom tool
  types.ts           # Type definitions, agent metadata, tool-to-action mapping
  state-manager.ts   # Agent state tracking with broadcast to listeners
  server.ts          # Bun.serve() HTTP + WebSocket server
web/
  index.html         # Main visualization page
  info.html          # Agent info/reference page
  css/styles.css     # Dark theme styling
  js/renderer.js     # Programmatic pixel art character renderer
  js/app.js          # WebSocket client, DOM management, animation loop

How It Works

  1. The plugin hooks into OpenCode events (session.created, session.idle, tool.execute.before/after, chat.message)
  2. Tool executions are mapped to visual actions (e.g. edit → coding, grep → searching, task → orchestrating)
  3. State changes are broadcast to connected browsers via WebSocket
  4. The frontend renders each agent as an animated pixel art character with action-appropriate accessories

License

MIT