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

@opencomputer/cli

v0.3.13

Published

Build, test, connect, deploy, and share OpenComputer agents as code.

Readme

OpenComputer CLI

The OpenComputer CLI treats every agent as a normal source repository. A template creates editable instructions, TypeScript tools, connection declarations, a sandbox workspace, and committed agent identity.

Node.js 22 or newer is required. Install the CLI through npm:

npm install --global @opencomputer/cli
opencomputer login
opencomputer templates
opencomputer init email-triage
cd email-triage
npm install
opencomputer connection add gmail --alias personal
opencomputer dev
opencomputer session "Triage today's inbox."
opencomputer deploy

Initialize and test the PTO Calendar template the same way:

opencomputer init pto-calendar
cd pto-calendar
npm install
opencomputer connection add calendar --alias work-calendar
opencomputer session

The agent checks Calendar events and free/busy information before proposing an all-day PTO event. Creating the event requires explicit confirmation.

Authentication is stored separately from the legacy oc CLI in ~/.opencomputer/config.json. OPENCOMPUTER_API_KEY and OPENCOMPUTER_API_URL can be used in CI.

The generated repository is deliberately flat:

email-triage/
├── opencomputer.toml
├── package.json
├── instructions.md
├── agent.ts
├── tools/
├── connections/
├── channels/
├── skills/
├── workspace/
└── evals/

opencomputer.toml is committed with the agent and contains its stable ID. The directory can be renamed without creating a different deployed agent; each opencomputer deploy publishes a new immutable deployment and advances the selected alias.

Sessions

opencomputer dev starts the local agent service and opens its React browser app. The app uses the AI SDK message lifecycle and supports multiple independent sessions, multi-turn conversations, and streamed tool activity:

opencomputer dev

For a terminal-only workflow, opencomputer session automatically starts a temporary local service when one is not already running and opens a simple multi-turn User: / Agent: prompt. Type /exit, /quit, or press Ctrl+C to leave. The service is stopped when the prompt exits:

opencomputer session

Add --verbose to retain reasoning, tool, and lifecycle events in the terminal:

opencomputer session --verbose

Pass a prompt for a single turn. This also starts and stops the service automatically when needed:

opencomputer session "Triage today's inbox."

Deployed sessions have their own lifecycle and can be resumed across CLI invocations:

opencomputer session create --remote \
  --agent gmail-summarizer@production
opencomputer session list
opencomputer session send <session-id> "Summarize today's inbox."
opencomputer session inspect <session-id>
opencomputer session attach <session-id>
opencomputer session end <session-id>

Add and manage account connections and agent channels from the same CLI:

opencomputer connection add gmail --alias personal
opencomputer connection add gmail --alias work
opencomputer connection add calendar --alias work-calendar
opencomputer connection list
opencomputer connection remove work

opencomputer channels add slack
opencomputer deploy
opencomputer channels connect slack --remote
opencomputer channels list