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

mola-agent

v1.0.1

Published

A local chat app whose agent drives a throwaway Omarchy computer.

Downloads

327

Readme

mola-agent

Watch an agent use a real computer.

A chat app that runs on your machine. Ask for something that needs a computer, and an agent creates a throwaway Omarchy desktop, works on it, and shows you the screen while it does. Take the mouse whenever you want.

npx mola-core          # the engine
npx mola-agent         # this

It opens a browser, asks which model you want to use, and then you talk to it.

What it does

The agent has a real Linux machine and sixteen ways to use it. It prefers the shell, because almost everything is faster there, and drives the desktop when the task is genuinely graphical.

| | | |---|---| | Shell | run a command, start a long job and poll it, read and write files | | Screen | look at it, click, type, press keys, scroll | | Machines | create, stop, start, delete |

Press Show desktop and the live screen slides in beside the conversation. Your mouse and keyboard work there, so you can take over mid-task and hand back.

What you need

Node 20 or newer, the Mola engine running, and an API key for Anthropic, OpenAI or OpenRouter. The key is stored at ~/.mola-agent/config.json with mode 0600 and never reaches the browser.

The setup step checks the engine for you rather than asking you to paste a token you already have on disk.

Already using an agent?

If you have Claude Code, Claude Desktop or Cursor, you may not need this app at all. The engine ships an MCP server:

claude mcp add mola -- npx -y mola-core mcp

This app exists for the thing MCP cannot do: showing you the desktop beside the conversation while the agent works.

How it fits together

browser  ─────►  this app's server  ─────►  engine :4141  ──►  QEMU
 chat UI          agent loop, tools          REST API
 iframe ──────────────────────────────────►  /desktop

The server is not optional. It holds the model provider key so the browser never sees it, the engine sends no CORS headers so the browser could not call it anyway, and an agent run takes minutes and has to survive a reload.

The iframe is the one thing that talks to the engine directly, because it loads a document rather than making a request.

Three details are worth knowing if you are reading the source:

  • Screenshots are sent at 1024 wide, because that is what vision models are tuned for and it is cheaper every turn. Coordinates coming back are scaled up before they reach the machine. Get that wrong and every click lands short.
  • Desktop tickets are single use and live sixty seconds. They are minted when the panel opens, not when a machine is created, and again when a stopped machine comes back.
  • Idle machines stop after fifteen minutes. Each holds 4 GB, so four idle conversations is a whole laptop. Disks survive a stop, so nothing is lost.

Working on it

npm install
npm run dev                                  # http://localhost:3000
npm run build && npm run bundle && npm test

npm test packs the tarball, installs it, boots it and checks that every asset the page references resolves. It takes about forty seconds and it is the most important test here: Next's standalone output fails quietly, serving HTML while every stylesheet 404s.

Licence

FSL-1.1-ALv2. Use it for anything except building something that competes with Mola. Each release becomes Apache 2.0 two years after it ships.