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

@lifetimescriptkiddie/agentctl

v0.2.0

Published

Backend-neutral CLI and library for orchestrating local AI agent CLIs, browsers, and containers.

Readme

agentctl

A CLI, TypeScript library, and Pi extension for routing tasks to local AI agent CLIs and coordinating bounded multi-step work.

Install

Requires Node.js 20 or newer and at least one separately installed, authenticated agent CLI for live tasks. Model availability depends on your provider account; the shipped model roster is configurable and is not a promise of availability.

npm install -g @lifetimescriptkiddie/agentctl
agentctl --help
agentctl agents list

For Pi, install the package and restart Pi or reload extensions:

pi install npm:@lifetimescriptkiddie/agentctl

Then use /agentctl for help. The extension includes its own CLI; a separate global agentctl installation is unnecessary.

/agentctl health
/agentctl route review this module
/agentctl ask --to codex explain this function
/agentctl orchestrate review this project

route and delegate choose a backend and execute the task. Use the CLI route --dry-route to inspect routing without execution.

orchestrate in Pi defaults to a dry-plan preview. --run executes a plan and can consume provider credits. Use --budget and --max-replans to bound execution. --approve authorizes gated operations; review the requested task before using it. A dry plan does not guarantee that all subsequent steps will succeed.

For a synthetic CLI check without an authenticated provider:

agentctl ask --to dry_run "hello" --format json

Configuration and integrations

Use agentctl --help and each subcommand's --help for options. Agent presets live in src/adapters/presets; custom agent configuration can override defaults. See model routing and Pi integration.

The browser adapter is optional and requires Playwright plus an explicitly configured CDP browser. Automatic browser launch is disabled by default. The managed launch helper targets macOS; other platforms must provide their own CDP endpoint. Core subprocess backends depend on the corresponding CLI being available on PATH.

Privacy and trust

This release contains source and synthetic tests, not personal sessions, browser profiles, captured pages, credentials, or the original development repository's history.

When you use agentctl, prompts and selected context go to the backend you choose. Child processes inherit your environment and can access credentials available to that backend. Capability declarations and approval checks are not an operating-system sandbox. Only use trusted backends, extensions, and configuration.

Agentctl can persist transcripts, provider session identifiers, quota state and orchestration records under ~/.agentctl (override with AGENTCTL_HOME). Run directories may also contain prompts, traces and results. Use agentctl sessions --help to inspect session management options and store work in a private directory. There is no blanket no-retention guarantee; review or remove local state when finished.

Browser evidence is saved only when AGENTCTL_CAPTURE_EVIDENCE=1. AGENTCTL_EVIDENCE_DIR sets its destination. Captures can include screenshots, page HTML, prompts and answers. Text redaction is best-effort; screenshots and page content may still contain personal data. URL query strings and fragments are omitted from metadata. Never publish runtime directories or captured evidence without review.

Development

npm ci --ignore-scripts
npm run build
npm run typecheck
npm test

The committed lockfile preserves reviewed dependency versions. Respect a 14-day dependency publication cooldown when refreshing it. The npm artifact contains compiled JavaScript and runtime assets; Python is not a runtime requirement.

License

MIT. Dependencies remain under their respective licenses and are installed separately, not vendored into this repository.