Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vibrai.com/llms.txt

Use this file to discover all available pages before exploring further.

vibrai is a Spectre.Console CLI that talks to Ableton Live through the Vibrai M4L bridge. Every command maps to an operation on the engine or the bridge — no Max for Live knowledge required.

Invocation model

Commands are organized into branches (subcommand groups) and a few top-level commands. Selected branches:
Branch / CommandWhat it covers
vibrai transportBPM, playback, position
vibrai trackList, create, delete, rename
vibrai clipList, create, delete, fire, rename
vibrai sceneList, create, delete, rename
vibrai noteList, write, add
vibrai follow-actionGet and set follow-action config
vibrai automationSession-view envelopes; arrangement-view bounce and apply
vibrai arrangementArrangement-view clips: get, place, clear
vibrai projectInit, load, save, info
vibrai scaleGet and set the song-level scale
vibrai deviceList, load, browse, default
vibrai genreList, presets, apply
vibrai instrumentList, tag, untag, show
vibrai generateRender a .vibrai project into Live
vibrai captureSnapshot Live into a .vibrai file
vibrai --versionCLI and bridge versions
Run vibrai --help to see the full tree. Run vibrai <branch> --help for subcommand detail. See the Reference section for the complete branch list and every flag, argument, and example.

Global flags

These flags work on every command. --url, --log-level, and --log-file are pre-parsed and may appear before the subcommand name. --json must appear after the subcommand.
FlagEnv varDefaultPurpose
--url <url>VIBRAI_URLhttp://localhost:3333Bridge URL
--jsonoffEmit JSON instead of formatted tables
--log-level <level>WarningVerbose / Debug / Information / Warning / Error
--log-file <path>(none)Write a rolling log to a file
# Non-default bridge
vibrai --url http://192.168.1.10:3333 track list

# JSON output, piped through jq
vibrai track list --json | jq '.[] | select(.type == "midi") | .id'

# Debug logging to a file
vibrai generate --project song.vibrai --dry-run --log-level Debug --log-file /tmp/vibrai.log

JSON output

Every command that returns data supports --json. The output schema matches the MCP tool response for the same operation, so the two surfaces are interchangeable in scripts and tests.
vibrai note list 2 0 --json | jq 'length'
vibrai genre list --json | jq '.[].name'
vibrai project info --project my-song.vibrai --json

Exit codes

CodeMeaning
0Success
1Generic error — file not found, project validation failure, --force required
2Bridge unreachable — vibrai.amxd not loaded or Live not running
3Live API timeout
4Live operation error — CLIP_NOT_FOUND, INVALID_PITCH, MULTIPLE_MATCHES, etc.
255Argument validation — out-of-range value, missing required argument
Missing required arguments produce a formatted Error: … line with exit 255 — no stack traces.

Reference pages

The per-command details (every flag, every argument, every example) live in the generated Reference section. Start with the branches you use most: