One local command line that turns your long recordings into short captioned clips. For you and your AI agent.
A long recording holds a few minutes worth sharing. Finding them, cutting them and adding captions usually means an editor, a web service that wants your upload, and your own scripts. trady does it on your machine, behind one command that you and an AI agent (Claude Code, Codex, Cursor, Gemini CLI, your own bot) can both use:
- It finds the moments from a local transcript and cuts them with ffmpeg.
- Captions are burned in from speech that whisper.cpp turns into text on your machine.
- Nothing is uploaded. trady makes no network calls, and its records are
encrypted (AES-256-GCM) in
~/.trady. - Secrets go in a vault. An AI agent sets them from the environment and cannot print them.
- Readable text for you, JSON for an agent.
- One file to install: a static Go binary, built like komando.
On macOS or Linux, open a terminal and paste:
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/trady/main/install.sh | shIt installs the newest release, and only when the download matches the
release's checksums.txt. On Windows, download trady_windows_amd64.zip
from Releases and put
trady.exe in a folder on your PATH.
Check that it works:
trady version
trady doctorOptional: put ffmpeg / ffprobe on your PATH so duration probe and
clip export work, and whisper-cli with a model for captions. Without them, moments still save; clips stay skipped.
More detail: Install.
./bin/trady source add ./episode.mp4 --name ep1
./bin/trady project create ep1 --name ep1-cuts
./bin/trady project run ep1-cuts --out ./exports
./bin/trady moment list ep1-cuts
./bin/trady clip list ep1-cutsAgents: set TRADY_AGENT=1, prefer -o json, start with trady guide.
| Area | Commands |
|---|---|
| Meta | version, doctor, guide [install], schema, list |
| Secrets | secret set|list|show|rm |
| Media | source add|list|transcribe|transcript|rm |
| Projects | project create|list|get|status|run|rm |
| Results | moment list, clip list, job list|get |
With a transcript, project run ranks moments with simple local rules
(cue words, questions, numbers, speech pace), not an AI judge. Without one
it uses evenly spaced windows. Clips are cut with ffmpeg, and captions are
burned in when whisper.cpp and a model are installed. Captions are one line
per spoken segment, not word by word.
AGPL-3.0. Commercial dual-license: COMMERCIAL-LICENSE.md. Contributors: CLA.md.
© Sugeng Agung Suganda