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

debatex

v0.2.0

Published

AI Agent Debate CLI - Automated multi-agent discussions using Claude Code

Readme

debatex

AI Agent Debate CLI - Claude Codeを使用した自動マルチエージェント議論ツール

必要条件

インストール

npm install -g debatex

セットアップ

Claude Code CLI

Claude Code CLIがインストールされ、認証済みである必要があります。

# Claude Code CLIのインストール
npm install -g @anthropic-ai/claude-code

# 認証
claude auth

Gemini CLI(news-discussionプリセット用)

news-discussionプリセットを使用する場合、Gemini CLIが必要です。

# Gemini CLIのインストール
npm install -g @google/gemini-cli

# 認証(初回起動時に自動的に認証フローが開始されます)
gemini

使用方法

基本的な使用方法

# プリセットを指定して議論を開始
debatex debate <preset-name> "<topic>"

利用可能なプリセット

| プリセット | 説明 | |-----------|------| | news-discussion | ニュース・時事問題の議論 | | sdd-document-review | SDDドキュメントレビュー | | sdd-code-review | SDDコードレビュー | | sdd-feature-discussion | SDD機能ディスカッション |

news-discussionプリセット

news-discussionプリセットは、ニュースや時事問題について複数のAIエージェントが議論を行います。

debatex debate news-discussion "AIの規制について"

Preparation Phase

news-discussionプリセットでは、議論開始前に「Preparation Phase」が自動的に実行されます。

  1. トピック分析: ファシリテーターがトピックを分析し、議論に必要な情報を特定
  2. 情報収集: Gemini CLIを使用してWeb情報を収集
  3. memo/保存: 収集した情報を構造化してmemo/フォルダに保存
    • topic-summary.md: トピック概要・背景
    • sources.md: 収集したソースと要約
    • key-points.md: 議論すべき主要ポイント

Preparation Phase完了後、Discussion Phaseに移行し、エージェント間の議論が開始されます。

前提条件

  • Gemini CLIがインストールされていること
  • Gemini認証が完了していること

Gemini CLIがインストールされていない場合、以下のエラーメッセージが表示されます:

Gemini CLIがインストールされていません。
npm install -g @google/gemini-cli でインストールしてください

ログ出力

議論のログは以下のディレクトリに保存されます:

.debatex/logs/<preset-name>/<topic>/
├── debate.db          # 議論データベース
├── report.md          # 議論レポート
└── memo/              # Preparation Phaseで収集した情報(news-discussionのみ)
    ├── topic-summary.md
    ├── sources.md
    └── key-points.md

開発

# 依存関係のインストール
npm install

# ビルド
npm run build

# テスト
npm test

# 開発モード(ウォッチ)
npm run dev

ライセンス

MIT