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

@ahumandev/autocode

v0.19.1

Published

***The workflow engine for traceable autonomous job execution***

Readme

The workflow engine for traceable autonomous job execution

Autocode

AutoCode is an OpenCode plugin that turns rough concepts into durable designs and completed solutions.

Run jobs autonomously with Auto mode, or stay in control with Assist mode, or receive guided tutorials with Advise mode.

No special UI required. AutoCode runs in OpenCode and keeps concepts and durable design workspaces in version-controllable text files, making it suited to remote development or server administration.


Features

Implementation Modes

  • 👨 Advise mode — guidance: agent researches topics, answers questions, and guides manual implementation.
  • 🧑‍💻 Assist mode — interactive: you make decisions while agent orchestration does the work and suggests next steps.
  • 🤖 Auto mode — autonomous: agent executes structured design work until completion.

Workflow Optimizations

  • 📦 Cross-project tasking — delegate investigation or edits to isolated OpenCode sessions in external directories.
  • 🪙 Cost-saving workflows — improve performance and reduce token usage with smart orchestration, tiered agent models, Caveman English.
  • 🔒 Secret-safe tools — predefined credential keys resolve at tool runtime; never save secrets, credentials, tokens, or private keys to durable memory.
  • ⚠️ Safe hand-offs — provide a thorough manual task tutorial when an operation is unsafe.
  • 📚 Durable local memory — smart agents automatically recall matching durable memories on first eligible user text; primary agents and auto-troubleshoot can manually recall prior fixes or forget confirmed misleading/outdated IDs. See memory guidance.
  • 🧹 Agent cleanup — agents remove temporary files and stop stray processes they started after debugging.

Build-in Tools

  • 🗄️ Read-only database inspection — discover configured database tables and read one table at a time without write access.
  • 🌐 HTTP REST client — simulate API calls for troubleshooting.
  • 🔀 Git tools — inspect changes and commit updates to Git repositories.
  • 🔐 SSH tools — run remote commands and manage files through profile credentials.
  • 🧪 Sandbox isolation — agents automatically manage and experiment in their own isolated sandboxes.
  • 🛠️ Self-building tools — agents create durable per-job Node .mjs tools, reconcile dependencies, run finite scripts, and manage long-running services.

As well as OpenCode V2 bundled tools.

Installation

Install AutoCode as public OpenCode plugin. AI agents use installation guide; humans use human guide.

Prerequisites

  • OpenCode is required to load and use AutoCode.
  • The npm package / plugin entry is @ahumandev/autocode.

Optional

  • Bubblewrap is required only for Linux sandbox execution.
  • Bun is required only to build the plugin from source, run tests, or install the local shim.
  • MCP servers MCP servers are optional integrations.

Installation for LLM Agents

Fetch this guide and follow its OS branch.

Windows CMD

curl -s https://raw.githubusercontent.com/ahumandev/autocode/refs/heads/main/docs/installation.md

Linux Bash

curl -s https://raw.githubusercontent.com/ahumandev/autocode/refs/heads/main/docs/installation.md

The guide detects OS at startup: use CMD for Windows agents and Bash for Linux agents.

Installation for Humans

Use human installation guide.

Windows route uses native CMD. Linux route uses Bash and includes optional Bubblewrap setup. Both install the public plugin with:

opencode plugin add @ahumandev/autocode@latest

Usage

AutoCode is an OpenCode plugin. It does not start a web server or expose a local URL. It registers managed agents, slash commands, generated skills, and tools.

At startup, AutoCode detects OS. Agents use CMD on Windows and Bash on Linux. Windows does not register sandbox agents or tools; Linux sandbox execution uses Bubblewrap when available. Generated skills are written to <home>/.agents/skills.

Primary Agents

Agent availability uses final configured AutoCode tier: spy requires an explicit spy tier; auto requires an explicit smart tier. balanced does not enable spy.

| | Agent | Purpose | | --- | -------- | --------------------------------------------------------- | | 👨 | advise | Research topics, answer questions, and guide manual work. | | 📐 | design | Design and propose solutions. | | 🤖 | auto | Autonomously solve problems. | | 🧑‍💻 | assist | Assist interactively with problems. | | 🕵️ | spy | Primary, visible, read-only safety review and guidance. |

Behavioural Differences

| Agent | Investigations | Next Action | Apply Changes | | -------- | -------------- | ----------- | ------------- | | 👨 advise | Autonomous | Interactive | Human | | 🧑‍💻 assist | Autonomous | Interactive | AI* | | 🤖 auto | Autonomous | Autonomous | AI* |

*Except dangerous tasks.

Typical Workflow

flowchart TD
  Concepts([.agents/concepts])
  Concepts -- 📐 design --> Design

  Design -- 👨 advise --> Advise([manual execution])
  Design -- 🧑‍💻 assist --> Assist([interactive execution])
  Design -- 🤖 auto --> Auto([autonomous execution])

Switch any time between � advise and 🧑‍💻 assist and 🤖 auto when work needs a different autonomy level.

Reference

  • Installation — AI installation guide with native CMD and Bash branches.
  • Documentation — human installation, verification, update, uninstall, and troubleshooting.

Development

Build and local shim installation use cross-platform Bun scripts. Bun is required for source builds and tests, not public plugin installation.