# Heard

> A macOS voice layer that tells you out loud what Claude Code and Codex just did

- Category: AI Coding / Coding-Agent Harnesses & Runtimes
- Language: Python
- Licence: Apache-2.0
- Repository: https://github.com/heardlabs/heard
- Website: https://heard.dev
- Canonical page: https://ai-tldr.dev/tools/heard/

## In short

Heard is a voice output layer for coding agents on macOS, built by Heard Labs. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in Python and licensed Apache-2.0. To get started: clone and install the engine.

## Overview

Heard is a voice output layer for coding agents on macOS, built by Heard Labs. When Claude Code or Codex finishes a task, hits an error or waits for your approval, Heard says so in a sentence or two, so you can step away from the screen and still know what the agent is doing. The engine in the GitHub repository is open source under Apache-2.0 and written in Python; it can speak entirely on your Mac with the Kokoro text-to-speech model, with no account or API key.

It hooks into the agents rather than the terminal. `heard install claude-code` adds Stop, PreToolUse, PostToolUse and UserPromptSubmit hooks to `~/.claude/settings.json`, and `heard install codex` adds itself to the Codex CLI hooks and follows Codex desktop app sessions. The hooks return immediately, so the agent never waits on speech. For any other command-line agent, `heard run <command>` starts it under a PTY and narrates what it prints. Because it listens to the agent, narration works in Ghostty, iTerm2, Terminal, Warp, tmux, VS Code, Cursor, Zed and other terminals and editors.

Heard narrates with judgment instead of reading replies back: routine tool calls get a one-liner, while questions, failures and results get fuller lines. With several sessions running, the most important signal is spoken and the rest are summarised, each line starting with the project's name. Voices come from local Kokoro, or from your own ElevenLabs or Speechify key; an Anthropic key (or an installed `claude` command) lets an LLM write the summaries, otherwise they are built from templates. Heard Labs also sells a closed-source Mac app with cloud voices, push-to-talk, cloud-agent connectors and an assistant called Parrot; those are not part of the open-source engine.

## What it does

- Spoken summaries when Claude Code or Codex finishes, fails or needs approval, through the agents' own hooks
- Local Kokoro text-to-speech after a one-time `heard download-voice` (about 350 MB), or bring your own ElevenLabs or Speechify key
- `heard run <command>` wraps any other CLI agent under a PTY and narrates its output
- Three listening modes: Co-pilot (short signposts), Companion (fuller hands-off briefings) and Focus (alerts only)
- Multi-session handling: the most salient session is voiced, others are summarised and named, with optional per-project voices
- Four built-in personas (Aria, Friday, Jarvis, Atlas), plus your own as Markdown files with frontmatter
- Per-repo `.heard.yaml` labels and narration preferences, verbosity profiles in `config.yaml`, and pause/resume hotkeys

## Getting started

The open-source engine runs from a clone of the repository on macOS with Python 3; the hooks start its daemon on the agent's first tool call.

1. Clone and install the engine

   Install it in editable mode inside a virtual environment.

```bash
git clone https://github.com/heardlabs/heard.git
cd heard
python3 -m venv .venv && source .venv/bin/activate
pip install -e .
```

2. Download the local voice

   A one-time download of the Kokoro voice, about 350 MB. To use a cloud voice instead, set your own key.

```bash
heard download-voice

# optional: cloud voice or LLM-written summaries
heard config set elevenlabs_api_key <your-key>
heard config set anthropic_api_key <your-key>
```

3. Wire it into your coding agent

   This adds Heard's hooks to Claude Code's `~/.claude/settings.json` or to Codex's `~/.codex/hooks.json`.

```bash
heard install claude-code
# or
heard install codex
```

4. Pick a listening mode, or wrap another agent

   Co-pilot is the default. Any other CLI agent can be narrated by putting `heard run` in front of its command.

```bash
heard config set mode focus

heard run aider
```

## When to use it

- Hearing when a long Claude Code or Codex run finishes or fails while you are away from the screen
- Catching approval prompts from several agent sessions without watching every terminal
- Following an agent hands-off, while cooking or walking, in Companion mode
- Giving a command-line agent other than Claude Code or Codex a spoken status through `heard run`
