Quickstart
audio-tools-for-agents provides deterministic, local audio processing primitives for autonomous AI coding agents and automated workflows.
Prerequisites
Section titled “Prerequisites”- Python:
>= 3.11, < 3.14(CPython 3.13 recommended) - Package Manager:
uv - FFmpeg: System binary installed in
PATH(used by PyTorch audio decoders) - Host RAM: At least 3.0 GB of available system memory
Installation Options
Section titled “Installation Options”Option A: 1-Command Bootstrap (Recommended for Agents)
Section titled “Option A: 1-Command Bootstrap (Recommended for Agents)”Installs the audio-tools CLI to ~/.local/bin and links the audio-stemming skill to Antigravity and Claude Code:
curl -fsSL https://raw.githubusercontent.com/ghchinoy/audio-tools-for-agents/main/scripts/install.sh | bashOption B: 1-Line Global Tool Install
Section titled “Option B: 1-Line Global Tool Install”Install the standalone binary globally without cloning the source repository:
uv tool install git+https://github.com/ghchinoy/audio-tools-for-agents.gitOption C: Developer Source Clone
Section titled “Option C: Developer Source Clone”git clone https://github.com/ghchinoy/audio-tools-for-agents.gitcd audio-tools-for-agents
# Install dependencies into managed virtual environmentuv syncBasic Usage
Section titled “Basic Usage”1. Inspect Audio Metadata
Section titled “1. Inspect Audio Metadata”Inspect the duration, sample rate, channels, format, and file size of an audio file:
uv run audio-tools inspect my_song.wavTo emit machine-readable JSON:
uv run audio-tools inspect my_song.wav --json2. Separate Audio into Stems
Section titled “2. Separate Audio into Stems”Isolate the file into 4 stems (vocals, drums, bass, and other accompaniment):
uv run audio-tools separate my_song.wav -o ./output --stems 4For autonomous agent execution, pass --json to direct diagnostic logs to stderr and print parseable JSON to stdout:
uv run audio-tools separate my_song.wav -o ./output --stems 4 --json3. Verify Hardware Qualification
Section titled “3. Verify Hardware Qualification”Before executing heavy batch workloads, run a pre-flight qualification check:
uv run audio-tools benchmark --json