VHS
$ vhs Official Med RiskCharmbracelet's vhs turns declarative .tape scripts (typing commands, sleeping, pressing keys) into reproducible GIF, MP4, WebM, or PNG-frame demos via headless Chromium, ttyd, and ffmpeg. It includes vhs validate for syntax dry-runs and vhs new for scaffolding.
brew install vhs Writing .tape files, validating with vhs validate, and rendering reproducible demos run locally in shell.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Declarative .tape workflow with vhs validate syntax check, --quiet flag, and non-interactive execution, though lacks JSON output.
- Supports
vhs validatedry-run parsing and-q/--quiet - Declarative
.tapescripts avoid interactive recording
vhs validate checks syntax safely, but vhs <file.tape> runs arbitrary shell commands in a real PTY and vhs publish uploads externally.
- Executes typed shell commands during render;
vhs publishperformsremote_write
Single Go binary, but requires external ttyd, ffmpeg, and Chromium/Chrome binaries at runtime.
- Requires
ttyd,ffmpeg, and Chromium installed on PATH
Turns CLI demos into version-controlled code with deterministic fonts, themes, and GIF/MP4/WebM outputs.
- Produces reproducible GIF, MP4, WebM, and PNG frame sequences from
.tapefiles
Official Charmbracelet tool (charmbracelet/vhs) under MIT license with strong community adoption.
- Maintained by Charmbracelet on GitHub
Well-documented .tape directives, vhs manual, and vhs --help.
- Built-in
vhs manualand comprehensive README
Security, Auth & Guardrails
None required for local rendering; vhs publish uploads GIFs anonymously to vhs.charm.sh.
Free MIT open-source Go binary (requires ttyd, ffmpeg, and Chromium).
# VHS Agent Rules - Run `vhs validate <file.tape>` after editing `.tape` files before rendering. - Never invoke `vhs publish` unless the user explicitly asks to upload media to `vhs.charm.sh`. - Remember `.tape` scripts actually execute shell commands—sanitize commands and avoid secrets inside tapes.
Agent-Ready Command Recipes
Safe Read-Only Queries
vhs validate demo.tape
Parses demo.tape syntax and directives as a zero-execution dry-run check.
Controlled Writes & Previews
vhs demo.tape
Executes demo.tape in an isolated terminal and writes the configured Output media file.
Strengths for Agents
- +
vhs validatecatches.tapesyntax errors without launching Chromium orffmpeg. - + Declarative
.tapefiles let agents version-control and regenerate CLI demos reliably.
Caveats & Pitfalls
- ! Requires
ttyd,ffmpeg, and Chromium installed separately (handled automatically bybrew install vhs, manual elsewhere). - ! Rendering executes real shell commands inside the tape;
vhs publishuploads assets publicly tovhs.charm.sh.