Today's AI open source · 2026-12-04
Leonxlnx/earshot
earshot is an open-source tool that renders, in code, sound effects that coding agents request in words.
| Repository | github.com/Leonxlnx/earshot ↗ |
|---|---|
| Main language | Python |
| License | MIT |
| GitHub stars · forks | ★ 6,403 · 473 forks (as of 2026-12-04) |
| Created · last update | 2026-10-15 · 2026-11-22 |
| GitHub topics | ai-agents, audio, claude-code, mcp, sfx, sound-design, sound-effects |
Overview
earshot is a tool that makes sound effects for coding agents, which cannot hear sound. When an agent makes a request in words, such as "three footsteps on gravel", it picks the best-matching design from its catalog, renders a new version and returns it as a file.
According to the README, the catalog contains about 900 designs, including UI sound effects, everyday Foley, ambience, game sounds and film sound effects. Many were learned from public-domain recordings and rebuilt as code. The repository contains no audio files; sounds are generated from code on each request. For sounds not in the catalog, earshot build combines recording fragments into a JSON recipe, then listens to the result with a listening model and reports how well it matches the request.
It runs on CPU only and is available as a CLI, a Python package, an MCP server and a Claude Code plugin. It suits developers who build app, game and video code with agents such as Claude Code.
Why it is worth a look
Coding agents can work with screens and code but cannot check sound. earshot returns the length, peak position and loudness of each generated result as text, and says so when it is guessing because no matching sound exists. What is new is the design, which lets agents work with sound by combining code-based synthesis with a listening model, without an audio generation model.
Key features
- earshot make picks a sound effect from the catalog that matches a written request and renders a new version.
- earshot build combines recording fragments into a recipe to create sounds not in the catalog, and evaluates the result with a listening model.
- An optional extension provides listening features that listen to a sound file and describe its characteristics in words and numbers, or judge how well it matches a description.
- It includes a sound effect bank and kits for film sound, plus tools such as fit, which turns recordings into synthesis code.
- It connects to agents through an MCP server, a Claude Code plugin and agent skills.
What it is used for
- Use it to add UI sound effects, such as button sounds or success chimes, to apps built with agents.
- Use it to add a set of sound effects, such as footsteps or knocking on a door, to a game prototype in one go.
- Use it to align sound effect peaks with cut points in video editing.
- Use it to identify or compare the characteristics of audio files you already have.
Getting started
- Set up Python 3.10 or later. To save as ogg, mp3 or similar formats, ffmpeg must also be on your PATH.
- Install the tool with pip install "earshot @ git+https://github.com/Leonxlnx/earshot" and add the agent skill with npx skills add Leonxlnx/earshot .
- Make your first sound with earshot make "a soft success sound" -o success.wav .
- If you need the listening features and the MCP server, install the extensions with pip install "earshot[listen,mcp] @ git+https://github.com/Leonxlnx/earshot" and check the installation with earshot doctor --fetch .
What to weigh
- The earshot name on PyPI is used by a different project, so you must install from the GitHub address.
- The listening features require downloading torch and two listening models, so several GB of disk space are needed.
- The optional Gemini evaluation requires your own API key.
- The project was created in October 2026, so commands and settings may change. It is licensed under MIT.
Related terms and companies
Sources
Written with AI assistance from the repository README and GitHub data. Star counts and other numbers are GitHub values as of the date shown; features and licensing can change, so check the repository.