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

@micsushi/agent-hotline

v1.1.2

Published

Local read-aloud hooks and tray app for AI coding agents.

Downloads

65

Readme

Agent Hotline

Agent Hotline is a local Windows tray app that reads useful parts of Codex, Claude Code, and Antigravity replies aloud.

You keep using your coding tool like normal. Agent Hotline listens for finished responses through local hooks, skips code-heavy bits, and reads the useful prose through the browser or desktop UI. The full reply stays in the original chat.

What It Does

  • Reads finished coding-agent replies aloud.
  • Skips code blocks, diffs, logs, JSON, tables, and big dumps.
  • Lets you save replies or auto-play them when idle.
  • Gives you read, pause, resume, stop, replay, mute, and unmute controls.
  • Stores settings under %APPDATA%\Agent Hotline\.
  • Uses local Kokoro speech by default, with system voice as the fallback.
  • Does not need model API keys or paid speech APIs for read-aloud.

Status

Usable from npm or the Windows desktop installer.

Still missing:

  • Voice input owned by Agent Hotline.

Requirements

  • Windows 10 or 11.
  • Node.js 22 or newer for the npm/npx commands.
  • No repo clone is needed for normal install.
  • For desktop app development: Rust plus the usual Tauri Windows prerequisites.

Install

Recommended: desktop app plus hook setup

  1. Download and run the latest Windows installer:
https://github.com/Micsushi/agent-hotline/releases/latest
  1. Install the hooks and spoken instructions:
npx --yes @micsushi/agent-hotline install --harness all --skill all
  1. Restart Codex, Claude Code, or Antigravity so it reloads its hook files.

After that, open Agent Hotline from the Start Menu. The desktop app starts its own bundled backend and opens the panel. No separate ah run command is needed for the desktop installer.

Terminal install from npm

Use this when you want the browser control panel instead of the native tray app:

npx --yes @micsushi/agent-hotline install --harness all --skill all
npx --yes @micsushi/agent-hotline run

The install command downloads the Agent Hotline npm package and installs both parts:

  • the hook/tool command used by Codex, Claude Code, and Antigravity
  • the spoken-output skill or managed instructions

The run command starts the backend and opens the browser control panel:

http://127.0.0.1:4777

For one repo only:

npx --yes @micsushi/agent-hotline install --harness all --skill all --scope repo --repo C:\path\to\repo

Optional: install once globally so you can use shorter commands:

npm install -g @micsushi/agent-hotline
agent-hotline install --harness all --skill all
agent-hotline run

If ah or agent-hotline is not found after a global install, run:

npx --yes @micsushi/agent-hotline doctor
npx --yes @micsushi/agent-hotline doctor --fix-path

Useful separate commands:

npx --yes @micsushi/agent-hotline install-hooks --harness all
npx --yes @micsushi/agent-hotline install-skill --target all
npx --yes @micsushi/agent-hotline hook
npx --yes @micsushi/agent-hotline run --no-open

Local checkout install

Use this only when developing Agent Hotline from this repo:

npm install
npm run install-hotline -- --harness all --skill all

npm install also grabs the local TTS assets used by the desktop app. To repair those assets:

npm run install:tts

What Gets Installed

The npm package includes the CLI/backend hook tool, the browser control panel, and the spoken skill/instructions. Users do not download those separately.

The GitHub release includes the Windows desktop installer for the native tray/WebView app and a bundled backend. The installer does not yet write Codex, Claude Code, or Antigravity hook files, so run the npm setup command once after installing the desktop app.

Run Locally

From a global install, start the backend:

ah run

From npx, start the backend:

npx --yes @micsushi/agent-hotline run

This also opens the browser control panel:

http://127.0.0.1:4777

To start only the backend:

npx --yes @micsushi/agent-hotline run --no-open

From a local checkout, run it in the foreground while developing:

npm run dev:backend

Start the desktop app:

npm run dev:desktop

Backend URL:

http://127.0.0.1:4777

Smoke Test

With the backend running, test the npm-installed hook:

'{"source":"codex","response":{"text":"Spoken:`nAgent Hotline is ready to read this aloud.`n`nDisplayed:`nSmoke test complete."}}' | npx --yes @micsushi/agent-hotline hook

From a local checkout, test the local hook:

'{"source":"codex","response":{"text":"Spoken:`nAgent Hotline is ready to read this aloud.`n`nDisplayed:`nSmoke test complete."}}' | node packages/backend/bin/agent-hotline.js hook

The sentence should show up in the Agent Hotline queue. If the backend is not running, the hook exits quietly.

Troubleshooting

The desktop app says Backend unavailable

Install the latest GitHub release. The current desktop app starts its bundled backend automatically. If you are using the npm/browser version instead, run:

npx --yes @micsushi/agent-hotline run

I ran ah run but no tray icon appeared

ah run starts the npm/browser version. It opens http://127.0.0.1:4777 and does not start the native tray app. For the tray app, install and launch the GitHub .exe.

ah is not recognized

Use npx directly, or install globally:

npm install -g @micsushi/agent-hotline
npx --yes @micsushi/agent-hotline doctor

If npm's global command folder is missing from PATH on Windows:

npx --yes @micsushi/agent-hotline doctor --fix-path

Restart the terminal after changing PATH.

Agent replies are not spoken

Make sure the hook and spoken instructions are installed, then restart the coding tool:

npx --yes @micsushi/agent-hotline install --harness all --skill all

Then say hotline on or read aloud on in Codex, Claude Code, or Antigravity.

Checks

npm test
npm run lint
npm run format:check
npm run check

Docs

Repo Layout

docs/                 Human setup notes
packages/backend/     Local API, queue, settings, hook command
packages/desktop/     Tauri tray app and control panel