James Washington
writing about archive utils free game ideas replays
Agent hook

Read every reply aloud (Kokoro TTS on the laptop)

Reads the AI's whole final answer out loud using a free voice model running on the laptop.

built Oct 2026 updated Oct 2026 Voice in, voice out

how it works

Stop hook detaches air_tts.py: Kokoro-82M on MLX on the MacBook Air over the tailnet, played on the Mini, lock-queued across sessions, falls back to Piper then macOS say, never to paid TTS; mute file; caches wavs for /replay.

Agent hook: A script that runs automatically at a moment in an AI session (before a command, when it stops) to steer or guard it.

The code for this one lives in a private repo. This page explains the idea so you can build your own.

hookskokoromlxttsvoice

related

  • Put local inference on the idle laptop, not the server Technique Use the laptop's chip for free speech and small AI models so the home server stays responsive.
  • tts-replay mod Plugin /replay reads the last answer aloud again; /replay stop shuts it up.
  • dsh-voice: voice in, spoken answers out for a terminal agent Plugin Talk to a terminal AI agent and have it talk back.
  • Hand-written script to TTS podcast episode injector Command-line tool Turns a written script into a spoken podcast episode on a private feed.
  • Continuity system: autopilot + context-budget relay Agent hook Keeps a long AI task moving without James typing 'yes go ahead' at every step, and passes the work to a fresh AI before the old one gets confused.
← everything I've built
© 2026 James Washington
github twitter rss