Skip to main content

saynow

npm PyPI CI dependencies MIT

Speak text aloud from the terminal. Built so LLM agents can talk to you.

saynow "the build finished, 42 tests passed"

Works with no configuration — it falls back to your OS's built-in voice, which is offline, free, and needs no API key. Add a key for better audio.

Install

pip install saynow          # or: uv tool install saynow

No third-party dependencies — standard library only. An identical npm package exists for Node; both read the same config file, so pick whichever runtime you already have.

Usage

saynow "text to speak"              # speak an argument
echo "text" | saynow                # speak stdin
pytest 2>&1 | tail -1 | saynow      # speak a command's last line
saynow -p openai -v nova "hello"    # pick a provider and voice
saynow --save note.mp3 "hello"      # write a file instead of playing
Provider Quality Needs
system Fair Nothing — built into the OS
openai Good OPENAI_API_KEY
elevenlabs Best ELEVENLABS_API_KEY
openrouter Good OPENROUTER_API_KEY

If a cloud provider is configured but its key is missing, saynow warns on stderr and speaks with the system voice anyway. Use --strict to opt out. Concurrent calls are serialized so speech never overlaps.

Configure

saynow init                          # interactive setup
saynow config set provider openai
saynow voices                        # available voices
saynow models                        # OpenRouter models that can speak

Config lives at ~/.config/saynow/config.json, mode 0600. Precedence is defaults → config file → environment → flags. API keys are never accepted as flags, since argv is visible to ps and lands in shell history.

Use it from an agent

Add this to your CLAUDE.md, AGENTS.md, or equivalent:

You can speak to the user out loud with `saynow "<text>"`. Use it for things
worth interrupting for: a long task finishing, a question that blocks
progress, or an error that needs attention. Keep it to one short sentence —
it is spoken aloud, not read. Do not narrate routine progress.

Asking, and showing

--ask speaks, then waits: a bubble appears in the corner with the transcript and a reply box, and whatever is typed comes back on stdout.

answer=$(saynow --from "billing · migration" --ask "Drop the old table?")

Exit 0 means they answered, 2 means they dismissed it or were away — never read 2 as consent. --file report.md renders a Markdown document in the same bubble: headings, tables, code, links and images, local or remote.

The bubble needs a window shell — Xcode command line tools on macOS, or any Chromium-based browser. Without one saynow still speaks, --ask exits 2, and --file is read aloud rather than shown.

Both builds read the same config file, so installing the npm one alongside this changes nothing you have already set up.

Claude Code users can install the plugin, which teaches Claude when to speak:

/plugin marketplace add dhruvyad/saynow
/plugin install saynow@saynow

Full reference

saynow --help    # complete reference: every flag, setting, and exit code

License

MIT — source at https://github.com/dhruvyad/saynow

Metadata

Release files for saynow 0.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saynow 0.14.0
File Size Uploaded Provenance Actions
saynow-0.14.0.tar.gz 55.8 kB With provenance Details for saynow-0.14.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for saynow 0.14.0
File Interpreter ABI Platform Actions
saynow-0.14.0-py3-none-any.whl Python 3 none any Details for saynow-0.14.0-py3-none-any.whl

Total release size: 111.8 kB

Release files / saynow-0.14.0.tar.gz

Download URL saynow-0.14.0.tar.gz
Size 55.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7bfc6210583b3edcdf0e4b48207254504bb17755a0c42744e56988ce7def1b4e
BLAKE2b-256 checksum
How to use checksums
ee4e877bcd39170fe8490bdb6aefe37959166d2afb426d06e32a5a561e95ea81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Release files / saynow-0.14.0-py3-none-any.whl

Download URL saynow-0.14.0-py3-none-any.whl
Size 56.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce22917b88486227ac2e08f5bf9df1816b3ae8f6a930920aa68814492625a499
BLAKE2b-256 checksum
How to use checksums
647baa62bcc06f6cf6d92a7d8e227c8cb0716191b9f0695cd971db4c6aa30196
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

Security for saynow 0.14.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for saynow-0.14.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page