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

dialecticalagents

v0.2.1

Published

Run the dialecticalagents Python CLI from npm with an isolated local runtime.

Readme

dialecticalagents

Run the dialectical and dialectical-cli commands from npm.

This package vendors source from libs/dialecticalagents, builds an isolated Python runtime at install time, and launches the same dialectical CLI flow from that local runtime.

Install

npm install -g dialecticalagents
# or
pnpm add -g dialecticalagents

Local usage:

npm install dialecticalagents
npx dialectical --help

DeepSeek-First Start

export DEEPSEEK_API_KEY="your_key_here"

dialectical --default-model deepseek:deepseek-chat
dialectical

Full Behavior: Keys, Models, and Roles

API key strategy

  • You can set multiple provider keys if you use mixed-provider role configs.
  • You can also run all roles with one DEEPSEEK_API_KEY.
  • If proposer/critic/synthesizer are all DeepSeek models, one key is enough.
  • That same single key also works across dialectical modes (auto, autocoding, reasoning, review, council) when those flows use DeepSeek models.

Default model behavior

If no explicit model is provided, model resolution prioritizes configured default and recent model settings, then credential-based fallback. When DEEPSEEK_API_KEY is present, DeepSeek is selected first.

Role controls

  • --model provider:model
  • --player-model
  • --coach-model
  • --synthesizer-model

Startup UX Notes

  • First launch can look idle for a short period.
  • This is expected while the runtime and first dialectical loop initialize.
  • Let it run before interrupting.

Provider Status

  • Multi-provider integration is available via LangChain providers.
  • This npm distribution is currently confirmed in real usage with DeepSeek API.

Requirements

  • Python 3.11+
  • python3 or python on PATH
  • Network access during install (dependencies are resolved then)

Environment Variables

Runtime:

  • DIALECTICAL_PYTHON: Force specific Python executable.
  • DIALECTICAL_NPM_DISABLE_INSTALL=1: Skip install-time Python setup.
  • DIALECTICAL_NPM_FORCE_INSTALL=1: Force reinstall of bundled Python package.

DeepSeek defaults:

  • DEEPSEEK_API_KEY: DeepSeek credential.
  • DEEPSEEK_MODEL: Optional default DeepSeek model (default: deepseek-chat).

How It Works

  1. prepack syncs source from libs/dialecticalagents into python-src/.
  2. postinstall creates runtime/venv and installs ./python-src.
  3. dialectical and dialectical-cli proxy to binaries in that venv.

Source