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

debaitable

v0.0.2

Published

Terminal-based multi-role debate engine for structured decisions.

Downloads

13

Readme

DebAItable

DebAItable is an artifact-first multi-agent decision engine. Instead of free-form chat, it runs structured debate rounds and outputs a Decision Record plus an audit trail of all role outputs.

What It Does

  • Runs a 3-round debate pipeline:
    • Round 1: independent proposals per role
    • Round 2: critiques and rebuttals
    • Round 3: convergence vote
  • Produces a structured DecisionRecord:
    • summary, rationale, tradeoffs, risks, actions, confidence, minority report
    • executive decision block (decision, why, top risks/actions, stop/go criteria)
  • Stores all rounds and run states in a persistence layer
  • Supports OpenAI-backed generation and deterministic local heuristic mode
  • Includes an interactive TUI CLI that saves JSON artifacts under artifacts/
  • Uses one-message decision intake by default, with optional guided edit only when needed
  • Applies normalization + quality gates to keep output concise, non-duplicative, and usable

Current Architecture

  1. API service validates and sanitizes decision input.
  2. Decision is persisted and enqueued as a background-style job payload.
  3. Job runner executes orchestration rounds via role prompts.
  4. Outputs are schema-validated with Zod at each boundary.
  5. Final record and full round audit trail are stored and returned.

Run It

  1. Install dependencies:
    • npm install
  2. Optional environment:
    • OPENAI_API_KEY (if omitted, CLI uses deterministic heuristic provider)
    • OPENAI_MODEL (default: gpt-5)
  3. Run demo:
    • npm run dev
  4. Run interactive TUI:
    • npm run cli
    • Keyboard-first full-screen workflow:
      • Type a prompt/question in the left input pane and press Enter to run
      • Arrow keys move focus between prompt/history/output panes
      • a toggles audit timeline
      • m switches model mode (OpenAI/heuristic when API key is present)
      • ? opens compact help
  5. Typecheck:
    • npm run typecheck

Install From npm (Global CLI)

  1. Publish package from this repo:
    • npm login
    • npm publish --access public
  2. Install globally:
    • npm i -g debaitable
  3. Run from any terminal:
    • debaitable

Repository Scope (Today)

  • Engine modules under src/:
    • core, api, orchestration, jobs, persistence, ai, cli
  • In-memory queue and store are the default runtime adapters.
  • No web UI or external DB wiring in this repo yet.

License

All rights reserved. No license is granted to use, copy, modify, or distribute this software.