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

@adi-tools/py

v2.6.0

Published

Agent-centric Debugging Interface CLI

Downloads

483

Readme

ADI CLI

Agent-centric Debugging Interface for Python programs.

Current release: 2.6.0.

Install

npm install -g @adi-tools/py

ADI requires Python 3.9 or newer on your PATH.

Quick Start

adi --help
adi list-frames "python script.py" "script.py:main"
# Copy the `target:` value printed by list-frames:
adi break "python script.py" "script.py:main#1"
adi exec "python script.py" "script.py:main#1" -s "print(locals())"
adi call-tree "python script.py" "script.py:main#1"

list-frames prints both target: and line-target:. Prefer target: for break, exec, and call-tree; keep line-target: as a fallback when you specifically want line-number targeting.

If your Python executable is not named python3 or python, set ADI_PYTHON:

ADI_PYTHON=/path/to/python adi --help

ADI_PYTHON controls the Python used to run ADI itself. The Python used for your debug target is the executable inside the command you pass to ADI.

Concurrent Agents

ADI can be launched from multiple terminals or agents. Runtime tracer files are created in a per-run temp directory. CLI state used by continue, state, list, and step-out is isolated by this priority in @adi-tools/py>=2.6.0:

  1. ADI_STATE_DIR
  2. ADI_DATA_DIR
  3. ADI_SESSION_ID
  4. CODEX_THREAD_ID
  5. workspace-scoped temp fallback

For agent runtimes without a stable session environment variable, set ADI_STATE_DIR explicitly for each agent/session.

Notes

  • The npm package is a thin launcher around the Python ADI implementation.
  • Run ADI inside the same environment where your target Python command works.
  • Use --allow-external when targeting stdlib/site-packages frames.
  • MCP support is optional and not included in this npm MVP.

2.6.0 highlights

  • Terminal-first agent workflow: list-frames -> target: -> break/exec/call-tree.
  • Global npm install smoke tested with no repo PYTHONPATH and arbitrary cwd.
  • Multi-agent state isolation smoke tested with ADI_DATA_DIR, ADI_STATE_DIR, and ADI_SESSION_ID.
  • line-target: remains available as a fallback for line-number targeting.