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

tagteam

v0.4.5

Published

Orchestrate AI agents (Claude, Codex, Gemini) in collaborative sessions

Readme

tagteam

Orchestrate AI agents in collaborative sessions. Pick any two from Claude, Codex, and Gemini — send a prompt to both simultaneously, then let them build on each other's responses in multi-round discussions. Discussion mode uses a structured multi-agent debate protocol informed by recent research showing that LLMs produce more accurate, well-reasoned outputs when they critique and refine each other's arguments.

Install

npm install -g tagteam

Or run directly:

npx tagteam "your prompt here"

Prerequisites

  • Node.js >= 20
  • At least two of the following CLIs installed and authenticated:

Usage

Interactive mode

tagteam

Launches an interactive TUI where you can type prompts and see responses from both agents side by side.

One-shot prompt

tagteam "explain how this codebase handles authentication"

Choosing agents

By default, tagteam uses Claude and Codex. Use --agents to pick a different pair:

tagteam --agents claude,gemini "compare these approaches"
tagteam --agents codex,gemini "review this code"

You can also set the default pair in your config:

agents = ["claude", "gemini"]

Addressing agents inline

Prefix your prompt with an agent name to send it to just that agent:

gemini what do you think about this approach?
claude summarize the discussion so far

Name two agents to override the active pair for that prompt (separators: and, /, &, ,):

gemini and codex review this function
gemini/claude compare your approaches
gemini & codex review this function

Add discuss to start a multi-round discussion — either word order works:

discuss codex and gemini what's the best caching strategy
codex and gemini discuss what's the best caching strategy

This works for any agent, not just your active pair. Addressed agents receive the full conversation history for context.

Discussion mode

Have your agents discuss a topic in structured rounds with research-backed prompting:

tagteam discuss "what's the best approach for caching in this app"

Discussions use a structured debate protocol informed by multi-agent debate research (Du et al. ICML 2024, ReConcile ACL 2024, CONSENSAGENT ACL Findings 2025, MAD EMNLP 2024):

  • Role differentiation — each agent has a distinct role (Builder, Verifier, or Strategist) with specific focus areas, and sees an anonymized description of their peer's role
  • Anti-sycophancy rules — agents must justify position changes with specific arguments and introduce novel content each round
  • Structured arguments — debate responses follow Toulmin structure (claim, evidence, reasoning, caveats) with confidence and position-change markers
  • Steelman injection — in round 2, agents are prompted to steelman the opposing view before responding
  • Smart termination — discussions end early on mutual consensus, stale debates (no new arguments for 2 rounds), or cyclic position-swapping, with a clear status message explaining why
  • Context summarization — rounds 3+ receive a compressed summary of earlier rounds plus full text of the latest exchange, keeping prompts focused

Session management

# Resume the most recent session
tagteam continue

# List recent sessions
tagteam history

# Delete a specific session
tagteam history rm <id>

# Delete all sessions
tagteam history clear

# Resume a specific session by ID
tagteam resume <id>

# Show full transcript
tagteam show <id>

# Export transcript as markdown
tagteam show <id> --markdown

Configuration

Configuration is stored in ~/.tagteam/config.toml (or %APPDATA%\tagteam\config.toml on Windows). Session data is stored in ~/.tagteam/tagteam.db.

# Interactive config editor
tagteam config

# Show current config
tagteam config show

# Set a value
tagteam config set agents claude,gemini
tagteam config set claude.model sonnet
tagteam config set codex.model gpt-5.3-codex
tagteam config set gemini.model gemini-2.5-pro
tagteam config set discussion.max_rounds 5

Default values:

| Key | Default | |-----|---------| | agents | claude, codex | | claude.model | sonnet | | codex.model | gpt-5.3-codex | | gemini.model | gemini-2.5-pro | | discussion.max_rounds | 5 |

CLI options

tagteam --agents claude,gemini   # Choose agent pair
tagteam --claude-model <model>   # Override Claude model
tagteam --codex-model <model>    # Override Codex model
tagteam --gemini-model <model>   # Override Gemini model

Interactive commands

While in a session, type these slash commands:

  • /help - List available commands
  • /new - Start a fresh session
  • /config - Open the config editor (changes take effect immediately)
  • /copy - Copy conversation to clipboard
  • /gist - Create a private GitHub Gist of the conversation (requires gh)
  • /exit - Exit the app
  • Escape - Interrupt running agents

Platform Notes

macOS — Works out of the box.

Linux — Clipboard support requires xclip or xsel:

sudo apt install xclip   # Debian/Ubuntu

If better-sqlite3 doesn't have a prebuilt binary for your architecture, you'll need build tools:

sudo apt install build-essential python3

Windows — Recommended to use Windows Terminal for best rendering. If better-sqlite3 fails to install, ensure you have the Visual Studio Build Tools (C++ workload) installed.

License

MIT