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

aiduo

v0.1.2

Published

Terminal-first protocol and runtime for Claude and Codex pair workflows.

Downloads

353

Readme

AI Duo Orchestrator

AI Duo Orchestrator is a terminal-first wrapper for Claude and Codex sessions. You launch both agents through aiduo, then orchestrate them from inside the live sessions with /aiduo:* commands.

Quick Start

Published package:

npx aiduo help
npx aiduo claude
npx aiduo codex

If you want to pass native Claude or Codex arguments, they go through unchanged:

npx aiduo claude --resume
npx aiduo claude --continue
npx aiduo codex exec
npx aiduo codex exec --resume

AI Duo does not inject hidden defaults. claude, codex, --resume, exec, and any other flags remain under your control.

Session Workflow

  1. Open two terminals in the same git repository.
  2. Start Claude in one terminal.
  3. Start Codex in the other terminal.
  4. Keep talking to both agents normally.
  5. When you want orchestration, use /aiduo:* inside the current wrapped session.

Example:

Terminal 1:

npx aiduo claude

Terminal 2:

npx aiduo codex

Inside one of those sessions:

/aiduo:review --diff

Install

No global install is required:

npx aiduo help

Optional local install:

npm install -g aiduo
aiduo help

Slash Commands

Core commands:

  • /aiduo:review
  • /aiduo:review --diff
  • /aiduo:review --all
  • /aiduo:implement
  • /aiduo:plan
  • /aiduo:fix
  • /aiduo:judge

Helper commands:

  • /aiduo:status
  • /aiduo:latest
  • /aiduo:cancel
  • /aiduo:retry
  • /aiduo:bootstrap
  • /aiduo:help

Common examples:

/aiduo:review
/aiduo:review --diff
/aiduo:implement
/aiduo:plan
/aiduo:fix
/aiduo:judge

Detailed usage examples:

Top-Level Helper Commands

Outside the wrapped agent session, these commands are available:

npx aiduo help
npx aiduo status
npx aiduo latest
npx aiduo bootstrap
npx aiduo bootstrap --apply

These do not replace slash commands. They are repo-level helpers for setup, status, and artifacts.

Artifacts and Runtime

AI Duo writes local state under:

.ai-duo/runtime/
.ai-duo/runs/<run-id>/
.ai-duo/latest.md

What is stored there:

  • session registry
  • peer pairing state
  • transcript events
  • run metadata
  • source context
  • dispatched prompt
  • captured response
  • summaries

Current Capabilities

  • PTY wrappers for claude and codex
  • file-backed session registry and transcript runtime
  • slash-command parser for /aiduo:*
  • artifact engine for .ai-duo/runs/<id>
  • bootstrap preview and apply helpers
  • prompt sanitization and secret redaction helpers
  • transcript-backed context resolution with --diff and --all

Current Limitations

  • wrapper input is line-oriented, not full raw-terminal passthrough
  • pairing is automatic by repo and latest opposite session; manual pairing flags are not added yet
  • MCP sidecar and richer multi-session coordination are still future work

Local Repo Usage

You can also run it directly from the repository:

npm install
npm run build
npx --yes . help
npx --yes . claude
npx --yes . codex

GitHub source execution also works:

npx --yes github:yajinn/AIDuoOrchestrator help

Optional local global link:

npm link
aiduo help
aiduo claude
aiduo codex

Local Development

npm install
npm test
npm run build
npm run lint