Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

live-agent-bridge

English · 繁體中文 · Latest release

Connect an MCP-capable agent to the Ableton Live Set on your computer. The agent can read tracks, clips, devices, and transport from the current Set. It can make targeted edits and read back what Live applied, which makes it useful for work that would otherwise take repeated clicks across the Set.

What you can do

  • Compose and arrange. Create tracks, scenes, and clips. Write MIDI notes, chords, or drum patterns, then place clips in Arrangement.

  • Work with devices. Load native devices and inspect or change parameters that Live exposes, including configured third-party plug-in parameters. Related edits can be grouped with batch.

  • Use local sounds. Search your local sample library, load sounds into Simpler or Drum Rack, and analyze WAV files. Reference-song analysis needs a configured local CLAP model.

Once your agent is connected, try one of these requests.

Add a two-bar drum pattern on a new MIDI track. Keep playback stopped and read back the notes.

Find three local percussion one-shots and build a Drum Rack on a new track.

Inspect the filter on my Bass track. Show me its exposed cutoff before changing it to 850 Hz, then read it back.

See the tool reference for tool names, features, and limits.

Related MCP server: LiveBrain MCP

Two ways into Live

Backend

What it does

AgentBridge Remote Script

The default backend uses Live's Python API for sessions, MIDI, arrangement, devices, and routing. The MCP server supports stdio and local HTTP.

Max for Live LiveAPI

The optional companion provides an independent path through m4l_bridge. It can read and observe exposed members and preview supported writes and calls. Pass write=true to make a change. The client checks the resolved object identity.

The two APIs expose different members. Max for Live capabilities depend on the device and Live version. Install the optional companion if you need the LiveAPI path.

Install v1.0.0 from source on Windows

You need Python 3.11 or newer and Ableton Live 12. The release was verified on Windows with Ableton Live 12.4.16 Suite. The optional companion requires Max for Live.

git clone --branch v1.0.0 --depth 1 https://github.com/huaidj/live-agent-bridge.git
Set-Location live-agent-bridge
py -3.11 -m venv .venv
& .\.venv\Scripts\python.exe -m pip install -e '.[audio]'
& .\.venv\Scripts\live-agent-bridge.exe install --no-reload
  1. In Live, go to Settings → Link, Tempo & MIDI → Control Surface and select AgentBridge. Set Input and Output to None. If the surface is missing after the first installation, reopen Live.

  2. With Live running, verify the connection.

    & .\.venv\Scripts\live-agent-bridge.exe doctor
  3. Copy the agent setup prompt into the MCP-capable client you use with Live.

Verification and speed

On the recorded Windows test fixture, a warm MCP session read had a 21 ms p50 and a batch of 100 property reads had a 22 ms p50. An M4L song read had a 16 ms p50. The run also recorded a 3.84-second outlier on the cached MCP path. See the verification report for p95, sample counts, and the direct-connection follow-up.

The acceptance guide explains how to repeat offline checks, real Live tests, and optional M4L tests on a disposable Set.

Local access

The bridge connects to Live on loopback. Local analysis and library indexing work with files on your machine. Keep the endpoints on loopback and connect only trusted clients. The bridge has no built-in authentication, and a connected client can issue edits and request local audio files.

MIT license

Available Tools

84 tools
acestep_generate_partA

Generate a NEW audio part with the local ACE-Step XL Base model (lego task) that fits the reference music, then import it into Live. Output is audio, not MIDI; adherence to key/BPM is conditioning, not a guarantee - listen before keeping. If the wait ends first, the result contains a task_id: continue with acestep_result (never resubmit).

Inputs: prompt (required), reference (required), track_name (required), bpm, +12 more.

acestep_resultC

Resume an ACE-Step task by id. Repeating an import reuses matching audio in the same Set and position.

Inputs: task_id (required), slot, wait_s, import_to, +3 more.

acestep_serviceA

Start (loads the XL model onto the GPU, can take a while) or stop (frees VRAM) the local ACE-Step service using the deployment's own scripts. Only when the user asks.

Inputs: action (required).

acestep_statusA

Local ACE-Step XL Base service: ready?, model, where references are staged and outputs saved.

Inputs: no named parameters.

app_controlA

Live application: version/edition, CPU load, open dialog message & buttons (press one), status-bar message. View actions (show/hide/focus/scroll/zoom/toggle_browse) change the visible UI - only use them when the user asks.

Inputs: view, action, button, modifier, +1 more.

arrangementB

Arrangement view: list clips on a track, create MIDI/audio clips at a position, or copy a session clip into the timeline.

Inputs: track (required), action (required), name, slot, +4 more.

automationA
Destructive

Clip automation envelopes for any device/mixer parameter: read values, write breakpoints, clear one or all; re_enable reverts an overridden parameter to its automation. Values use the parameter's raw range (see get_device min/max). Live only creates NEW envelopes on session clips. For ARRANGEMENT automation on a MIDI track: write the envelope on a session MIDI clip, then arrangement duplicate_from_session; Live turns it into the track's arrangement automation over that clip's span (device and mixer parameters; check the parameter's automation_state). Audio clips lose the envelope.

Inputs: action (required), clip, slot, steps, +4 more.

batchA
Destructive

Run many bridge ops in ONE Live tick (fastest way to build or edit a lot at once). Op names and args mirror the tools: track.create{kind,index,name}, track.set{track,volume,...}, clip.create{track,slot,length,notes}, notes.add{track,slot,notes}, notes.replace{...}, clip.set{track,slot,...props}, scene.create{index,name}, scene.set{index,...}, device.set_params{track,index,params}, browser.load{track,query}, transport{action}, song.set{tempo,...}, lom.get{path,props}, lom.set{path,values}, lom.call{path,method,args}. Use the bridge_ops tool to list all op names.

Inputs: ops (required), undo_group, stop_on_error.

bridge_opsA
Read-onlyIdempotent

List all op names usable in batch.

Inputs: no named parameters.

clip_actionC
Destructive

Launch, stop, delete or duplicate a session clip.

Inputs: slot (required), track (required), action (required), to_slot, +1 more.

clip_editC
Destructive

Clip editing: quantize, crop, duplicate loop/region/notes, note selection, playhead move/scrub, launch-button state, clip view grid, show loop or an envelope.

Inputs: action (required), clip, grid, slot, +12 more.

create_clipB

Create a session MIDI clip, optionally filled with notes, in one step.

Inputs: slot (required), track (required), name, color, +2 more.

create_trackB

Create a MIDI, audio or return track. The result lists devices that came from the user's default track template (e.g. a default instrument).

Inputs: kind, name, color, index.

cue_pointsB

Arrangement locators: list, add/remove (toggle), jump, rename, next/previous.

Inputs: name, time, index, action.

delete_deviceB
Destructive

Remove a device from a track's chain by index.

Inputs: track (required), device (required).

device_controlC
Destructive

Device-level operations: on/off, duplicate, collapse, A/B compare (save/toggle), latency info, Max for Live parameter banks, delete. ('select'/'select_instrument' change the visible UI.)

Inputs: action (required), bank, path, track, +3 more.

device_specialA

Class-specific device API beyond knobs: info lists every special property (with its *_list of choices), method and view property for this device type; set/call apply them.

Inputs: args, path, track, action, +3 more.

edit_notesB
Destructive

Modify notes by note_id (keeps identity, no re-creation) and/or delete notes by id.

Inputs: clip, slot, track, changes, +1 more.

get_clipC
Read-onlyIdempotent

Clip properties: length, loop, markers, warp, launch settings.

Inputs: clip, slot, track.

get_deviceC
Read-onlyIdempotent

Device parameters (value, range, display text, quantized items) and optionally rack chains / drum pads.

Inputs: path, track, device, filter, +1 more.

get_memoryB
Read-onlyIdempotent

Read JSON previously stored in this Live Set (or on a track) with set_memory.

Inputs: key (required), track.

get_notesB
Read-onlyIdempotent

Read MIDI notes (with note_id, velocity, probability, ...) sorted by time.

Inputs: clip, slot, track, from_time, +3 more.

get_sessionA
Read-onlyIdempotent

Overview of the whole set: transport, tempo, all tracks (mixer state, devices, playing slot), return tracks, master, scenes, selection. Served from a cache that Live refreshes several times per second; pass fresh=true to force a re-read.

Inputs: fresh.

get_trackB
Read-onlyIdempotent

Track details: mixer (volume/pan/sends with display values), device chain, session clips, routing and monitoring.

Inputs: track (required), include_clips.

groove_poolC

Groove Pool: list grooves, edit groove parameters, assign a groove to a clip, global amount.

Inputs: clip, slot, track, action, +2 more.

insert_deviceA

Insert a native Live device by name directly (Track/Chain.insert_device) - instant, no browser search. Use load_device for presets, plug-ins and Max devices.

Inputs: name (required), chain, index, track, +1 more.

launch_sceneB

Fire a scene with full options (legato, fire as selected, keep selection).

Inputs: index (required), select, as_selected, force_legato.

live_statusA
Read-onlyIdempotent

Bridge health: Live version, tick rate, queue depth, round-trip latency, and slowest_ops (per-op Live-side mean/max ms since the bridge started) to see what is slow in this set - e.g. device insert/delete cost is Live's own and grows with set size.

Inputs: no named parameters.

load_deviceB

Load an instrument, effect, preset, drum kit or sample onto a track (default: selected track). Devices are appended after the selected device.

Inputs: uri, query, track, category.

load_drum_kitA

Build a drum kit in one go: resolves each sample (path or search), adds a Drum Rack if needed, and loads every sample onto its pad in a single Live tick.

Inputs: pads (required), track (required), create_rack, replace_instrument.

load_sampleB

Load any audio file into Live as a Simpler instrument, a Drum Rack pad, or an audio clip. Works for files anywhere on disk (Splice downloads included) - no browser Places needed.

Inputs: path (required), pad, slot, track, +3 more.

lom_auditB
Read-onlyIdempotent

Introspect the running Live set and compare every reachable object's Python API with the official catalog: documented & present, documented but missing in this build, and Python-only extras. Proves what this Live version actually exposes.

Inputs: max_objects.

lom_callB
Destructive

Call any method of a Live object (see lom_describe for signatures). Refs 'id N' in args are resolved to objects.

Inputs: path (required), method (required), args, kwargs.

lom_catalogA
Read-onlyIdempotent

Official Live Object Model reference (45 classes / 588 members, Live 12.4): member kind, access (get/set/observe/call), type and argument names. Use with lom_get/lom_set/lom_call.

Inputs: cls, query.

lom_childrenC
Read-onlyIdempotent

Page through a list property of any Live object (e.g. attr='tracks', 'devices', 'parameters').

Inputs: attr (required), path (required), limit, offset.

lom_describeA
Read-onlyIdempotent

Introspect any Live object: its type, properties (with writability), methods (with signatures) and observable properties.

Inputs: path (required).

lom_getA
Read-onlyIdempotent

Read properties of any Live object. Objects come back as refs {$ref:'id N', type, name, path}.

Inputs: path (required), props.

lom_setB

Write properties on any Live object; returns the values read back.

Inputs: path (required), values (required).

looperB

Drive a Looper device: record/overdub/play/stop/clear/undo, speed & length, export to a clip slot.

Inputs: action (required), path, track, device, +2 more.

m4l_bridgeA

Talk to Live through Max for Live's official LiveAPI (Cycling '74 docs: apiref/js/liveapi, LOM). Needs the 'LOM API Bridge' MIDI effect loaded on one track. status = install + connection check. Writes are previews unless write=true, and are bound to the identity a fresh resolve returned. Device errors (object_type_mismatch, unknown_member, stale_identity, ...) are tool errors. The first poll after observe also carries the value current at subscribe time.

Inputs: action (required), path, limit, value, +6 more.

move_deviceB

Move a device to another track or rack chain (Song.move_device).

Inputs: device (required), target (required), position.

music_referenceC

Import a favorite song by absolute path, or straight from an audio clip in the open Live set (track/clip). A separate local model worker compares spaced audio segments with genre, instrument and texture descriptions, and measures tempo and key (with confidence) in the body of the song. Originals remain unchanged. remember records that the user selected this song, without confirming all model-inferred features. Use remember=false for tests. Configure the local model first; no account or API key is required.

Inputs: clip, path, label, track, +4 more.

observeA
Read-onlyIdempotent

Subscribe to changes of an observable property (see lom_describe 'observable'). Changes are coalesced per Live tick; collect them with poll_events.

Inputs: path (required), prop (required).

plugin_inspectB
Read-onlyIdempotent

Understand a third-party plug-in (or any device): ALL its parameters (also those Live has not exposed yet), which are controllable now, values/ranges/display, module grouping (oscillators, filter, envelopes, LFOs, FX...), detected roles (cutoff, resonance, drive, mix, ADSR, volume, width, feedback...), learned meanings, presets, and exactly what to configure for the rest.

Inputs: path, track, device, filter, +1 more.

plugin_inventoryB
Read-onlyIdempotent

Which third-party plug-ins exist: in this set, or installed (loadable with load_device uri).

Inputs: query, scope.

plugin_learnB

Remember what a plug-in parameter does (role and note), locally and across sessions/models. plugin_inspect and role-based plugin_set use it next time. action='forget' removes a learned meaning.

Inputs: plugin (required), parameter (required), note, role, +2 more.

plugin_presetB

Plug-in programs/presets exposed to Live, and the plug-in window (open/close changes the UI: only when the user asks, e.g. to configure parameters).

Inputs: path, track, action, device, +1 more.

plugin_setA

Move plug-in parameters by name, role or index: absolute, normalized, display text or relative (delta_normalized). Changes are recorded as automation when automation recording is armed. Unexposed parameters are refused with instructions to configure them.

Inputs: changes (required), path, track, device.

plugin_snapshotC

Save / recall / compare / morph between states of a device's exposed parameters (stored in the Live set, per track and device) - safe A/B experiments on any plug-in.

Inputs: name, path, track, action, +2 more.

poll_eventsB
Read-onlyIdempotent

Return queued change events from observe subscriptions.

Inputs: sub, wait, limit.

previewB
Read-onlyIdempotent

Audition a browser item through Live's preview, or stop previewing.

Inputs: uri, stop.

rackC
Destructive

Instrument/Audio/MIDI/Drum Rack control: macros (add/remove/randomize), variations (store/recall/delete), chains (insert, per-chain mixer, devices, zones), drum pads (copy, mute/solo, choke groups, clear), selection.

Inputs: action (required), pad, path, chain, +8 more.

recordB

Recording: into a session clip slot (arms the track, optional fixed length), session record, Capture MIDI, capture & insert scene, arrangement record / overdub / punch / automation arm.

Inputs: action (required), slot, track, value, +3 more.

routingB

Read or set routing by display name: track input/output type & channel, Compressor sidechain source, or a Max for Live device's audio/MIDI IO. Call with only track/device to list the available options.

Inputs: io, track, device, io_index, +4 more.

sample_analyzeA

Analyze actual audio in a separate process, without touching Live. Files must be in indexed sample roots. Jobs persist and resume after interruption. result reads cached measurements; start queues a file or a bounded batch. semantic needs an existing local CLAP model and optional dependencies.

Inputs: path, limit, action, job_id, +1 more.

sample_libraryA

Manage the sample index: show roots/status, rescan (incremental, runs in background), or add/remove an extra sample folder.

Inputs: action, folder.

scaleA
Read-onlyIdempotent

Pitches of a scale in a range (Ableton note names) - helps keep melodies in key.

Inputs: key (required), low, high.

sceneC
Destructive

Create / delete / duplicate / fire a scene, or set its name, tempo or color.

Inputs: action (required), name, color, index, +1 more.

selectA

Change Live's visible selection (track / scene / clip slot / device) and optionally the view. Foreground action: only use when the user asks to see something; other tools never need it.

Inputs: slot, scene, track, device, +1 more.

set_device_paramsA

Set one or many device parameters in a single tick. Each entry picks the parameter by name or index and sets it by raw value, normalized 0..1, or display text.

Inputs: params (required), path, track, device.

set_memoryB

Store JSON inside the Live Set (persists when the set is saved): plans, track roles, mix notes, anything the agent should remember about this song or a track.

Inputs: key (required), track, value, delete.

set_songC

Set song-level properties (tempo, time signature, loop, scale, groove...).

Inputs: loop, extra, tempo, metronome, +10 more.

simplerC
Destructive

Simpler + its Sample: playback/slicing modes, warp settings, crop/reverse, warp as N beats, replace sample, add/move/remove slices.

Inputs: path, time, beats, track, +7 more.

song_actionC

Song-level actions & time queries: play selection, scrub/jump, nudge, back to arrangement, Link beat sync, SMPTE / bars-beats time, loop in bars-beats.

Inputs: action (required), beats, format, quantized.

splice_statusA
Read-onlyIdempotent

Splice-in-Live status from local files: integration installed, signed in, recent premium downloads, inferred subscription status (with evidence; not authoritative), and how many Splice-downloaded samples are on disk. Downloaded Splice samples are searchable with sample_search(tags=['splice']) and loadable with load_sample / load_drum_kit.

Inputs: no named parameters.

take_lanesC

Arrangement take lanes (comping): list, create, rename, create MIDI/audio clips in a lane.

Inputs: lane, name, track, action, +3 more.

taste_profileB
Read-onlyIdempotent

Read local confirmed preferences, retired assertions and evidence-backed library distributions. Independent of Live and the backend model. Reference-song observations are separate from preferences.

Inputs: domain.

taste_recallB
Read-onlyIdempotent

Search local preferences and library facts, returning source and evidence IDs. Supports CJK substrings.

Inputs: query (required), limit, offset.

taste_rememberA

Record a lasting user preference or an evidence event. origin=user requires an actual explicit user statement/choice. Inferences remain pending. confirm/correct/retire require an existing preference ID and new user evidence. contradicts links an explicitly identified conflict; both assertions are retained until the user resolves it. Supply writer as host/model for audit.

Inputs: kind, action, domain, origin, +5 more.

track_actionC
Destructive

Delete or duplicate a track, or stop all its clips.

Inputs: track (required), action (required).

track_extraC

Track extras: live meters & CPU impact & freeze state, group/fold, delete an arrangement clip, jump inside the running clip, duplicate a clip slot, crossfader/split-pan/cue mixer, track view state.

Inputs: track (required), action (required), clip, beats, +2 more.

transportB

Transport control. record/session_record/metronome/loop toggle their state. Global Song undo/redo is refused to preserve Live's undo history.

Inputs: action (required), value.

tuningA

Read or edit the Live Set's tuning system (microtonal tunings).

Inputs: values.

unobserveB
Read-onlyIdempotent

Cancel a subscription (or all).

Inputs: sub.

update_clipC

Set clip properties (loop range is applied in a safe order).

Inputs: clip, slot, props, track.

update_trackC

Change track name/mute/solo/arm/color, mixer volume/pan/sends and monitoring.

Inputs: track (required), arm, pan, mute, +6 more.

view_stateB

Set Song.View state (draw mode, follow, selected chain/clip/slot, modulation mapping).

Inputs: values (required).

warp_markersB

Audio clip warping: list/add/move/remove warp markers, set warp mode or toggle warping.

Inputs: clip, slot, track, action, +5 more.

write_chordsB

Turn a chord progression into MIDI in a clip (created if the slot is empty).

Inputs: progression (required), key, bass, clip, +9 more.

write_drum_patternC

Write a step-sequenced drum pattern into a clip (created if the slot is empty).

Inputs: rows (required), clip, mode, name, +6 more.

write_melodyC

Write a melody / bassline from compact text into a clip (created if the slot is empty).

Inputs: melody (required), clip, mode, name, +5 more.

write_notesB

Add notes to a MIDI clip (session or arrangement), or replace a range of notes.

Inputs: notes (required), clip, mode, slot, +5 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 84 tools

    Disambiguation2/5

    With 84 tools, many domains overlap: scene vs launch_scene, clip_action vs clip_edit, device_control vs update_track/track_extra, and generic LOM wrappers vs specialized tools. Descriptions help, but an agent must choose among multiple plausible tools for common actions.

    Naming Consistency3/5

    Most names are snake_case and readable, but many are bare nouns or vague multi-action names (transport, scene, arrangement, rack, record, batch) while others use verb_noun (create_track, write_notes). The convention is not predictable enough.

    Tool Count1/5

    84 tools far exceeds typical MCP scope; even for a complex DAW, this is an extreme surface with many niche tools. Only justified if the client can handle huge tool lists; otherwise it is a heavy mismatch.

    Completeness5/5

    Covers an unusually complete DAW surface: tracks, clips, notes, devices, browser, samples, arrangement, automation, plugins, LOM, memory, and generative audio. Few obvious gaps; if anything, some operations are duplicated rather than missing.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables AI agents to control Ableton Live 12 for music production, including generating grooves, basslines, and percussion, and executing live set operations through MCP.
      3
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      An MCP bridge that enables AI agents to read and control Ableton Live sessions with read-back verification, including tracks, clips, transport, devices, and third-party plug-in parameters.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Enables AI assistants to control Ableton Live through MCP, allowing MIDI writing, audio import, device parameter adjustment, clip arrangement, and playback control over a localhost-only connection.
      37
      MIT