Writing Ableton Live Extensions with AI Assistants: A Workflow

Published Nov 11, 2026 · guide

A realistic workflow for building Ableton Live Extensions with AI coding assistants: setup, prompts that work, and the mistakes models make with the beta SDK.

Ableton Live Extensions are written in JavaScript or TypeScript and run on Node.js. Ableton's own pitch is that this standard web technology means AI coding assistants handle the SDK well, and that non-programmers can describe a tool and iterate on it. That is mostly true for the plumbing: bundling, Node file access, building an HTML dialog, sorting and transforming arrays of notes. The hard part is the Live-specific API, and that is where models guess.

Why an assistant helps, and why it will still guess

The Extensions SDK was released as a free public beta on June 2, 2026. A model whose training data predates that has never seen the API. It will pattern-match to things it does know, such as Max for Live devices, control surface scripts or generic plugin frameworks. The result is code that looks confident and calls methods that do not exist.

The workflow below is built around that one problem: give the model the real API up front, keep each task small, and verify everything inside Live rather than trusting the code because it compiles.

Set up before the first prompt

  1. Get the right Live build. Extensions need Live 12 Suite, beta 12.4.5 or later. Standard, Intro and Lite do not support them. Join the Ableton beta program to get the build.
  2. Install Node.js v24 LTS or later on macOS or Windows.
  3. Scaffold the project with extensions-cli, not with the model. The scaffolder's manifest and build setup are your ground truth. Check the SDK documentation for the exact commands.
  4. Keep the TypeDoc API reference open. It is the only authority on method names and signatures. The model is not.

If you use an agent that can read your project folder, point it at the scaffolded project and the examples that ship with the SDK. Real code in context beats any amount of description.

Give the model a cheat sheet every session

Start each conversation by pasting a short summary of what is known to be true. Something like this works well:

Ableton Live Extensions SDK (public beta). Rely only on these facts:
- Runtime: Node.js, full Node APIs incl. fs and networking. Not a browser. Not Max for Live.
- Package: manifest.json with name, author, entry, version, minimumApiVersion.
  entry is a bundled file that exports activate().
- In activate(): call initialize(), register commands with
  commands.registerCommand, attach them to menus with
  ui.registerContextMenuAction(scope, title, commandId).
- Scopes include "MidiClip", "ClipSlot", "AudioTrack".
- A command receives a handle. Resolve it with
  context.getObjectFromHandle(handle, MidiClip).
- MidiClip.notes: array of { pitch, startTime, duration, velocity,
  muted, probability, ... }. Times are in beats.
- Tempo: context.application.song.tempo
- UI: withinProgressDialog for long jobs, showModalDialog for a web view.
- Storage: a per-extension directory for config and credentials.
- Lifecycle: runs once per invocation, then stops. No background
  process. No real-time audio or MIDI.
- If you need an API not listed here, say so. Do not guess.

Grow this list only with things you have confirmed in the reference. Never let the model add to it from memory. The last line matters most: it gives the model permission to admit a gap instead of inventing a method.

Prompts that work

One command, one scope, one job

Ask for the smallest useful tool first. A prompt like this tends to produce code that runs:

Using the scaffolded project and the SDK facts above, add one command
called "Humanize Velocity" to the "MidiClip" context menu. When run,
resolve the clip from the handle, add a random offset of up to ±8 to
each note's velocity, clamp to the valid range, and write the notes
back. Do not touch pitch or timing. Before writing code, list every
SDK call you plan to use and mark any you are not certain exists.

That final instruction is the useful trick. The model will often flag the exact step it is unsure of, usually how edited notes get written back to the clip. Look that up in the reference before accepting any code for it.

Describe musical data in Live's terms

Say "beats", not "ticks" or "seconds". Name the note fields you care about. If your tool thinks in seconds, tell the model to convert using the song tempo rather than letting it assume a sample rate or a fixed BPM. The guide to MIDI notes in the SDK covers the fields in more detail.

Name where the tool should appear

Users reach extensions by right-clicking an item in a Set: a clip, a clip slot, a track, a scene, a device. Decide which one you want and say it in the prompt. If you need a scope that is not in your cheat sheet, look up the exact string in the docs and paste it in. The context-menu scopes guide is a good primer on choosing one.

Iterate with real errors

When something fails, paste the actual output from the extension host, not a summary of it. Ask for the smallest change that fixes that error. Broad rewrites at this stage tend to bring back invented APIs you had already removed.

Mistakes models make with the beta SDK

MistakeWhy it's wrongWhat to do
Calling plausible but nonexistent methodsThe model has not seen the beta APICheck every Live-related call against the TypeDoc reference
Processing audio or MIDI in real timeExtensions work on project data. Real-time processing, native devices and control surfaces belong to Max for LiveReframe the tool as an edit to clips, notes, devices or parameters
Adding listeners, timers or a background loopAn extension runs once per invocation and then stopsDesign for "right-click, do the job, finish"
Treating note times as secondsNote times are in beatsConvert with context.application.song.tempo only when you really need seconds
Writing browser code for the core logicThe runtime is Node.js, with fs and networkingKeep HTML for the showModalDialog view and use Node for everything else
Forgetting initialize() or not exporting activate()Commands never register, so nothing appears in the menuCompare against the scaffolded entry file
Guessing manifest values, especially minimumApiVersionWrong values may stop the extension from loadingKeep what the scaffolder generated and check the docs before changing it
Hard-coding API keys in sourceThe key ships inside the package you shareStore credentials in the per-extension storage directory
Long jobs with no feedbackLive appears to hang while the job runsWrap the work in withinProgressDialog

A test loop that catches the rest

  1. Open a copy of a real Set. Extensions can edit tracks, clips, notes, devices and tempo, so do not test on the only version of a song.
  2. Use extensions-cli to run the extension. This loads it into Live's extension host.
  3. Right-click the target item and confirm your command appears. If it doesn't, check the scope string and the registration code before anything else.
  4. Test the odd cases: an empty clip, a clip with hundreds of notes, a track with no devices. Ask the model to handle each one explicitly.
  5. When it behaves, package it with extensions-cli to get an .ablx file. Install it the way a user would, through Settings → Extensions in Live, and restart Live if needed.

The last step is worth doing even though you have already run the extension during development. It is the only way to see what your users will see. For the rest of the release process, read packaging and sharing an .ablx.

Study extensions that already ship

Published extensions with public source are the best extra context you can give a model, because they show real API usage. Read them yourself first, then point your assistant at them.

For more ideas, browse MIDI tools and generative tools, or the full extension catalog. When your own tool survives the test loop, you can submit it to liveextensions.dev or share it in the extensions channel on Ableton's Discord. Ableton's launch post and Extensions page are worth reading too, because beta details may change between builds.

Browse all extensions → · Submit yours →